buf1 1303 lib/replace/snprintf.c char buf1[1024];
buf1 1380 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1381 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), fp_fmt[x], fp_nums[y]);
buf1 1383 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1384 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) {
buf1 1386 lib/replace/snprintf.c fp_fmt[x], l1, buf1, l2, buf2);
buf1 1395 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1396 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), int_fmt[x], int_nums[y]);
buf1 1398 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1399 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) {
buf1 1401 lib/replace/snprintf.c int_fmt[x], l1, buf1, l2, buf2);
buf1 1410 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1411 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), str_fmt[x], str_vals[y]);
buf1 1413 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1414 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) {
buf1 1416 lib/replace/snprintf.c str_fmt[x], l1, buf1, l2, buf2);
buf1 1426 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1427 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), ll_fmt[x], ll_nums[y]);
buf1 1429 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1430 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) {
buf1 1432 lib/replace/snprintf.c ll_fmt[x], l1, buf1, l2, buf2);
buf1 1442 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1448 lib/replace/snprintf.c snprintf(buf1, sizeof(buf1), "%.*s", 1, buf3);
buf1 1449 lib/replace/snprintf.c buf1[1023] = '\0';
buf1 1450 lib/replace/snprintf.c if (strcmp(buf1, "a") != 0) {
buf1 1451 lib/replace/snprintf.c printf("length limit buf1 '%s' expected 'a'\n", buf1);
buf1 1456 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1457 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), "%4$*1$d %2$s %3$*1$.*1$f", 3, "pos test", 12.3456, 9);
buf1 1459 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1460 lib/replace/snprintf.c if (strcmp(buf1, buf2) || (l1 != l2)) {
buf1 1462 lib/replace/snprintf.c "%4$*1$d %2$s %3$*1$.*1$f", l1, buf1, l2, buf2);
buf1 1466 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1467 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), "%4$*4$d %2$s %3$*4$.*4$f", 3, "pos test", 12.3456, 9);
buf1 1469 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1470 lib/replace/snprintf.c if (strcmp(buf1, buf2)) {
buf1 1472 lib/replace/snprintf.c "%4$*1$d %2$s %3$*1$.*1$f", l1, buf1, l2, buf2);
buf1 1478 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1479 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), ss_fmt[x], ss_nums[y]);
buf1 1481 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1482 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) {
buf1 1484 lib/replace/snprintf.c ss_fmt[x], l1, buf1, l2, buf2);
buf1 1491 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1492 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), "%lld", (LLONG)1234567890);
buf1 1494 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1495 lib/replace/snprintf.c if (strcmp(buf1, buf2)) {
buf1 1497 lib/replace/snprintf.c "%lld", l1, buf1, l2, buf2);
buf1 1501 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0';
buf1 1502 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), "%Lf", (LDOUBLE)890.1234567890123);
buf1 1504 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0';
buf1 1505 lib/replace/snprintf.c if (strcmp(buf1, buf2)) {
buf1 1507 lib/replace/snprintf.c "%Lf", l1, buf1, l2, buf2);
buf1 1519 lib/replace/snprintf.c snprintf(buf1, sizeof(buf1), "%1.1f", r);
buf1 1521 lib/replace/snprintf.c if (strcmp(buf1, buf2)) {
buf1 134 lib/util/charset/tests/iconv.c uint8_t buf1[1000], buf2[1000], buf3[1000];
buf1 167 lib/util/charset/tests/iconv.c ptr_out = (char *)buf1;
buf1 169 lib/util/charset/tests/iconv.c outsize1 = sizeof(buf1);
buf1 187 lib/util/charset/tests/iconv.c len1 = sizeof(buf1) - outsize1;
buf1 192 lib/util/charset/tests/iconv.c memcmp(buf1, buf2, len1) == 0 &&
buf1 197 lib/util/charset/tests/iconv.c memcmp(buf1, buf2, len2) == 0 &&
buf1 198 lib/util/charset/tests/iconv.c get_codepoint((char *)(buf1+len2), len1-len2, charset) >= (1<<20)) {
buf1 218 lib/util/charset/tests/iconv.c memcmp(buf1, buf2, len1) != 0) {
buf1 222 lib/util/charset/tests/iconv.c show_buf("OUT1:", buf1, len1);
buf1 224 lib/util/charset/tests/iconv.c if (len2 > len1 && memcmp(buf1, buf2, len1) == 0) {
buf1 228 lib/util/charset/tests/iconv.c if (len1 > len2 && memcmp(buf1, buf2, len2) == 0) {
buf1 230 lib/util/charset/tests/iconv.c get_codepoint((char *)(buf1+len2),len1-len2, charset));
buf1 238 lib/util/charset/tests/iconv.c ptr_in = (const char *)buf1;
buf1 6271 source3/include/proto.h bool dptr_fill(char *buf1,unsigned int key);
buf1 293 source3/libsmb/nmblib.c nstring buf1;
buf1 298 source3/libsmb/nmblib.c put_name(buf1, "*", '\0', name->name_type);
buf1 300 source3/libsmb/nmblib.c put_name(buf1, name->name, ' ', name->name_type);
buf1 311 source3/libsmb/nmblib.c buf[offset+1+2*m] = 'A' + ((buf1[m]>>4)&0xF);
buf1 312 source3/libsmb/nmblib.c buf[offset+2+2*m] = 'A' + (buf1[m]&0xF);
buf1 162 source3/registry/reg_perfcount.c char *buf1 = *retbuf;
buf1 180 source3/registry/reg_perfcount.c buf1 = (char *)SMB_REALLOC(buf1, buffer_size + working_size);
buf1 181 source3/registry/reg_perfcount.c if(!buf1) {
buf1 186 source3/registry/reg_perfcount.c memcpy(buf1+buffer_size, (char *)name_index.buffer, working_size);
buf1 190 source3/registry/reg_perfcount.c buf1 = (char *)SMB_REALLOC(buf1, buffer_size + working_size);
buf1 191 source3/registry/reg_perfcount.c if(!buf1) {
buf1 199 source3/registry/reg_perfcount.c memcpy(buf1+buffer_size, (char *)name.buffer, working_size);
buf1 202 source3/registry/reg_perfcount.c *retbuf = buf1;
buf1 212 source3/registry/reg_perfcount.c char *buf1 = NULL;
buf1 236 source3/registry/reg_perfcount.c buf1 = *retbuf;
buf1 237 source3/registry/reg_perfcount.c buf1 = (char *)SMB_REALLOC(buf1, buffer_size + 2);
buf1 238 source3/registry/reg_perfcount.c if(!buf1) {
buf1 241 source3/registry/reg_perfcount.c buf1[buffer_size++] = '\0';
buf1 242 source3/registry/reg_perfcount.c buf1[buffer_size++] = '\0';
buf1 245 source3/registry/reg_perfcount.c *retbuf = buf1;
buf1 255 source3/registry/reg_perfcount.c char *buf1 = NULL;
buf1 281 source3/registry/reg_perfcount.c buf1 = *retbuf;
buf1 282 source3/registry/reg_perfcount.c buf1 = (char *)SMB_REALLOC(buf1, buffer_size + 2);
buf1 283 source3/registry/reg_perfcount.c if(!buf1) {
buf1 286 source3/registry/reg_perfcount.c buf1[buffer_size++] = '\0';
buf1 287 source3/registry/reg_perfcount.c buf1[buffer_size++] = '\0';
buf1 290 source3/registry/reg_perfcount.c *retbuf=buf1;
buf1 717 source3/smbd/dir.c bool dptr_fill(char *buf1,unsigned int key)
buf1 719 source3/smbd/dir.c unsigned char *buf = (unsigned char *)buf1;
buf1 379 source4/heimdal/lib/krb5/init_creds_pw.c char buf1[BUFSIZ], buf2[BUFSIZ];
buf1 414 source4/heimdal/lib/krb5/init_creds_pw.c password_data[0].data = buf1;
buf1 415 source4/heimdal/lib/krb5/init_creds_pw.c password_data[0].length = sizeof(buf1);
buf1 433 source4/heimdal/lib/krb5/init_creds_pw.c memset (buf1, 0, sizeof(buf1));
buf1 438 source4/heimdal/lib/krb5/init_creds_pw.c if (strcmp (buf1, buf2) == 0)
buf1 440 source4/heimdal/lib/krb5/init_creds_pw.c memset (buf1, 0, sizeof(buf1));
buf1 446 source4/heimdal/lib/krb5/init_creds_pw.c buf1,
buf1 461 source4/heimdal/lib/krb5/init_creds_pw.c strlcpy (newpw, buf1, newpw_sz);
buf1 470 source4/heimdal/lib/krb5/init_creds_pw.c memset (buf1, 0, sizeof(buf1));
buf1 1163 source4/torture/rpc/lsa.c struct lsa_DATA_BUF buf1;
buf1 1232 source4/torture/rpc/lsa.c r3.in.new_val = &buf1;
buf1 1247 source4/torture/rpc/lsa.c r3.in.new_val = &buf1;
buf1 1307 source4/torture/rpc/lsa.c r5.in.new_val = &buf1;
buf1 1391 source4/torture/rpc/lsa.c r7.in.old_val = &buf1;
buf1 46 source4/torture/rpc/session_key.c struct lsa_DATA_BUF buf1;
buf1 75 source4/torture/rpc/session_key.c r3.in.new_val = &buf1;
buf1 87 source4/torture/rpc/session_key.c r3.in.new_val = &buf1;