buf2 1304 lib/replace/snprintf.c char buf2[1024]; buf2 1380 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1382 lib/replace/snprintf.c l2 = sprintf (buf2, fp_fmt[x], fp_nums[y]); buf2 1383 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1384 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) { buf2 1386 lib/replace/snprintf.c fp_fmt[x], l1, buf1, l2, buf2); buf2 1395 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1397 lib/replace/snprintf.c l2 = sprintf (buf2, int_fmt[x], int_nums[y]); buf2 1398 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1399 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) { buf2 1401 lib/replace/snprintf.c int_fmt[x], l1, buf1, l2, buf2); buf2 1410 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1412 lib/replace/snprintf.c l2 = sprintf (buf2, str_fmt[x], str_vals[y]); buf2 1413 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1414 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) { buf2 1416 lib/replace/snprintf.c str_fmt[x], l1, buf1, l2, buf2); buf2 1426 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1428 lib/replace/snprintf.c l2 = sprintf (buf2, ll_fmt[x], ll_nums[y]); buf2 1429 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1430 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) { buf2 1432 lib/replace/snprintf.c ll_fmt[x], l1, buf1, l2, buf2); buf2 1442 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1456 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1458 lib/replace/snprintf.c l2 = sprintf(buf2, "%4$*1$d %2$s %3$*1$.*1$f", 3, "pos test", 12.3456, 9); buf2 1459 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1460 lib/replace/snprintf.c if (strcmp(buf1, buf2) || (l1 != l2)) { buf2 1462 lib/replace/snprintf.c "%4$*1$d %2$s %3$*1$.*1$f", l1, buf1, l2, buf2); buf2 1466 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1468 lib/replace/snprintf.c l2 = sprintf(buf2, "%4$*4$d %2$s %3$*4$.*4$f", 3, "pos test", 12.3456, 9); buf2 1469 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1470 lib/replace/snprintf.c if (strcmp(buf1, buf2)) { buf2 1472 lib/replace/snprintf.c "%4$*1$d %2$s %3$*1$.*1$f", l1, buf1, l2, buf2); buf2 1478 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1480 lib/replace/snprintf.c l2 = sprintf (buf2, ss_fmt[x], ss_nums[y]); buf2 1481 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1482 lib/replace/snprintf.c if (strcmp (buf1, buf2) || (l1 != l2)) { buf2 1484 lib/replace/snprintf.c ss_fmt[x], l1, buf1, l2, buf2); buf2 1491 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1493 lib/replace/snprintf.c l2 = sprintf(buf2, "%lld", (LLONG)1234567890); buf2 1494 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1495 lib/replace/snprintf.c if (strcmp(buf1, buf2)) { buf2 1497 lib/replace/snprintf.c "%lld", l1, buf1, l2, buf2); buf2 1501 lib/replace/snprintf.c buf1[0] = buf2[0] = '\0'; buf2 1503 lib/replace/snprintf.c l2 = sprintf(buf2, "%Lf", (LDOUBLE)890.1234567890123); buf2 1504 lib/replace/snprintf.c buf1[1023] = buf2[1023] = '\0'; buf2 1505 lib/replace/snprintf.c if (strcmp(buf1, buf2)) { buf2 1507 lib/replace/snprintf.c "%Lf", l1, buf1, l2, buf2); buf2 1520 lib/replace/snprintf.c sprintf(buf2, "%1.1f", r); buf2 1521 lib/replace/snprintf.c if (strcmp(buf1, buf2)) { buf2 134 lib/util/charset/tests/iconv.c uint8_t buf1[1000], buf2[1000], buf3[1000]; buf2 178 lib/util/charset/tests/iconv.c ptr_out = (char *)buf2; buf2 180 lib/util/charset/tests/iconv.c outsize2 = sizeof(buf2); buf2 188 lib/util/charset/tests/iconv.c len2 = sizeof(buf2) - outsize2; buf2 192 lib/util/charset/tests/iconv.c memcmp(buf1, buf2, len1) == 0 && buf2 193 lib/util/charset/tests/iconv.c get_codepoint((char *)(buf2+len1), len2-len1, charset) >= (1<<20)) { buf2 197 lib/util/charset/tests/iconv.c memcmp(buf1, buf2, len2) == 0 && buf2 218 lib/util/charset/tests/iconv.c memcmp(buf1, buf2, len1) != 0) { buf2 223 lib/util/charset/tests/iconv.c show_buf("OUT2:", buf2, len2); buf2 224 lib/util/charset/tests/iconv.c if (len2 > len1 && memcmp(buf1, buf2, len1) == 0) { buf2 226 lib/util/charset/tests/iconv.c get_codepoint((char *)(buf2+len1), len2-len1, charset)); buf2 228 lib/util/charset/tests/iconv.c if (len1 > len2 && memcmp(buf1, buf2, len2) == 0) { buf2 2696 source3/client/client.c char *buf2 = NULL; buf2 2701 source3/client/client.c !next_token_talloc(ctx, &cmd_ptr,&buf2,NULL)) { buf2 2715 source3/client/client.c buf2); buf2 2747 source3/client/client.c char *buf2 = NULL; buf2 2752 source3/client/client.c !next_token_talloc(ctx, &cmd_ptr,&buf2,NULL)) { buf2 2766 source3/client/client.c buf2); buf2 2799 source3/client/client.c char *buf2 = NULL; buf2 2805 source3/client/client.c !next_token_talloc(ctx, &cmd_ptr,&buf2,NULL)) { buf2 2812 source3/client/client.c buf2); buf2 3218 source3/client/client.c char *buf, *buf2, *buf3; buf2 3223 source3/client/client.c !next_token_talloc(ctx, &cmd_ptr,&buf2,NULL) || buf2 3230 source3/client/client.c gid = (gid_t)atoi(buf2); buf2 3266 source3/client/client.c char *buf, *buf2; buf2 3272 source3/client/client.c !next_token_talloc(ctx, &cmd_ptr,&buf2,NULL)) { buf2 3288 source3/client/client.c buf2); buf2 3342 source3/client/client.c char *buf, *buf2; buf2 3347 source3/client/client.c !next_token_talloc(ctx, &cmd_ptr,&buf2,NULL)) { buf2 3363 source3/client/client.c buf2); buf2 1208 source3/nmbd/nmbd_packets.c char *buf2; buf2 1245 source3/nmbd/nmbd_packets.c buf2 = smb_base(buf) + SVAL(buf,smb_vwv12); buf2 1257 source3/nmbd/nmbd_packets.c if (buf2 < dgram->data || (buf2 >= dgram->data + dgram->datasize)) { buf2 1262 source3/nmbd/nmbd_packets.c (int)PTR_DIFF(buf2, dgram->data), buf2 1268 source3/nmbd/nmbd_packets.c if ((buf2 + len < dgram->data) || (buf2 + len > dgram->data + dgram->datasize)) { buf2 1273 source3/nmbd/nmbd_packets.c (int)PTR_DIFF(buf2, dgram->data), buf2 1281 source3/nmbd/nmbd_packets.c inet_ntoa(p->ip), smb_buf(buf),CVAL(buf2,0),len)); buf2 1285 source3/nmbd/nmbd_packets.c process_browse_packet(p,buf2,len); buf2 1291 source3/nmbd/nmbd_packets.c process_lanman_packet(p,buf2,len); buf2 1297 source3/nmbd/nmbd_packets.c process_logon_packet(p,buf2,len,NET_LOGON_MAILSLOT); buf2 1303 source3/nmbd/nmbd_packets.c process_logon_packet(p,buf2,len,NT_LOGON_MAILSLOT); buf2 174 source4/heimdal/lib/gssapi/krb5/display_status.c const char *buf2 = krb5_get_error_message(context, status_value); buf2 175 source4/heimdal/lib/gssapi/krb5/display_status.c if (buf2) { buf2 176 source4/heimdal/lib/gssapi/krb5/display_status.c buf = strdup(buf2); buf2 177 source4/heimdal/lib/gssapi/krb5/display_status.c krb5_free_error_message(context, buf2); buf2 151 source4/heimdal/lib/hcrypto/ui.c char *buf2; buf2 152 source4/heimdal/lib/hcrypto/ui.c buf2 = malloc(length); buf2 153 source4/heimdal/lib/hcrypto/ui.c if (buf2 == NULL) buf2 156 source4/heimdal/lib/hcrypto/ui.c ret = read_string("Verify password - ", prompt, buf2, length, 0); buf2 158 source4/heimdal/lib/hcrypto/ui.c free(buf2); buf2 161 source4/heimdal/lib/hcrypto/ui.c if (strcmp(buf2, buf) != 0) buf2 163 source4/heimdal/lib/hcrypto/ui.c free(buf2); buf2 343 source4/heimdal/lib/krb5/addr_families.c char buf[128], buf2[3]; buf2 353 source4/heimdal/lib/krb5/addr_families.c snprintf(buf2, sizeof(buf2), "%02x", p[i]); buf2 356 source4/heimdal/lib/krb5/addr_families.c strlcat(buf, buf2, sizeof(buf)); buf2 379 source4/heimdal/lib/krb5/init_creds_pw.c char buf1[BUFSIZ], buf2[BUFSIZ]; buf2 422 source4/heimdal/lib/krb5/init_creds_pw.c password_data[1].data = buf2; buf2 423 source4/heimdal/lib/krb5/init_creds_pw.c password_data[1].length = sizeof(buf2); buf2 434 source4/heimdal/lib/krb5/init_creds_pw.c memset (buf2, 0, sizeof(buf2)); buf2 438 source4/heimdal/lib/krb5/init_creds_pw.c if (strcmp (buf1, buf2) == 0) buf2 441 source4/heimdal/lib/krb5/init_creds_pw.c memset (buf2, 0, sizeof(buf2)); buf2 471 source4/heimdal/lib/krb5/init_creds_pw.c memset (buf2, 0, sizeof(buf2)); buf2 3070 source4/lib/wmi/wmi_wrap.c char *buf2 = 0 ; buf2 3112 source4/lib/wmi/wmi_wrap.c res2 = SWIG_AsCharPtrAndSize(obj0, &buf2, NULL, &alloc2); buf2 3116 source4/lib/wmi/wmi_wrap.c arg2 = (char *)(buf2); buf2 3164 source4/lib/wmi/wmi_wrap.c if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); buf2 3172 source4/lib/wmi/wmi_wrap.c if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); buf2 217 source4/libcli/raw/rawrequest.c uint8_t *buf2; buf2 227 source4/libcli/raw/rawrequest.c buf2 = talloc_realloc(req, req->out.buffer, uint8_t, req->out.allocated); buf2 228 source4/libcli/raw/rawrequest.c if (buf2 == NULL) { buf2 232 source4/libcli/raw/rawrequest.c if (buf2 == req->out.buffer) { buf2 238 source4/libcli/raw/rawrequest.c req->out.data = buf2 + PTR_DIFF(req->out.data, req->out.buffer); buf2 239 source4/libcli/raw/rawrequest.c req->out.ptr = buf2 + PTR_DIFF(req->out.ptr, req->out.buffer); buf2 240 source4/libcli/raw/rawrequest.c req->out.vwv = buf2 + PTR_DIFF(req->out.vwv, req->out.buffer); buf2 241 source4/libcli/raw/rawrequest.c req->out.hdr = buf2 + PTR_DIFF(req->out.hdr, req->out.buffer); buf2 243 source4/libcli/raw/rawrequest.c req->out.buffer = buf2; buf2 240 source4/smb_server/smb/request.c uint8_t *buf2; buf2 250 source4/smb_server/smb/request.c buf2 = talloc_realloc(req, req->out.buffer, uint8_t, req->out.allocated); buf2 251 source4/smb_server/smb/request.c if (buf2 == NULL) { buf2 255 source4/smb_server/smb/request.c if (buf2 == req->out.buffer) { buf2 261 source4/smb_server/smb/request.c req->out.data = buf2 + PTR_DIFF(req->out.data, req->out.buffer); buf2 262 source4/smb_server/smb/request.c req->out.ptr = buf2 + PTR_DIFF(req->out.ptr, req->out.buffer); buf2 263 source4/smb_server/smb/request.c req->out.vwv = buf2 + PTR_DIFF(req->out.vwv, req->out.buffer); buf2 264 source4/smb_server/smb/request.c req->out.hdr = buf2 + PTR_DIFF(req->out.hdr, req->out.buffer); buf2 266 source4/smb_server/smb/request.c req->out.buffer = buf2; buf2 1336 source4/torture/raw/open.c char buf2[4]; buf2 1362 source4/torture/raw/open.c io.openxreadx.out.data = (uint8_t *)buf2; buf2 1368 source4/torture/raw/open.c if (memcmp(buf, buf2, sizeof(buf)) != 0) {