Searched refs:buf1 (Results 1 - 25 of 95) sorted by relevance

1234

/macosx-10.10/objc4-646/runtime/
H A Dobjc-errors.mm163 char *buf1;
166 vasprintf(&buf1, fmt, ap);
168 getpid(), object_getClassName(self), buf1);
197 char *buf1;
201 vasprintf(&buf1, fmt, ap);
204 asprintf(&buf2, "objc[%d]: %s\n", getpid(), buf1);
218 char *buf1;
222 vasprintf(&buf1, fmt, ap);
225 asprintf(&buf2, "objc[%d]: %s\n", getpid(), buf1);
229 free(buf1);
[all...]
/macosx-10.10/curl-83.1.2/curl/src/
H A Dtool_homedir.c36 char buf1[1024], buf2[1024]; local
40 * started. Don't accept truncated results (i.e. rc >= sizeof(buf1)). */
42 rc = GetEnvironmentVariable(variable, buf1, sizeof(buf1));
43 if(rc > 0 && rc < sizeof(buf1)) {
44 env = buf1;
45 variable = buf1;
/macosx-10.10/shell_cmds-179/locate/bigram/
H A Dlocate.bigram.c63 u_char buf1[MAXPATHLEN] = " "; variable
71 register u_char *oldpath = buf1, *path = buf2;
94 if (path == buf1) {
96 oldpath = buf1;
98 path = buf1;
/macosx-10.10/rsync-45/rsync/
H A Dchecksum.c36 uint32 get_checksum1(char *buf1, int32 len) argument
40 schar *buf = (schar *)buf1;
58 static char *buf1; local
63 if (buf1)
64 free(buf1);
65 buf1 = new_array(char, len+4);
67 if (!buf1)
73 memcpy(buf1,buf,len);
75 SIVAL(buf1,len,checksum_seed);
80 mdfour_update(&m, (uchar *)(buf1
[all...]
/macosx-10.10/CommonCrypto-60061/test/CommonCrypto/
H A DCommonRandom.c49 uint8_t buf1[bufmax], buf2[bufmax], buf3[bufmax], buf4[bufmax], buf5[bufmax], buf6[bufmax], buf7[bufmax];
87 isnt(CCRandomCopyBytes(kCCRandomDefault, buf1, 1),0, "Exhausted /dev/random failure");
110 is(CCRandomCopyBytes(kCCRandomDefault, buf1, len),0, "Random success");
118 ok(memcmp(buf1, buf2, len), "Buffers aren't the same");
123 ok(memcmp(buf6, buf1, len), "Buffers aren't the same");
124 ok(memcmp(buf7, buf1, len), "Buffers aren't the same");
129 is(CCRandomCopyBytes(kCCRandomDefault, buf1, 0),0, "Zero Length");
/macosx-10.10/emacs-93/emacs/lisp/
H A Dediff-vers.el191 (let (buf1 buf2 ancestor-buf)
195 (setq buf1 (current-buffer)))
209 (ediff-delete-version-file ,(buffer-file-name buf1))
219 buf1 buf2 ancestor-buf
222 buf1 buf2 startup-hooks 'ediff-merge-revisions merge-buffer-file))
229 (let (buf1 buf2 ancestor-buf)
231 (setq buf1 (rcs-ediff-view-revision rev1)
243 buf1 buf2 ancestor-buf
246 buf1 buf2 startup-hooks 'ediff-merge-revisions merge-buffer-file))))
252 (let (buf1 buf
[all...]
/macosx-10.10/CPANInternal-159.1/Log-Log4perl-1.40/t/
H A D028Additivity.t42 my $buf1 = Log::Log4perl::Appender::TestBuffer->by_name("A1")->buffer();
45 ok($buf1, "INFO - Percolate this!\n");
66 $buf1 = Log::Log4perl::Appender::TestBuffer->by_name("A1")->buffer();
69 ok($buf1, ""); # Not supposed to show up in the root logger
90 $buf1 = Log::Log4perl::Appender::TestBuffer->by_name("A1")->buffer();
93 ok($buf1, "INFO - Percolate this!\n");
/macosx-10.10/OpenSSL098-52/src/demos/tunala/
H A Dcb.c63 char buf1[256]; /* Used for the subject name */ local
75 buf1[0] = buf2[0] = '\0';
76 /* Fill buf1 */
77 X509_NAME_oneline(X509_get_subject_name(err_cert), buf1, 256); local
107 fprintf(fp_cb_ssl_verify, "--> subject = %s\n", buf1);
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/tools/idnconv/
H A Didnconv.c385 idnconv_strbuf_t buf1, buf2; local
431 strbuf_init(&buf1);
434 while (strbuf_getline(&buf1, fp) != NULL) {
441 nl_trimmed = trim_newline(&buf1);
447 r = convert_line(&buf1, &buf2, conf2, actions1,
450 r = convert_line(&buf1, &buf2, conf1, actions1,
469 r = convert_line(&buf2, &buf1, conf1, actions2,
479 fputs(strbuf_get(&buf1), stdout);
489 strbuf_reset(&buf1);
494 strbuf_reset(&buf1);
502 idnconv_strbuf_t buf1, buf2; local
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Draw2tiff.c103 unsigned char *buf = NULL, *buf1 = NULL; local
272 buf1 = (unsigned char *)_TIFFmalloc(bufsize);
298 memcpy(buf1 + (col*nbands+band)*depth,
304 if (read(fd, buf1, bufsize) < 0) {
312 swapBytesInScanline(buf1, width, dtype);
316 if (TIFFWriteScanline(out, buf1, row, 0) < 0) {
324 if (buf1)
325 _TIFFfree(buf1);
359 char *buf1, *buf2; local
400 buf1
440 correlation(void *buf1, void *buf2, uint32 n_elem, TIFFDataType dtype) argument
[all...]
H A Dtiffcmp.c155 unsigned char *buf1, *buf2; local
172 buf1 = (unsigned char *)_TIFFmalloc(size1 = TIFFScanlineSize(tif1));
174 if (buf1 == NULL || buf2 == NULL) {
190 if (TIFFReadScanline(tif1, buf1, row, s) < 0)
192 if (SeparateCompare(1, s, row, buf2, buf1) < 0)
199 if (TIFFReadScanline(tif1, buf1, row, 0) < 0)
204 if (SeparateCompare(0, s, row, buf1, buf2) < 0)
212 if (TIFFReadScanline(tif1, buf1, row, s) < 0)
216 if (ContigCompare(s, row, buf1, buf2, size1) < 0)
222 if (TIFFReadScanline(tif1, buf1, ro
[all...]
/macosx-10.10/adv_cmds-158/stty/
H A Dprint.c64 char buf1[100], buf2[100]; local
203 (void)snprintf(buf1, sizeof(buf1), "%s = %s;",
205 bput(buf1);
214 (void)snprintf(buf1 + cnt * 8, sizeof(buf1) - cnt * 8,
220 (void)printf("%s\n", buf1);
225 (void)printf("%s\n", buf1);
/macosx-10.10/shell_cmds-179/locate/code/
H A Dlocate.code.c105 u_char buf1[MAXPATHLEN] = " "; variable
166 oldpath = buf1;
243 if (path == buf1) { /* swap pointers */
245 oldpath = buf1;
247 path = buf1;
/macosx-10.10/rsync-45/rsync/lib/
H A Dsnprintf.c891 char buf1[1024]; local
951 int l2 = snprintf(buf1, sizeof(buf1), fp_fmt[x], fp_nums[y]);
953 if (strcmp (buf1, buf2)) {
955 fp_fmt[x], buf1, buf2);
969 int l2 = snprintf(buf1, sizeof(buf1), int_fmt[x], int_nums[y]);
971 if (strcmp (buf1, buf2)) {
973 int_fmt[x], buf1, buf2);
987 int l2 = snprintf(buf1, sizeo
[all...]
/macosx-10.10/lsof-53/lsof/tests/
H A DLTbigf.c552 char buf[2048], buf1[2048]; /* temporary buffers */ local
717 (void) snprintf(buf1, sizeof(buf1) - 1,
722 buf1[sizeof(buf1) - 1] = '\0';
723 (void) PrtMsg(buf1, Pn);
737 (void) snprintf(buf1, sizeof(buf1) - 1,
741 buf1[sizeof(buf1)
[all...]
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Modules/
H A D_Foundation_string.m21 PyObject* buf1, *buf2;
23 if (!PyArg_ParseTuple(arguments, "O" Py_ARG_NSUInteger "OO", &buf1, &maxLength, &rangeObj, &buf2)) {
31 if (buf1 != Py_None) {
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Modules/
H A D_Foundation_string.m21 PyObject* buf1, *buf2;
23 if (!PyArg_ParseTuple(arguments, "O" Py_ARG_NSUInteger "OO", &buf1, &maxLength, &rangeObj, &buf2)) {
31 if (buf1 != Py_None) {
/macosx-10.10/bash-94.1.2/bash-3.2/lib/readline/
H A Dmbutil.c236 _rl_compare_chars (buf1, pos1, ps1, buf2, pos2, ps2)
237 char *buf1;
246 if ((w1 = _rl_get_char_len (&buf1[pos1], ps1)) <= 0 ||
249 (buf1[pos1] != buf2[pos2]))
253 if (buf1[pos1+i] != buf2[pos2+i])
/macosx-10.10/bind9-45.101/bind9/bin/tests/
H A Dcompress_test.c103 unsigned char buf1[1024]; local
117 isc_buffer_init(&source, buf1, sizeof(buf1));
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dsnprintf-test.c42 char buf1[256], buf2[256]; local
45 ret = rk_vsnprintf (buf1, sizeof(buf1), format, ap);
46 if (ret >= sizeof(buf1))
51 ret = strcmp (buf1, buf2);
54 format, buf1, buf2);
/macosx-10.10/lukemftp-14/tnftp/libnetbsd/
H A Dsnprintf.c701 char buf1[LONG_STRING]; local
755 snprintf(buf1, sizeof(buf1), fp_fmt[x], fp_nums[y]);
757 if (strcmp(buf1, buf2)) {
761 buf1, buf2);
771 len = snprintf(buf1, sizeof(buf1), int_fmt[x], int_nums[y]);
772 printf("got %d >%s< (%d)\n", len, buf1, (int)strlen(buf1));
774 if (strcmp(buf1, buf
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/lib/intl/
H A Dlocalcharset.c145 char buf1[50+1]; local
169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
171 l1 = strlen (buf1);
189 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/macosx-10.10/cxxfilt-11/cxxfilt/intl/
H A Dlocalcharset.c145 char buf1[50+1]; local
169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
171 l1 = strlen (buf1);
189 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dlocalcharset.c152 char buf1[50+1]; local
173 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
175 l1 = strlen (buf1);
196 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/macosx-10.10/libiconv-42/libiconv/libcharset/lib/
H A Dlocalcharset.c159 char buf1[50+1]; local
180 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
182 l1 = strlen (buf1);
203 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);

Completed in 301 milliseconds

1234