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

1234567

/macosx-10.10.1/objc4-646/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.10.1/OpenSSH-189/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.10.1/curl-83.1.2/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.10.1/Heimdal-398.1.2/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.10.1/libresolv-57/
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.10.1/OpenSSL098-52/src/demos/maurice/
H A Dexample2.c32 char *buf2; local
56 buf2 = malloc(EVP_PKEY_size(pubKey));
66 RSA_private_decrypt(len, buf, buf2, privKey->pkey.rsa,RSA_PKCS1_PADDING);
68 printf("%s\n", buf2);
73 free(buf2);
/macosx-10.10.1/shell_cmds-179/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.10.1/rsync-45/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.10.1/Security-57031.1.35/Security/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.10.1/CommonCrypto-60061/test/CommonCrypto/
H A DCommonRandom.c49 uint8_t buf1[bufmax], buf2[bufmax], buf3[bufmax], buf4[bufmax], buf5[bufmax], buf6[bufmax], buf7[bufmax];
88 isnt(CCRandomCopyBytes(kCCRandomDevRandom, buf2, 1),0, "Exhausted /dev/random failure");
111 is(CCRandomCopyBytes(kCCRandomDevRandom, buf2, len),0, "Random success");
118 ok(memcmp(buf1, buf2, len), "Buffers aren't the same");
120 ok(memcmp(buf2, buf3, len), "Buffers aren't the same");
122 ok(memcmp(buf5, buf2, len), "Buffers aren't the same");
130 is(CCRandomCopyBytes(kCCRandomDevRandom, buf2, 0),0, "Zero Length");
/macosx-10.10.1/emacs-93/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.10.1/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...]
/macosx-10.10.1/CPANInternal-159.1/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.10.1/OpenSSL098-52/src/crypto/err/
H A Derr_prn.c71 char buf2[4096]; local
80 BIO_snprintf(buf2, sizeof(buf2), "%lu:%s:%s:%d:%s\n", es, buf,
82 if (cb(buf2, strlen(buf2), u) <= 0)
/macosx-10.10.1/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)) {
35 if (buf2 != Py_None && buf2 != PyObjC_NULL) {
39 if (buf2 == PyObjC_NULL) {
/macosx-10.10.1/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)) {
35 if (buf2 != Py_None && buf2 != PyObjC_NULL) {
39 if (buf2 == PyObjC_NULL) {
/macosx-10.10.1/Heimdal-398.1.2/lib/gssapi/krb5/
H A Ddisplay_status.c178 const char *buf2 = krb5_get_error_message(context, status_value); local
179 if (buf2) {
180 buf = strdup(buf2);
181 krb5_free_error_message(context, buf2);
/macosx-10.10.1/Heimdal-398.1.2/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.10.1/OpenSSL098-52/src/demos/tunala/
H A Dcb.c64 char buf2[256]; /* Used for the issuer name */ local
75 buf1[0] = buf2[0] = '\0';
78 /* Fill buf2 */
79 X509_NAME_oneline(X509_get_issuer_name(ctx->current_cert), buf2, 256);
108 fprintf(fp_cb_ssl_verify, "--> issuer = %s\n", buf2);
/macosx-10.10.1/pyobjc-45/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.10.1/pyobjc-45/2.6/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.10.1/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/PyObjCTest/
H A Dtest_cvbuffer.py26 rv, buf2 = CVOpenGLBufferCreate(None, 100, 100, {"a":"b"}, None)
28 self.assertIsInstance(buf2, CVOpenGLBufferRef)
60 CVBufferPropagateAttachments(buf, buf2)
62 v = CVBufferGetAttachments(buf2, kCVAttachmentMode_ShouldPropagate)
/macosx-10.10.1/postfix-255/postfix/src/tls/
H A Dtls_fprint.c314 char *buf2; local
318 buf2 = buf = mymalloc(len);
319 i2d_X509(peercert, (unsigned char **) &buf2);
320 if (buf2 - buf != len)
348 char *buf2; local
352 buf2 = buf = mymalloc(len);
353 i2d_X509_PUBKEY(X509_get_X509_PUBKEY(peercert), (unsigned char **) &buf2);
354 if (buf2 - buf != len)
/macosx-10.10.1/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");

Completed in 338 milliseconds

1234567