Searched refs:buf2 (Results 1 - 25 of 156) sorted by relevance

1234567

/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-errors.mm164 char *buf2;
167 asprintf(&buf2, "objc[%d]: %s: %s\n",
169 _objc_syslog(buf2);
170 _objc_crashlog(buf2);
198 char *buf2;
204 asprintf(&buf2, "objc[%d]: %s\n", getpid(), buf1);
205 _objc_syslog(buf2);
206 _objc_crashlog(buf2);
219 char *buf2;
225 asprintf(&buf2, "obj
[all...]
/macosx-10.9.5/OpenSSH-186/osslshim/ossl/
H A Dossl-ui.c267 char *buf2; local
268 buf2 = malloc(length);
269 if (buf2 == NULL) {
273 ret = read_string("Verify password - ", prompt, buf2, length, 0);
275 free(buf2);
278 if (strcmp(buf2, buf) != 0) {
281 memset(buf2, 0, length);
282 free(buf2);
299 char *buf2; local
300 buf2
[all...]
/macosx-10.9.5/curl-78.94.1/curl/src/
H A Dtool_homedir.c36 char buf1[1024], buf2[1024]; local
48 /* buf2 == variable if not expanded */
49 rc = ExpandEnvironmentStrings (variable, buf2, sizeof(buf2));
50 if(rc > 0 && rc < sizeof(buf2) &&
51 !strchr(buf2,'%')) /* no vars still unexpanded */
52 env = buf2;
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/
H A DCommonRandom.c43 uint8_t buf1[bufmax], buf2[bufmax], buf3[bufmax], buf4[bufmax], buf5[bufmax], buf6[bufmax];
54 CCRandomCopyBytes(kCCRandomDevRandom, buf2, len);
60 ok(memcmp(buf1, buf2, len), "Buffers aren't the same");
62 ok(memcmp(buf2, buf3, len), "Buffers aren't the same");
64 ok(memcmp(buf5, buf2, len), "Buffers aren't the same");
/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/
H A Dui.c216 char *buf2; local
217 buf2 = malloc(length);
218 if (buf2 == NULL)
221 ret = read_string("Verify password - ", prompt, buf2, length, 0);
223 free(buf2);
226 if (strcmp(buf2, buf) != 0)
228 free(buf2);
243 char *buf2; local
244 buf2 = malloc(length);
245 if (buf2
[all...]
/macosx-10.9.5/libresolv-54/
H A Dres_mkupdate.c100 char buf2[NS_MAXDNAME]; local
226 if (!getword_str(buf2, sizeof buf2, &startp, endp))
228 if (!inet_aton(buf2, &ina))
240 if (!getword_str(buf2, sizeof buf2, &startp, endp))
242 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr);
252 if (!getword_str(buf2, sizeof buf2, &startp,
255 n = dn_comp(buf2, c
[all...]
/macosx-10.9.5/shell_cmds-175/locate/bigram/
H A Dlocate.bigram.c64 u_char buf2[MAXPATHLEN]; variable
71 register u_char *oldpath = buf1, *path = buf2;
74 while (fgets(path, sizeof(buf2), stdin) != NULL) {
95 path = buf2;
99 oldpath = buf2;
/macosx-10.9.5/rsync-42/rsync/
H A Dlog.c425 char buf[MAXPATHLEN+1024], buf2[MAXPATHLEN], fmt[32]; local
466 snprintf(buf2, sizeof buf2, fmt,
468 n = buf2;
472 snprintf(buf2, sizeof buf2, fmt,
474 n = buf2;
481 snprintf(buf2, sizeof buf2, fmt,
483 n = buf2;
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/open_ssl/err/
H A Derr_prn.c107 char buf2[256]; local
115 sprintf(buf2,"%lu:%s:%s:%d:",es,ERR_error_string(l,buf),
117 BIO_write(bp,buf2,(int)strlen(buf2));
/macosx-10.9.5/emacs-92/emacs/lisp/
H A Dediff-vers.el191 (let (buf1 buf2 ancestor-buf)
199 (setq buf2 (current-buffer)))
211 (ediff-delete-version-file ,(buffer-file-name buf2)))
219 buf1 buf2 ancestor-buf
222 buf1 buf2 startup-hooks 'ediff-merge-revisions merge-buffer-file))
229 (let (buf1 buf2 ancestor-buf)
232 buf2 (if (string= rev2 "")
243 buf1 buf2 ancestor-buf
246 buf1 buf2 startup-hooks 'ediff-merge-revisions merge-buffer-file))))
252 (let (buf1 buf2 ancesto
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/krb5/
H A Ddisplay_status.c174 const char *buf2 = krb5_get_error_message(context, status_value); local
175 if (buf2) {
176 buf = strdup(buf2);
177 krb5_free_error_message(context, buf2);
/macosx-10.9.5/procmail-14/procmail/src/
H A Dfoldinfo.c58 p=strchr(strcpy(strcpy(buf2+i,bogusprefix)+STRLEN(bogusprefix),
63 logqnl(buf2);
65 if(rename(name,buf2)) /* try and move it out of the way */
66 { syslog(LOG_ALERT,renfbogus,name,buf2); /* danger! danger! */
69 syslog(LOG_CRIT,renbogus,name,buf2);
104 memcpy(buf2,buffer,i=chp-buffer+1),buf2[i-1]= *MCDIRSEP_,buf2[i]='\0';
136 ltstr(0,type,buf2);elog(buf2);
[all...]
H A Dmailfold.c155 while((ok=linkonly?rlink(buf2,buf,0):hlink(buf2,buf))&&errno==EEXIST);
175 stat(buf2,&stbuf); /* filename with i-node number */
180 if(rlink(buf2,buf,0)) /* hardlink the new file, it's a directory folder */
186 if(!rlink(buf2,buf,0)) /* try rename-via-link */
187 opn: unlink(buf2); /* success; remove the original */
188 else if(errno=EEXIST||!stat(buf,&stbuf)||errno!=ENOENT||rename(buf2,buf))
254 strcpy(buf2,buf);
255 chp2=buf2+(chp-buf)-MAILDIRLEN;
268 if(!rlink(buf,buf2,
[all...]
/macosx-10.9.5/CPANInternal-140/Log-Log4perl/t/
H A D028Additivity.t36 my $buf2 = Log::Log4perl::Appender::TestBuffer->by_name("A2")->buffer();
39 ok($buf2, "INFO - Percolate this!\n");
60 $buf2 = Log::Log4perl::Appender::TestBuffer->by_name("A2")->buffer();
63 ok($buf2, "INFO - Percolate this!\n");
84 $buf2 = Log::Log4perl::Appender::TestBuffer->by_name("A2")->buffer();
87 ok($buf2, "INFO - Percolate this!\n");
H A D050Buffer.t59 my $buf2 = Log::Log4perl::Appender::TestBuffer->by_name("Screen2");
63 is($buf2->buffer(), "", "Buffering DEBUG");
66 is($buf2->buffer(), "", "Buffering INFO");
69 like($buf2->buffer(), qr/DEBUG.*?INFO.*?ERROR/s, "Flushing ERROR");
/macosx-10.9.5/CPANInternal-140/Log-Log4perl-1.40/t/
H A D028Additivity.t43 my $buf2 = Log::Log4perl::Appender::TestBuffer->by_name("A2")->buffer();
46 ok($buf2, "INFO - Percolate this!\n");
67 $buf2 = Log::Log4perl::Appender::TestBuffer->by_name("A2")->buffer();
70 ok($buf2, "INFO - Percolate this!\n");
91 $buf2 = Log::Log4perl::Appender::TestBuffer->by_name("A2")->buffer();
94 ok($buf2, "INFO - Percolate this!\n");
H A D050Buffer.t66 my $buf2 = Log::Log4perl::Appender::TestBuffer->by_name("Screen2");
70 is($buf2->buffer(), "", "Buffering DEBUG");
73 is($buf2->buffer(), "", "Buffering INFO");
76 like($buf2->buffer(), qr/DEBUG.*?INFO.*?ERROR/s, "Flushing ERROR");
/macosx-10.9.5/pyobjc-42/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)) {
35 if (buf2 != Py_None && buf2 != PyObjC_NULL) {
39 if (buf2 == PyObjC_NULL) {
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dtest_addr.c42 char buf2[1000]; local
61 krb5_print_address(&addresses.val[i], buf2, sizeof(buf2), &len);
63 printf("addr %d: %s (%d/%d)\n", i, buf2, (int)len, (int)strlen(buf2));
65 if (strlen(buf2) > sizeof(buf2))
67 (int)strlen(buf2), (int)sizeof(buf2));
/macosx-10.9.5/apache-786.1/httpd/support/
H A Drotatelogs.c115 char buf[BUFSIZE], buf2[MAX_PATH], errbuf[ERRMSGSZ]; local
248 apr_strftime(buf2, &rs, sizeof(buf2), szLogRoot, &e);
251 apr_snprintf(buf2, sizeof(buf2), "%s.%010d", szLogRoot, tLogStart);
256 rv = apr_file_open(&nLogFD, buf2, APR_WRITE | APR_CREATE | APR_APPEND,
267 fprintf(stderr, "Could not open log file '%s' (%s)\n", buf2, error);
283 fprintf(stderr, "Error writing to the file %s\n", buf2);
331 fprintf(stderr, "Error writing to the file %s\n", buf2);
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/PyObjCTest/
H A Dtest_cvbuffer.py29 rv, buf2 = CVOpenGLBufferCreate(None, 100, 100, {"a":"b"}, None)
31 self.failUnlessIsInstance(buf2, CVOpenGLBufferRef)
63 CVBufferPropagateAttachments(buf, buf2)
65 v = CVBufferGetAttachments(buf2, kCVAttachmentMode_ShouldPropagate)
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/PyObjCTest/
H A Dtest_cvbuffer.py29 rv, buf2 = CVOpenGLBufferCreate(None, 100, 100, {"a":"b"}, None)
31 self.assertIsInstance(buf2, CVOpenGLBufferRef)
63 CVBufferPropagateAttachments(buf, buf2)
65 v = CVBufferGetAttachments(buf2, kCVAttachmentMode_ShouldPropagate)
/macosx-10.9.5/basic_cmds-55/uuencode/
H A Duuencode.c155 char buf2[sizeof(buf) * 2 + 1]; local
164 rv = b64_ntop(buf, n, buf2, (sizeof(buf2) / sizeof(buf2[0])));
167 fprintf(output, "%s%s", buf2, (sequence % GROUPS) ? "" : "\n");
/macosx-10.9.5/shell_cmds-175/locate/code/
H A Dlocate.code.c106 u_char buf2[MAXPATHLEN]; variable
167 path = buf2;
170 while (fgets(path, sizeof(buf2), stdin) != NULL) {
244 path = buf2;
248 oldpath = buf2;
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/tools/idnconv/
H A Didnconv.c385 idnconv_strbuf_t buf1, buf2; local
432 strbuf_init(&buf2);
447 r = convert_line(&buf1, &buf2, conf2, actions1,
450 r = convert_line(&buf1, &buf2, conf1, actions1,
459 if (!idn_utf8_isvalidstring(strbuf_get(&buf2))) {
469 r = convert_line(&buf2, &buf1, conf1, actions2,
490 strbuf_reset(&buf2);
495 strbuf_reset(&buf2);
502 idnconv_strbuf_t buf1, buf2; local
571 strbuf_init(&buf2);
[all...]

Completed in 295 milliseconds

1234567