/external/valgrind/main/none/tests/ |
process_vm_readv_writev.c | 16 char rbuf[] = "ABCDEF"; local 26 rvec[0].iov_base = rbuf + 1; 28 rvec[1].iov_base = rbuf + 4; 52 char rbuf[] = "ABCDEF"; local 62 rvec[0].iov_base = rbuf + 1; 64 rvec[1].iov_base = rbuf + 4; 75 if (strcmp(rbuf, "A24D5F") != 0) { 76 fprintf(stderr, "Expected: \"A24D5F\"; Got: \"%s\"\n", rbuf);
|
/external/openssh/openbsd-compat/ |
port-tun.c | 208 char rbuf[CHAN_RBUF]; local 215 if (len <= 0 || len > (int)(sizeof(rbuf) - sizeof(*af))) 217 ptr = (char *)&rbuf[0];
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-regex2.c | 69 regex_t rbuf; local 76 err = regcomp (&rbuf, pat[i], 82 regerror (err, &rbuf, errstr, sizeof (errstr)); 109 err = regexec (&rbuf, string, 71, pmatch, 0); 203 regfree (&rbuf);
|
/frameworks/rs/cpp/ |
RenderScript.cpp | 96 void * rbuf = malloc(rbuf_size); local 111 rbuf = realloc(rbuf, rbuf_size); 113 if (!rbuf) { 117 rsContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen), 122 ALOGE("RS Error %s", (const char *)rbuf); 125 rs->mErrorFunc(usrID, (const char *)rbuf); 139 rs->mMessageFunc(usrID, rbuf, receiveLen); 150 if (rbuf) { 151 free(rbuf); [all...] |
/external/openssl/ssl/ |
s2_lib.c | 330 if ((s2->rbuf=OPENSSL_malloc( 344 if (s2->rbuf != NULL) OPENSSL_free(s2->rbuf); 358 if (s2->rbuf != NULL) OPENSSL_free(s2->rbuf); 368 unsigned char *rbuf,*wbuf; local 372 rbuf=s2->rbuf; 377 s2->rbuf=rbuf; [all...] |
dtls1.h | 268 SSL3_BUFFER rbuf; member in struct:dtls1_record_data_st
|
ssl2.h | 180 unsigned char *rbuf; member in struct:ssl2_state_st
|
/external/valgrind/main/mpi/ |
mpiwrap_type_test.c | 126 char* rbuf; local 166 rbuf = malloc(ub); 167 assert(rbuf); 169 rbuf[i] = 0xFF; 171 r = MPI_Recv( rbuf,1,*tyP, 0,99,MPI_COMM_WORLD, &status); 174 /* Now: rbuf should contain 0x00s where data was transferred and 193 if (rbuf_walk[i] == rbuf[i]) 211 printf("%c", characterise(rbuf[i])); 215 free(rbuf);
|
/external/wpa_supplicant_8/src/radius/ |
radius_das.c | 158 struct wpabuf *rbuf; local 264 rbuf = radius_msg_get_buf(reply); 265 res = sendto(das->sock, wpabuf_head(rbuf), 266 wpabuf_len(rbuf), 0,
|
/external/libppp/src/ |
ether.c | 442 u_char rbuf[2048]; local 532 resp = (struct ng_mesg *)rbuf; 533 if (NgRecvMsg(dev->cs, resp, sizeof rbuf, NULL) <= 0) {
|
netgraph.c | 456 u_char rbuf[2048]; local 590 resp = (struct ng_mesg *)rbuf; 591 if (NgRecvMsg(dev->cs, resp, sizeof rbuf, NULL) <= 0) { 659 resp = (struct ng_mesg *)rbuf; 660 if (NgRecvMsg(dev->cs, resp, sizeof rbuf, NULL) <= 0) {
|
tty.c | 256 u_char rbuf[sizeof(struct ng_mesg) + sizeof(struct nodeinfo)]; local 272 reply = (struct ng_mesg *)rbuf; 352 if (NgRecvMsg(cs, reply, sizeof rbuf, NULL) < 0) {
|
/external/wpa_supplicant_8/src/rsn_supp/ |
peerkey.c | 69 u8 *rbuf, *pos; local 77 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, 80 if (rbuf == NULL) 116 rbuf, rlen, err->key_mic); 129 u8 *rbuf, *pos; local 138 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, 141 if (rbuf == NULL) 168 rbuf, rlen, reply->key_mic); 995 u8 bssid[ETH_ALEN], *rbuf, *pos, *count_pos; local 1061 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL [all...] |
tdls.c | 659 u8 *rbuf, *pos; local 692 rbuf = os_zalloc(ielen + 1); 693 if (rbuf == NULL) 695 pos = rbuf; 737 reason_code, rbuf, pos - rbuf); 738 os_free(rbuf); 925 u8 *rbuf, *pos, *count_pos; local 1009 rbuf = os_zalloc(buf_len + 1); 1010 if (rbuf == NULL) 1101 u8 *rbuf, *pos; local 1184 u8 *rbuf, *pos; local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldInputStreamReaderTest.java | 220 char[] rbuf = new char[100]; local 223 is.read(rbuf, 0, 100); 224 for (int i = 0; i < rbuf.length; i++) 225 assertTrue("returned incorrect chars", rbuf[i] == sbuf[i]);
|
/system/netd/ |
CommandListener.cpp | 234 char *rbuf; local 241 rc = sInterfaceCtrl->interfaceCommand(argc, argv, &rbuf); 245 cli->sendMsg(ResponseCode::CommandOkay, rbuf, false); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
InputStreamReaderTest.java | 441 char[] rbuf = new char[100]; local 444 is.read(rbuf, 0, 100); 445 for (int i = 0; i < rbuf.length; i++) { 446 assertTrue("returned incorrect chars", rbuf[i] == sbuf[i]);
|
/external/grub/netboot/ |
lance.c | 87 unsigned char rbuf[RX_RING_SIZE][ETH_FRAME_LEN+4]; member in struct:lance_interface 267 lp->rx_ring[i].u.base = virt_to_bus(lp->rbuf[i]) & 0xffffff; 315 memcpy(nic->packet, lp->rbuf[lp->rx_idx], nic->packetlen = lp->rx_ring[lp->rx_idx].msg_length);
|
/external/openssl/include/openssl/ |
dtls1.h | 268 SSL3_BUFFER rbuf; member in struct:dtls1_record_data_st
|
ssl2.h | 180 unsigned char *rbuf; member in struct:ssl2_state_st
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
String2Test.java | 44 char[] rbuf = new char[5]; field in class:String2Test 504 hw1.getChars(5, hw1.length(), rbuf, 0); 506 for (int i = 0; i < rbuf.length; i++) 507 assertTrue("getChars returned incorrect char(s)", rbuf[i] == buf[i]); [all...] |
/external/chromium/third_party/libevent/test/ |
regress.c | 72 static char rbuf[4096]; variable 168 len = read(fd, rbuf + roff, sizeof(rbuf) - roff); 408 memset(rbuf, 0, sizeof(rbuf)); 424 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; 437 memset(rbuf, 0, sizeof(rbuf)); 453 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; [all...] |
/external/dropbear/ |
scp.c | 1111 char ch, *cp, resp, rbuf[2048]; local 1116 cp = rbuf; 1129 } while (cp < &rbuf[sizeof(rbuf) - 1] && ch != '\n'); 1132 (void) atomicio(vwrite, STDERR_FILENO, rbuf, cp - rbuf);
|
/external/openssh/ |
mux.c | 1087 char rbuf[16+1]; local 1102 for (i = 0; i < sizeof(rbuf) - 1; i++) { 1104 rbuf[i] = (r < 26) ? 'a' + r : 1108 rbuf[sizeof(rbuf) - 1] = '\0'; 1110 xasprintf(&options.control_path, "%s.%s", orig_control_path, rbuf); [all...] |
scp.c | 1183 char ch, *cp, resp, rbuf[2048]; local 1188 cp = rbuf; 1201 } while (cp < &rbuf[sizeof(rbuf) - 1] && ch != '\n'); 1204 (void) atomicio(vwrite, STDERR_FILENO, rbuf, cp - rbuf);
|