/external/tensorflow/tensorflow/core/util/ |
D | cuda_kernel_helper_test.cu.cc | 43 __global__ void SetOutbufZero(CudaLaunchConfig config, int* outbuf) { in SetOutbufZero() argument 44 CUDA_1D_KERNEL_LOOP(x, config.virtual_thread_count) { outbuf[x] = 0; } in SetOutbufZero() 48 __global__ void Count1D(CudaLaunchConfig config, int bufsize, int* outbuf) { in Count1D() argument 53 atomicAdd(&outbuf[x % bufsize], 1); in Count1D() 56 __global__ void Count2D(Cuda2DLaunchConfig config, int bufsize, int* outbuf) { in Count2D() argument 66 atomicAdd(&outbuf[idx % bufsize], 1); in Count2D() 70 __global__ void Count3D(Cuda3DLaunchConfig config, int bufsize, int* outbuf) { in Count3D() argument 86 atomicAdd(&outbuf[idx % bufsize], 1); in Count3D() 135 int* outbuf = nullptr; member in tensorflow::CudaLaunchConfigTest 140 cudaError_t err = cudaMallocManaged(&outbuf, sizeof(int) * bufsize); in SetUp() [all …]
|
/external/openssh/ |
D | rsa.c | 77 u_char *inbuf = NULL, *outbuf = NULL; in rsa_public_encrypt() local 84 if ((outbuf = malloc(olen)) == NULL) { in rsa_public_encrypt() 96 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, in rsa_public_encrypt() 102 if (BN_bin2bn(outbuf, len, out) == NULL) { in rsa_public_encrypt() 109 if (outbuf != NULL) { in rsa_public_encrypt() 110 explicit_bzero(outbuf, olen); in rsa_public_encrypt() 111 free(outbuf); in rsa_public_encrypt() 123 u_char *inbuf = NULL, *outbuf = NULL; in rsa_private_decrypt() local 127 if ((outbuf = malloc(olen)) == NULL) { in rsa_private_decrypt() 139 if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key, in rsa_private_decrypt() [all …]
|
/external/libopus/tests/ |
D | test_opus_decode.c | 65 short *outbuf; in test_decoder_code0() local 74 outbuf=&outbuf_int[8*2]; in test_decoder_code0() 109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec); in test_decoder_code0() 115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec); in test_decoder_code0() 119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec); in test_decoder_code0() 121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); in test_decoder_code0() 123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec); in test_decoder_code0() 125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec); in test_decoder_code0() 131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec); in test_decoder_code0() 135 outbuf[0]=32749; in test_decoder_code0() [all …]
|
/external/u-boot/drivers/usb/gadget/ |
D | rndis.c | 154 __le32 *outbuf; in gen_ndis_query_resp() local 180 outbuf = (__le32 *) &resp[1]; in gen_ndis_query_resp() 194 outbuf[i] = cpu_to_le32(oid_supported_list[i]); in gen_ndis_query_resp() 208 *outbuf = __constant_cpu_to_le32(0); in gen_ndis_query_resp() 215 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp() 223 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp() 231 *outbuf = cpu_to_le32(params->mtu); in gen_ndis_query_resp() 242 *outbuf = __constant_cpu_to_le32(0); in gen_ndis_query_resp() 244 *outbuf = cpu_to_le32(params->speed); in gen_ndis_query_resp() 252 *outbuf = cpu_to_le32(params->mtu); in gen_ndis_query_resp() [all …]
|
/external/libxml2/os400/ |
D | libxmlmain.c | 41 char * outbuf; in main() local 61 outbuf = dummybuf; in main() 64 &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main() 65 bytecount += outbuf - dummybuf; in main() 68 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main() 75 outbuf = (char *) (argv + argc + 1); in main() 79 argv[i] = outbuf; in main() 82 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main() 83 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | cjkcodecs.h | 76 unsigned char **outbuf, Py_ssize_t outleft, int flags) 80 unsigned char **outbuf, Py_ssize_t outleft) 89 Py_UNICODE **outbuf, Py_ssize_t outleft) 107 (*outbuf) += (o); \ 124 #define OUT1(c) ((*outbuf)[0]) = (c); 125 #define OUT2(c) ((*outbuf)[1]) = (c); 126 #define OUT3(c) ((*outbuf)[2]) = (c); 127 #define OUT4(c) ((*outbuf)[3]) = (c); 131 (*outbuf)[0] = (c1); 134 (*outbuf)[0] = (c1); \ [all …]
|
D | _codecs_jp.c | 112 TRYMAP_DEC(cp932ext, **outbuf, c, c2); in DECODER() 122 TRYMAP_DEC(jisx0208, **outbuf, c, c2); in DECODER() 269 EMULATE_JISX0213_2000_DECODE_PLANE2(**outbuf, c2, c3) in DECODER() 270 else TRYMAP_DEC(jisx0213_2_bmp, **outbuf, c2, c3) ; in DECODER() 276 else TRYMAP_DEC(jisx0212, **outbuf, c2, c3) ; in DECODER() 288 EMULATE_JISX0213_2000_DECODE_PLANE1(**outbuf, c, c2) in DECODER() 289 else if (c == 0x21 && c2 == 0x40) **outbuf = 0xff3c; in DECODER() 290 else if (c == 0x22 && c2 == 0x32) **outbuf = 0xff5e; in DECODER() 291 else TRYMAP_DEC(jisx0208, **outbuf, c, c2); in DECODER() 292 else TRYMAP_DEC(jisx0213_1_bmp, **outbuf, c, c2); in DECODER() [all …]
|
D | multibytecodec.c | 14 unsigned char *outbuf, *outbuf_end; member 20 Py_UNICODE *outbuf, *outbuf_end; member 168 orgpos = (Py_ssize_t)((char *)buf->outbuf - in expand_encodebuffer() 181 buf->outbuf = (unsigned char *)PyString_AS_STRING(buf->outobj) +orgpos; in expand_encodebuffer() 188 if ((s) < 0 || (s) > (buf)->outbuf_end - (buf)->outbuf) \ 198 orgpos = (Py_ssize_t)(buf->outbuf - PyUnicode_AS_UNICODE(buf->outobj)); in expand_decodebuffer() 204 buf->outbuf = PyUnicode_AS_UNICODE(buf->outobj) + orgpos; in expand_decodebuffer() 211 if ((s) < 0 || (s) > (buf)->outbuf_end - (buf)->outbuf) \ 263 outleft = (Py_ssize_t)(buf->outbuf_end - buf->outbuf); in multibytecodec_encerror() 265 &buf->outbuf, outleft, 0); in multibytecodec_encerror() [all …]
|
/external/grpc-grpc/src/core/lib/compression/ |
D | message_compress.cc | 40 grpc_slice outbuf = GRPC_SLICE_MALLOC(OUTPUT_BLOCK_SIZE); in zlib_body() local 43 GPR_ASSERT(GRPC_SLICE_LENGTH(outbuf) <= uint_max); in zlib_body() 44 zs->avail_out = static_cast<uInt> GRPC_SLICE_LENGTH(outbuf); in zlib_body() 45 zs->next_out = GRPC_SLICE_START_PTR(outbuf); in zlib_body() 54 grpc_slice_buffer_add_indexed(output, outbuf); in zlib_body() 55 outbuf = GRPC_SLICE_MALLOC(OUTPUT_BLOCK_SIZE); in zlib_body() 56 GPR_ASSERT(GRPC_SLICE_LENGTH(outbuf) <= uint_max); in zlib_body() 57 zs->avail_out = static_cast<uInt> GRPC_SLICE_LENGTH(outbuf); in zlib_body() 58 zs->next_out = GRPC_SLICE_START_PTR(outbuf); in zlib_body() 72 GPR_ASSERT(outbuf.refcount); in zlib_body() [all …]
|
/external/curl/tests/server/ |
D | fake_ntlm.c | 50 char *outbuf; in printable() local 73 outbuf = malloc(outsize); in printable() 74 if(!outbuf) in printable() 78 msnprintf(&outbuf[0], outsize, "%s", NOTHING_STR); in printable() 79 return outbuf; in printable() 86 newbuf = realloc(outbuf, newsize); in printable() 88 free(outbuf); in printable() 91 outbuf = newbuf; in printable() 96 outbuf[o] = inbuf[i]; in printable() 100 msnprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]); in printable() [all …]
|
D | getpart.c | 80 char **outbuf); 84 char **outbuf) in Curl_convert_clone() argument 94 *outbuf = convbuf; in Curl_convert_clone() 278 int getpart(char **outbuf, size_t *outlen, in getpart() argument 309 *outbuf = malloc(outalloc); in getpart() 310 if(!*outbuf) in getpart() 312 *(*outbuf) = '\0'; in getpart() 324 error = appenddata(outbuf, outlen, &outalloc, buffer, base64); in getpart() 359 error = decodedata(outbuf, outlen); in getpart() 376 error = decodedata(outbuf, outlen); in getpart() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/ |
D | TarArchiveEntry.java | 1154 public void writeEntryHeader(final byte[] outbuf) { in writeEntryHeader() argument 1156 writeEntryHeader(outbuf, TarUtils.DEFAULT_ENCODING, false); in writeEntryHeader() 1159 writeEntryHeader(outbuf, TarUtils.FALLBACK_ENCODING, false); in writeEntryHeader() 1178 public void writeEntryHeader(final byte[] outbuf, final ZipEncoding encoding, in writeEntryHeader() argument 1182 offset = TarUtils.formatNameBytes(name, outbuf, offset, NAMELEN, in writeEntryHeader() 1184 offset = writeEntryHeaderField(mode, outbuf, offset, MODELEN, starMode); in writeEntryHeader() 1185 offset = writeEntryHeaderField(userId, outbuf, offset, UIDLEN, in writeEntryHeader() 1187 offset = writeEntryHeaderField(groupId, outbuf, offset, GIDLEN, in writeEntryHeader() 1189 offset = writeEntryHeaderField(size, outbuf, offset, SIZELEN, starMode); in writeEntryHeader() 1190 offset = writeEntryHeaderField(modTime, outbuf, offset, MODTIMELEN, in writeEntryHeader() [all …]
|
/external/syzkaller/vendor/golang.org/x/text/unicode/norm/ |
D | readwriter.go | 76 outbuf []byte member 86 n := copy(p, r.outbuf[r.bufStart:r.lastBoundary]) 96 outn := copy(r.outbuf, r.outbuf[r.lastBoundary:]) 97 r.outbuf = r.outbuf[0:outn] 104 r.outbuf = doAppend(&r.rb, r.outbuf, 0) 107 r.lastBoundary = len(r.outbuf) 109 r.lastBoundary = lastBoundary(&r.rb.f, r.outbuf)
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 77 unsigned char **outbuf, Py_ssize_t outleft, int flags) 81 unsigned char **outbuf, Py_ssize_t outleft) 106 (*outbuf) += (o); \ 153 do { ((*outbuf)[0]) = (c); } while (0) 155 do { ((*outbuf)[1]) = (c); } while (0) 157 do { ((*outbuf)[2]) = (c); } while (0) 159 do { ((*outbuf)[3]) = (c); } while (0) 164 (*outbuf)[0] = (c1); \ 169 (*outbuf)[0] = (c1); \ 170 (*outbuf)[1] = (c2); \ [all …]
|
/external/vboot_reference/host/lib/ |
D | util_misc.c | 45 uint32_t *outbuf; in vb_keyb_from_rsa() local 52 outbuf = malloc(bufsize); in vb_keyb_from_rsa() 53 if (!outbuf) in vb_keyb_from_rsa() 56 *keyb_data = (uint8_t *)outbuf; in vb_keyb_from_rsa() 59 *outbuf++ = nwords; in vb_keyb_from_rsa() 91 *outbuf++ = n0invout; in vb_keyb_from_rsa() 109 *outbuf++ = nout; in vb_keyb_from_rsa() 120 *outbuf++ = rrout; in vb_keyb_from_rsa() 125 outbuf = NULL; in vb_keyb_from_rsa() 129 free(outbuf); in vb_keyb_from_rsa()
|
D | host_key.c | 73 uint8_t *outbuf = 0; in PrivateKeyWrite() local 77 buflen = i2d_RSAPrivateKey(key->rsa_private_key, &outbuf); in PrivateKeyWrite() 86 free(outbuf); in PrivateKeyWrite() 93 free(outbuf); in PrivateKeyWrite() 97 if (1 != fwrite(outbuf, buflen, 1, f)) { in PrivateKeyWrite() 101 free(outbuf); in PrivateKeyWrite() 105 free(outbuf); in PrivateKeyWrite()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 39 struct wpabuf *outbuf; member 135 data->inbuf = data->outbuf = NULL; in eap_pwd_init() 163 wpabuf_free(data->outbuf); in eap_pwd_reset() 178 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_build_id_req() 180 if (data->outbuf == NULL) { in eap_pwd_build_id_req() 186 wpabuf_free(data->outbuf); in eap_pwd_build_id_req() 187 data->outbuf = NULL; in eap_pwd_build_id_req() 226 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_build_id_req() 227 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_build_id_req() 228 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF); in eap_pwd_build_id_req() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 40 struct wpabuf *outbuf; member 133 data->inbuf = data->outbuf = NULL; in eap_pwd_init() 165 wpabuf_free(data->outbuf); in eap_pwd_deinit() 288 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_perform_id_exchange() 290 if (data->outbuf == NULL) { in eap_pwd_perform_id_exchange() 294 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_perform_id_exchange() 295 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_perform_id_exchange() 296 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF); in eap_pwd_perform_id_exchange() 297 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange() 298 wpabuf_put_u8(data->outbuf, id->prep); in eap_pwd_perform_id_exchange() [all …]
|
/external/libvpx/libvpx/examples/ |
D | resize_util.c | 50 uint8_t *inbuf, *outbuf; in main() local 102 outbuf = (uint8_t *)malloc(target_width * target_height * 3 / 2); in main() 105 outbuf_u = outbuf + target_width * target_height; in main() 111 width, outbuf, target_width, outbuf_u, outbuf_v, in main() 113 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout); in main() 121 free(outbuf); in main()
|
/external/libaom/libaom/examples/ |
D | resize_util.c | 51 uint8_t *inbuf, *outbuf; in main() local 103 outbuf = (uint8_t *)malloc(target_width * target_height * 3 / 2); in main() 106 outbuf_u = outbuf + target_width * target_height; in main() 112 width, outbuf, target_width, outbuf_u, outbuf_v, in main() 114 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout); in main() 122 free(outbuf); in main()
|
/external/swiftshader/third_party/LLVM/test/Transforms/GVN/ |
D | lpre-call-wrap-2.ll | 6 ; void bi_windup(unsigned char *outbuf, unsigned char bi_buf) { 7 ; outbuf[outcnt] = bi_buf; 10 ; outbuf[outcnt] = bi_buf; 16 define void @bi_windup(i8* %outbuf, i8 zeroext %bi_buf) nounwind { 20 %1 = getelementptr i8* %outbuf, i32 %0 ; <i8*> [#uses=1] 35 %5 = getelementptr i8* %outbuf, i32 %4 ; <i8*> [#uses=1]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GVN/PRE/ |
D | lpre-call-wrap-2.ll | 6 ; void bi_windup(unsigned char *outbuf, unsigned char bi_buf) { 7 ; outbuf[outcnt] = bi_buf; 10 ; outbuf[outcnt] = bi_buf; 16 define void @bi_windup(i8* %outbuf, i8 zeroext %bi_buf) nounwind { 20 %1 = getelementptr i8, i8* %outbuf, i32 %0 ; <i8*> [#uses=1] 35 %5 = getelementptr i8, i8* %outbuf, i32 %4 ; <i8*> [#uses=1]
|
/external/llvm/test/Transforms/GVN/ |
D | lpre-call-wrap-2.ll | 6 ; void bi_windup(unsigned char *outbuf, unsigned char bi_buf) { 7 ; outbuf[outcnt] = bi_buf; 10 ; outbuf[outcnt] = bi_buf; 16 define void @bi_windup(i8* %outbuf, i8 zeroext %bi_buf) nounwind { 20 %1 = getelementptr i8, i8* %outbuf, i32 %0 ; <i8*> [#uses=1] 35 %5 = getelementptr i8, i8* %outbuf, i32 %4 ; <i8*> [#uses=1]
|
/external/curl/lib/vtls/ |
D | schannel.c | 419 SecBuffer outbuf; in schannel_connect_step1() local 771 InitSecBuffer(&outbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1() 772 InitSecBufferDesc(&outbuf_desc, &outbuf, 1); in schannel_connect_step1() 837 "sending %lu bytes...\n", outbuf.cbBuffer)); in schannel_connect_step1() 840 result = Curl_write_plain(conn, conn->sock[sockindex], outbuf.pvBuffer, in schannel_connect_step1() 841 outbuf.cbBuffer, &written); in schannel_connect_step1() 842 s_pSecFn->FreeContextBuffer(outbuf.pvBuffer); in schannel_connect_step1() 843 if((result != CURLE_OK) || (outbuf.cbBuffer != (size_t) written)) { in schannel_connect_step1() 845 "sent %zd of %lu bytes", written, outbuf.cbBuffer); in schannel_connect_step1() 872 SecBuffer outbuf[3]; in schannel_connect_step2() local [all …]
|
/external/selinux/libselinux/src/ |
D | booleans.c | 389 char outbuf[BUFSIZ]; in save_booleans() local 441 snprintf(outbuf, sizeof(outbuf), in save_booleans() 444 len = strlen(outbuf); in save_booleans() 446 if (write(fd, outbuf, len) != in save_booleans() 455 snprintf(outbuf, sizeof(outbuf), in save_booleans() 457 len = strlen(outbuf); in save_booleans() 458 if (write(fd, outbuf, len) != len) in save_booleans() 470 snprintf(outbuf, sizeof(outbuf), "%s=%d\n", in save_booleans() 472 len = strlen(outbuf); in save_booleans() 473 if (write(fd, outbuf, len) != len) { in save_booleans()
|