/external/ipsec-tools/src/racoon/ |
D | privsep.c | 292 char *bufs[PRIVSEP_NBUF_MAX]; in privsep_init() local 308 bufs[i] = (char *)data; in privsep_init() 309 data += combuf->bufs.buflen[i]; in privsep_init() 310 totallen += combuf->bufs.buflen[i]; in privsep_init() 345 bufs[0][combuf->bufs.buflen[0] - 1] = '\0'; in privsep_init() 347 if (unsafe_path(bufs[0], LC_PATHTYPE_CERT) != 0) { in privsep_init() 350 "unsafe cert \"%s\"\n", bufs[0]); in privsep_init() 354 "eay_get_pkcs1privkey(\"%s\")\n", bufs[0]); in privsep_init() 356 if ((privkey = eay_get_pkcs1privkey(bufs[0])) == NULL){ in privsep_init() 361 reply->bufs.buflen[0] = privkey->l; in privsep_init() [all …]
|
/external/fastrpc/src/ |
D | listener_android.c | 151 struct invoke_bufs* bufs = 0; in listener() local 166 VERIFYC(NULL != (bufs = rpcmem_realloc(heapid, flags, 0, 0, sizeof(*bufs))), AEE_ENORPCMEMORY); in listener() 167 memset(bufs, 0, sizeof(*bufs)); in listener() 178 ctx, result, bufs->outbufs, numOutBufs, &ctx, in listener() 179 &handle, &sc, bufs->inbufs, inBufsAllocated, in listener() 180 bufs->inbufLenReqs, MAX_BUFS, bufs->outbufLenReqs, MAX_BUFS); in listener() 185 &handle, &sc, bufs->inbufs, inBufsAllocated, in listener() 186 bufs->inbufLenReqs, MAX_BUFS, bufs->outbufLenReqs, MAX_BUFS))); in listener() 194 if(bufs->inbufs[ii].dataLen < bufs->inbufLenReqs[ii]) { in listener() 195 if(0 != bufs->inbufLenReqs[ii]) { in listener() [all …]
|
/external/u-boot/drivers/net/ |
D | lpc32xx_eth.c | 203 struct lpc32xx_eth_buffers *bufs; member 347 .bufs = (struct lpc32xx_eth_buffers *)CONFIG_LPC32XX_ETH_BUFS_BASE, 360 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_send() local 376 memcpy((void *)&bufs->tx_buf[tx_index * PKTSIZE_ALIGN], in lpc32xx_eth_send() 379 &bufs->tx_desc[tx_index].control); in lpc32xx_eth_send() 380 writel(0, &bufs->tx_stat[tx_index].statusinfo); in lpc32xx_eth_send() 397 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_recv() local 411 if (!(bufs->rx_stat[rx_index].statusinfo & RX_STAT_ERRORS)) { in lpc32xx_eth_recv() 413 &(bufs->rx_buf[rx_index * PKTSIZE_ALIGN]), in lpc32xx_eth_recv() 414 (bufs->rx_stat[rx_index].statusinfo in lpc32xx_eth_recv() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/ |
D | 1-1.c | 68 char *bufs; in main() local 92 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 94 if (bufs == NULL) { in main() 100 if (write(fd, bufs, NUM_AIOCBS * BUF_SIZE) != (NUM_AIOCBS * BUF_SIZE)) { in main() 102 free(bufs); in main() 116 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 143 free(bufs); in main() 156 free(bufs); in main() 169 free(bufs); in main() 184 free(bufs); in main() [all …]
|
/external/lzma/C/ |
D | Bcj2.c | 43 if (p->bufs[BCJ2_STREAM_RC] == p->lims[BCJ2_STREAM_RC]) in Bcj2Dec_Decode() 49 p->code = (p->code << 8) | *(p->bufs[BCJ2_STREAM_RC])++; in Bcj2Dec_Decode() 113 if (p->bufs[BCJ2_STREAM_RC] == p->lims[BCJ2_STREAM_RC]) in Bcj2Dec_Decode() 119 p->code = (p->code << 8) | *(p->bufs[BCJ2_STREAM_RC])++; in Bcj2Dec_Decode() 123 const Byte *src = p->bufs[BCJ2_STREAM_MAIN]; in Bcj2Dec_Decode() 171 num = src - p->bufs[BCJ2_STREAM_MAIN]; in Bcj2Dec_Decode() 176 p->bufs[BCJ2_STREAM_MAIN] = src; in Bcj2Dec_Decode() 180 p->bufs[BCJ2_STREAM_MAIN] == in Bcj2Dec_Decode() 194 p->bufs[BCJ2_STREAM_MAIN] = src + 1; in Bcj2Dec_Decode() 215 const Byte *cur = p->bufs[cj]; in Bcj2Dec_Decode() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/ |
D | 18-1.c | 45 char *bufs; in main() local 64 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 66 if (bufs == NULL) { in main() 77 aiocbs[0]->aio_buf = bufs; in main() 90 free(bufs); in main() 101 free(bufs); in main() 107 free(bufs); in main()
|
D | 2-1.c | 61 char *bufs; in main() local 85 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 87 if (bufs == NULL) { in main() 101 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 136 free(bufs); in main() 145 free(bufs); in main() 155 free(bufs); in main() 177 free(bufs); in main()
|
D | 14-1.c | 62 char *bufs; in main() local 86 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 88 if (bufs == NULL) { in main() 101 free(bufs); in main() 112 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 147 free(bufs); in main() 161 free(bufs); in main() 183 free(bufs); in main()
|
D | 1-1.c | 55 char *bufs; in main() local 79 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 81 if (bufs == NULL) { in main() 97 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 122 free(bufs); in main() 132 free(bufs); in main() 152 free(bufs); in main()
|
D | 12-1.c | 44 char *bufs; in main() local 66 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 68 if (bufs == NULL) { in main() 82 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 95 free(bufs); in main() 114 free(bufs); in main()
|
D | 13-1.c | 44 char *bufs; in main() local 66 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 68 if (bufs == NULL) { in main() 82 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 99 free(bufs); in main() 132 free(bufs); in main()
|
D | 4-1.c | 62 char *bufs; in main() local 86 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 88 if (bufs == NULL) { in main() 109 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 147 free(bufs); in main() 165 free(bufs); in main() 187 free(bufs); in main()
|
D | 15-1.c | 62 char *bufs; in main() local 86 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 88 if (bufs == NULL) { in main() 102 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 142 free(bufs); in main() 156 free(bufs); in main() 176 free(bufs); in main()
|
D | 7-1.c | 63 char *bufs; in main() local 87 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main() 89 if (bufs == NULL) { in main() 102 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE]; in main() 143 free(bufs); in main() 160 free(bufs); in main() 182 free(bufs); in main()
|
/external/strace/tests-m32/ |
D | s390_pci_mmio_read_write.c | 98 } bufs[] = { in main() local 124 for (j = 0; j < ARRAY_SIZE(bufs); j++) { in main() 127 bool valid = bufs[j].buf && in main() 128 bufs[j].size >= in main() 132 if (bufs[j].size && bools[l]) in main() 134 bufs[j].size, in main() 137 do_call(bools[l], addrs[i], bufs[j].buf, in main() 138 sizes[k], valid, bufs[j].str); in main()
|
/external/strace/tests/ |
D | s390_pci_mmio_read_write.c | 98 } bufs[] = { in main() local 124 for (j = 0; j < ARRAY_SIZE(bufs); j++) { in main() 127 bool valid = bufs[j].buf && in main() 128 bufs[j].size >= in main() 132 if (bufs[j].size && bools[l]) in main() 134 bufs[j].size, in main() 137 do_call(bools[l], addrs[i], bufs[j].buf, in main() 138 sizes[k], valid, bufs[j].str); in main()
|
/external/strace/tests-mx32/ |
D | s390_pci_mmio_read_write.c | 98 } bufs[] = { in main() local 124 for (j = 0; j < ARRAY_SIZE(bufs); j++) { in main() 127 bool valid = bufs[j].buf && in main() 128 bufs[j].size >= in main() 132 if (bufs[j].size && bools[l]) in main() 134 bufs[j].size, in main() 137 do_call(bools[l], addrs[i], bufs[j].buf, in main() 138 sizes[k], valid, bufs[j].str); in main()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | socket_ops.hpp | 117 ASIO_DECL signed_size_type recv(socket_type s, buf* bufs, 120 ASIO_DECL size_t sync_recv(socket_type s, state_type state, buf* bufs, 125 buf* bufs, size_t count, int flags, bool is_stream, 129 ASIO_DECL signed_size_type recvfrom(socket_type s, buf* bufs, 134 buf* bufs, size_t count, int flags, socket_addr_type* addr, 139 buf* bufs, size_t count, int flags, 144 ASIO_DECL signed_size_type recvmsg(socket_type s, buf* bufs, 149 buf* bufs, size_t count, int in_flags, int& out_flags, 154 buf* bufs, size_t count, int in_flags, int& out_flags, 158 ASIO_DECL signed_size_type send(socket_type s, const buf* bufs, [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/impl/ |
D | read.hpp | 273 boost::array<asio::mutable_buffer, 2> >::type bufs = {{ in operator ()() local 276 std::size_t buffer_size0 = asio::buffer_size(bufs[0]); in operator ()() 277 std::size_t buffer_size1 = asio::buffer_size(bufs[1]); in operator ()() 285 bufs[0] = asio::buffer(bufs[0] + total_transferred_, n); in operator ()() 286 bufs[1] = asio::buffer( in operator ()() 287 bufs[1] + (total_transferred_ < buffer_size0 in operator ()() 289 n - asio::buffer_size(bufs[0])); in operator ()() 290 stream_.async_read_some(bufs, ASIO_MOVE_CAST(read_op)(*this)); in operator ()() 355 std::array<asio::mutable_buffer, 2> >::type bufs = {{ in operator ()() local 358 std::size_t buffer_size0 = asio::buffer_size(bufs[0]); in operator ()() [all …]
|
D | write.hpp | 346 boost::array<asio::const_buffer, 2> >::type bufs = {{ in operator ()() local 349 std::size_t buffer_size0 = asio::buffer_size(bufs[0]); in operator ()() 350 std::size_t buffer_size1 = asio::buffer_size(bufs[1]); in operator ()() 358 bufs[0] = asio::buffer(bufs[0] + total_transferred_, n); in operator ()() 359 bufs[1] = asio::buffer( in operator ()() 360 bufs[1] + (total_transferred_ < buffer_size0 in operator ()() 362 n - asio::buffer_size(bufs[0])); in operator ()() 363 stream_.async_write_some(bufs, ASIO_MOVE_CAST(write_op)(*this)); in operator ()() 428 std::array<asio::const_buffer, 2> >::type bufs = {{ in operator ()() local 431 std::size_t buffer_size0 = asio::buffer_size(bufs[0]); in operator ()() [all …]
|
/external/ltp/lib/ |
D | tst_buffers.c | 111 void tst_buffers_alloc(struct tst_buffers bufs[]) in tst_buffers_alloc() argument 115 for (i = 0; bufs[i].ptr; i++) { in tst_buffers_alloc() 116 if (bufs[i].size) in tst_buffers_alloc() 117 *((void**)bufs[i].ptr) = tst_alloc(bufs[i].size); in tst_buffers_alloc() 119 *((void**)bufs[i].ptr) = tst_iovec_alloc(bufs[i].iov_sizes); in tst_buffers_alloc()
|
/external/python/cpython2/Lib/test/ |
D | test_zlib.py | 246 bufs = [] 248 bufs.append(co.compress(data[i:i+256])) 249 bufs.append(co.flush()) 250 combuf = ''.join(bufs) 253 y1 = dco.decompress(''.join(bufs)) 262 bufs = [] 264 bufs.append(co.compress(data[i:i+cx])) 265 bufs.append(co.flush()) 266 combuf = ''.join(bufs) 271 bufs = [] [all …]
|
/external/mesa3d/src/glx/apple/ |
D | apple_xgl_api_stereo.c | 88 __applegl_glDrawBuffers(GLsizei n, const GLenum * bufs) in __applegl_glDrawBuffers() argument 99 if (GL_BACK == bufs[i]) { in __applegl_glDrawBuffers() 102 else if (GL_FRONT == bufs[i]) { in __applegl_glDrawBuffers() 106 newbuf[outi++] = bufs[i]; in __applegl_glDrawBuffers() 123 __ogl_framework_api->DrawBuffers(n, bufs); in __applegl_glDrawBuffers()
|
/external/toybox/toys/posix/ |
D | od.c | 39 char *bufs[2]; // Used to detect duplicate lines. 138 && !memcmp(TT.bufs[0], TT.bufs[1], TT.w)) in od_outline() 186 TT.buf = (TT.buf == TT.bufs[0]) ? TT.bufs[1] : TT.bufs[0]; in od_outline() 268 TT.bufs[0] = xzalloc(TT.w); in od_main() 269 TT.bufs[1] = xzalloc(TT.w); in od_main() 270 TT.buf = TT.bufs[0]; in od_main() 293 free(TT.bufs[0]); in od_main() 294 free(TT.bufs[1]); in od_main()
|
/external/boringssl/src/crypto/pool/ |
D | pool.c | 49 pool->bufs = lh_CRYPTO_BUFFER_new(CRYPTO_BUFFER_hash, CRYPTO_BUFFER_cmp); in CRYPTO_BUFFER_POOL_new() 50 if (pool->bufs == NULL) { in CRYPTO_BUFFER_POOL_new() 67 assert(lh_CRYPTO_BUFFER_num_items(pool->bufs) == 0); in CRYPTO_BUFFER_POOL_free() 71 lh_CRYPTO_BUFFER_free(pool->bufs); in CRYPTO_BUFFER_POOL_free() 85 lh_CRYPTO_BUFFER_retrieve(pool->bufs, &tmp); in CRYPTO_BUFFER_new() 118 CRYPTO_BUFFER *duplicate = lh_CRYPTO_BUFFER_retrieve(pool->bufs, buf); in CRYPTO_BUFFER_new() 122 inserted = lh_CRYPTO_BUFFER_insert(pool->bufs, &old, buf); in CRYPTO_BUFFER_new() 191 void *found = lh_CRYPTO_BUFFER_delete(pool->bufs, buf); in CRYPTO_BUFFER_free()
|