/external/icu/icu4c/source/common/ |
D | udataswp.cpp | 34 const void *inData, int32_t length, void *outData, in uprv_swapArray16() argument 44 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) { in uprv_swapArray16() 50 p=(const uint16_t *)inData; in uprv_swapArray16() 64 const void *inData, int32_t length, void *outData, in uprv_copyArray16() argument 69 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) { in uprv_copyArray16() 74 if(length>0 && inData!=outData) { in uprv_copyArray16() 75 uprv_memcpy(outData, inData, length); in uprv_copyArray16() 82 const void *inData, int32_t length, void *outData, in uprv_swapArray32() argument 92 if(ds==NULL || inData==NULL || length<0 || (length&3)!=0 || outData==NULL) { in uprv_swapArray32() 98 p=(const uint32_t *)inData; in uprv_swapArray32() [all …]
|
D | utrie_swap.cpp | 27 const void *inData, int32_t length, void *outData, in utrie_swap() argument 37 if(ds==NULL || inData==NULL || (length>=0 && outData==NULL)) { in utrie_swap() 48 inTrie=(const UTrieHeader *)inData; in utrie_swap() 98 const void *inData, int32_t length, void *outData, in utrie2_swap() argument 108 if(ds==NULL || inData==NULL || (length>=0 && outData==NULL)) { in utrie2_swap() 119 inTrie=(const UTrie2Header *)inData; in utrie2_swap() 185 const void *inData, int32_t length, void *outData, in ucptrie_swap() argument 195 if(ds==nullptr || inData==nullptr || (length>=0 && outData==nullptr)) { in ucptrie_swap() 206 inTrie=(const UCPTrieHeader *)inData; in ucptrie_swap() 265 const uint16_t *inData=inIndex+trie.indexLength; in ucptrie_swap() local [all …]
|
D | udataswp.h | 91 const void *inData, int32_t length, void *outData, 233 const void *inData, int32_t length, void *outData, 257 const void *inData, int32_t length, void *outData, 275 const void *inData, int32_t length, void *outData, 284 const void *inData, int32_t length, void *outData, 293 const void *inData, int32_t length, void *outData, 302 const void *inData, int32_t length, void *outData, 344 const void *inData, int32_t length, void *outData, 353 const void *inData, int32_t length, void *outData, 362 const void *inData, int32_t length, void *outData, [all …]
|
D | uinvchar.cpp | 298 const void *inData, int32_t length, void *outData, in uprv_ebcdicFromAscii() argument 309 if(ds==NULL || inData==NULL || length<0 || (length>0 && outData==NULL)) { in uprv_ebcdicFromAscii() 315 s=(const uint8_t *)inData; in uprv_ebcdicFromAscii() 336 const void *inData, int32_t length, void *outData, in uprv_copyAscii() argument 346 if(ds==NULL || inData==NULL || length<0 || (length>0 && outData==NULL)) { in uprv_copyAscii() 352 s=(const uint8_t *)inData; in uprv_copyAscii() 365 if(length>0 && inData!=outData) { in uprv_copyAscii() 366 uprv_memcpy(outData, inData, length); in uprv_copyAscii() 375 const void *inData, int32_t length, void *outData, in uprv_asciiFromEbcdic() argument 386 if(ds==NULL || inData==NULL || length<0 || (length>0 && outData==NULL)) { in uprv_asciiFromEbcdic() [all …]
|
D | ucol_swp.cpp | 35 const void *inData, int32_t length) { in ucol_looksLikeCollationBinary() argument 36 if(ds==NULL || inData==NULL || length<-1) { in ucol_looksLikeCollationBinary() 42 (void)udata_swapDataHeader(ds, inData, -1, NULL, &errorCode); in ucol_looksLikeCollationBinary() 44 const UDataInfo &info=*(const UDataInfo *)((const char *)inData+4); in ucol_looksLikeCollationBinary() 54 const UCATableHeader *inHeader=(const UCATableHeader *)inData; in ucol_looksLikeCollationBinary() 91 const void *inData, int32_t length, void *outData, in swapFormatVersion3() argument 106 if(ds==NULL || inData==NULL || length<-1 || (length>0 && outData==NULL)) { in swapFormatVersion3() 111 inBytes=(const uint8_t *)inData; in swapFormatVersion3() 114 inHeader=(const UCATableHeader *)inData; in swapFormatVersion3() 305 const void *inData, int32_t length, void *outData, in swapFormatVersion4() argument [all …]
|
D | ucol_swp.h | 36 const void *inData, int32_t length); 44 const void *inData, int32_t length, void *outData, 53 const void *inData, int32_t length, void *outData,
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/ |
D | GzipCompressorInputStream.java | 200 final DataInput inData = new DataInputStream(in); in init() local 201 final int method = inData.readUnsignedByte(); in init() 207 final int flg = inData.readUnsignedByte(); in init() 213 parameters.setModificationTime(ByteUtils.fromLittleEndian(inData, 4) * 1000); in init() 214 switch (inData.readUnsignedByte()) { // extra flags in init() 225 parameters.setOperatingSystem(inData.readUnsignedByte()); in init() 229 int xlen = inData.readUnsignedByte(); in init() 230 xlen |= inData.readUnsignedByte() << 8; in init() 236 inData.readUnsignedByte(); in init() 242 parameters.setFilename(new String(readToNull(inData), in init() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | swapimpl.cpp | 78 const void *inData, int32_t length, void *outData, in upname_swap() argument 81 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() 89 static_cast<const char *>(inData)+4); in upname_swap() 105 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; in upname_swap() 163 const void *inData, int32_t length, void *outData, in uprops_swap() argument 172 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap() 178 pInfo=(const UDataInfo *)((const char *)inData+4); in uprops_swap() 206 inData32=(const int32_t *)((const char *)inData+headerSize); in uprops_swap() 311 const void *inData, int32_t length, void *outData, in ucase_swap() argument 325 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucase_swap() [all …]
|
/external/icu/libicu/cts_headers/ |
D | udataswp.h | 91 const void *inData, int32_t length, void *outData, 233 const void *inData, int32_t length, void *outData, 257 const void *inData, int32_t length, void *outData, 275 const void *inData, int32_t length, void *outData, 284 const void *inData, int32_t length, void *outData, 293 const void *inData, int32_t length, void *outData, 302 const void *inData, int32_t length, void *outData, 344 const void *inData, int32_t length, void *outData, 353 const void *inData, int32_t length, void *outData, 362 const void *inData, int32_t length, void *outData, [all …]
|
D | ucol_swp.h | 36 const void *inData, int32_t length); 44 const void *inData, int32_t length, void *outData, 53 const void *inData, int32_t length, void *outData,
|
/external/xz-java/src/org/tukaani/xz/rangecoder/ |
D | RangeDecoderFromStream.java | 19 private final DataInputStream inData; field in RangeDecoderFromStream 22 inData = new DataInputStream(in); in RangeDecoderFromStream() 24 if (inData.readUnsignedByte() != 0x00) in RangeDecoderFromStream() 27 code = inData.readInt(); in RangeDecoderFromStream() 37 code = (code << SHIFT_BITS) | inData.readUnsignedByte(); in normalize()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Symmetric/ |
D | EncryptDecrypt_spt.c | 58 TPM2B_MAX_BUFFER *inData, in EncryptDecryptShared() argument 126 && ((inData->t.size % blockSize) != 0)) in EncryptDecryptShared() 138 out->outData.t.size = inData->t.size; in EncryptDecryptShared() 143 &(out->ivOut), mode, inData->t.size, in EncryptDecryptShared() 144 inData->t.buffer); in EncryptDecryptShared() 150 &(out->ivOut), mode, inData->t.size, in EncryptDecryptShared() 151 inData->t.buffer); in EncryptDecryptShared()
|
D | EncryptDecrypt.c | 62 &in->ivIn, &in->inData, out); in TPM2_EncryptDecrypt() 131 && ((in->inData.t.size % blockSize) != 0)) in TPM2_EncryptDecrypt() 143 out->outData.t.size = in->inData.t.size; in TPM2_EncryptDecrypt() 148 &(out->ivOut), mode, in->inData.t.size, in TPM2_EncryptDecrypt() 149 in->inData.t.buffer); in TPM2_EncryptDecrypt() 155 &(out->ivOut), mode, in->inData.t.size, in TPM2_EncryptDecrypt() 156 in->inData.t.buffer); in TPM2_EncryptDecrypt()
|
/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_StirRandom.c | 17 const TPM2B_SENSITIVE_DATA *inData) in Tss2_Sys_StirRandom_Prepare() argument 29 if (!inData) { in Tss2_Sys_StirRandom_Prepare() 36 rval = Tss2_MU_TPM2B_SENSITIVE_DATA_Marshal(inData, ctx->cmdBuffer, in Tss2_Sys_StirRandom_Prepare() 65 const TPM2B_SENSITIVE_DATA *inData, in Tss2_Sys_StirRandom() argument 71 rval = Tss2_Sys_StirRandom_Prepare(sysContext, inData); in Tss2_Sys_StirRandom()
|
D | Tss2_Sys_EncryptDecrypt.c | 21 const TPM2B_MAX_BUFFER *inData) in Tss2_Sys_EncryptDecrypt_Prepare() argument 66 if (!inData) { in Tss2_Sys_EncryptDecrypt_Prepare() 73 rval = Tss2_MU_TPM2B_MAX_BUFFER_Marshal(inData, ctx->cmdBuffer, in Tss2_Sys_EncryptDecrypt_Prepare() 123 const TPM2B_MAX_BUFFER *inData, in Tss2_Sys_EncryptDecrypt() argument 132 mode, ivIn, inData); in Tss2_Sys_EncryptDecrypt()
|
D | Tss2_Sys_EncryptDecrypt2.c | 18 const TPM2B_MAX_BUFFER *inData, in Tss2_Sys_EncryptDecrypt2_Prepare() argument 40 if (!inData) { in Tss2_Sys_EncryptDecrypt2_Prepare() 47 rval = Tss2_MU_TPM2B_MAX_BUFFER_Marshal (inData, in Tss2_Sys_EncryptDecrypt2_Prepare() 125 const TPM2B_MAX_BUFFER *inData, in Tss2_Sys_EncryptDecrypt2() argument 138 inData, in Tss2_Sys_EncryptDecrypt2()
|
/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_StirRandom.c | 63 const TPM2B_SENSITIVE_DATA *inData) in Esys_StirRandom() argument 68 inData); in Esys_StirRandom() 131 const TPM2B_SENSITIVE_DATA *inData) in Esys_StirRandom_Async() argument 135 esysContext, inData); in Esys_StirRandom_Async() 153 r = Tss2_Sys_StirRandom_Prepare(esysContext->sys, inData); in Esys_StirRandom_Async()
|
D | Esys_EncryptDecrypt.c | 79 const TPM2B_MAX_BUFFER *inData, in Esys_EncryptDecrypt() argument 86 shandle3, decrypt, mode, ivIn, inData); in Esys_EncryptDecrypt() 161 const TPM2B_MAX_BUFFER *inData) in Esys_EncryptDecrypt_Async() argument 167 inData); in Esys_EncryptDecrypt_Async() 193 mode, ivIn, inData); in Esys_EncryptDecrypt_Async()
|
D | Esys_EncryptDecrypt2.c | 73 const TPM2B_MAX_BUFFER *inData, in Esys_EncryptDecrypt2() argument 83 shandle3, inData, decrypt, mode, ivIn); in Esys_EncryptDecrypt2() 152 const TPM2B_MAX_BUFFER *inData, in Esys_EncryptDecrypt2_Async() argument 160 esysContext, keyHandle, inData, decrypt, mode, in Esys_EncryptDecrypt2_Async() 186 : keyHandleNode->rsrc.handle, inData, in Esys_EncryptDecrypt2_Async()
|
/external/xz-java/src/org/tukaani/xz/ |
D | BlockInputStream.java | 21 private final DataInputStream inData; field in BlockInputStream 45 inData = new DataInputStream(in); in BlockInputStream() 50 inData.readFully(buf, 0, 1); in BlockInputStream() 58 inData.readFully(buf, 1, headerSize - 1); in BlockInputStream() 263 if (inData.readUnsignedByte() != 0x00) in validate() 268 inData.readFully(storedCheck); in validate()
|
D | XZInputStream.java | 420 DataInputStream inData = new DataInputStream(in); in prepareNextStream() local 428 int ret = inData.read(buf, 0, 1); in prepareNextStream() 436 inData.readFully(buf, 1, 3); in prepareNextStream() 443 inData.readFully(buf, 4, DecoderUtil.STREAM_HEADER_SIZE - 4); in prepareNextStream()
|
/external/OpenCL-CTS/test_conformance/gl/ |
D | test_images_read_common.cpp | 574 float *inData = (float *)malloc( w * h * d * samples * sizeof(float) ); in test_image_format_read() local 578 inData[ i + 0 ] = (float)( ( p[ 0 ] >> 20 ) & 0x3ff ) / (float)1023; in test_image_format_read() 579 inData[ i + 1 ] = (float)( ( p[ 0 ] >> 10 ) & 0x3ff ) / (float)1023; in test_image_format_read() 580 inData[ i + 2 ] = (float)( p[ 0 ] & 0x3ff ) / (float)1023; in test_image_format_read() 584 convertedInputs.reset( inData ); in test_image_format_read() 593 float *inData = (float *)malloc( w * h * d * samples * sizeof(float) ); in test_image_format_read() local 597 inData[ i ] = (float)((p[i] >> 8) & 0xffffff) / (float)0xfffffe; in test_image_format_read() 600 convertedInputs.reset( inData ); in test_image_format_read() 611 float *inData = (float *)malloc( w * h * d * samples * sizeof(float) ); in test_image_format_read() local 615 inData[ i ] = p[i*2]; in test_image_format_read() [all …]
|
D | test_buffers.cpp | 101 cl_##type *src = (cl_##type *)inData; \ 107 void get_incremented_value( void *inData, void *outData, ExplicitType type ) in get_incremented_value() argument 132 cl_long inData[numElements * 16], outDataCL[numElements * 16], outDataGL[ numElements * 16 ]; in test_buffer_kernel() local 134 cl_long* inData = (cl_long*)_malloca(dataSize); in test_buffer_kernel() local 170 gen_input_data( vecType, vecSize * numElements, d, inData ); in test_buffer_kernel() 179 glBufferData( GL_ARRAY_BUFFER, bufferSize, inData, GL_STATIC_DRAW ); in test_buffer_kernel() 251 char *inP = (char *)inData, *glP = (char *)outDataGL, *clP = (char *)outDataCL; in test_buffer_kernel()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | test_buffers.cpp | 104 cl_##type *src = (cl_##type *)inData; \ 110 void get_incremented_value( void *inData, void *outData, ExplicitType type ) in get_incremented_value() argument 135 cl_long inData[numElements * 16], outDataCL[numElements * 16], outDataGL[ numElements * 16 ]; in test_buffer_kernel() local 137 cl_long* inData = (cl_long*)_malloca(dataSize); in test_buffer_kernel() local 173 gen_input_data( vecType, vecSize * numElements, d, inData ); in test_buffer_kernel() 182 glBufferData( GL_ARRAY_BUFFER, bufferSize, inData, GL_STATIC_DRAW ); in test_buffer_kernel() 252 char *inP = (char *)inData, *glP = (char *)outDataGL, *clP = (char *)outDataCL; in test_buffer_kernel() 298 _freea(inData); in test_buffer_kernel()
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_create_kernels.cpp | 509 cl_int *inData, *outData; in test_repeated_setup_cleanup() local 512 inData = (cl_int*)malloc(sizeof(cl_int)*TEST_SIZE); in test_repeated_setup_cleanup() 515 inData[i] = i; in test_repeated_setup_cleanup() 539 …riteBuffer(local_queue, local_mem_in, CL_TRUE, 0, TEST_SIZE*sizeof(cl_int), inData, 0, NULL, NULL); in test_repeated_setup_cleanup() 562 free(inData); in test_repeated_setup_cleanup() 579 if (outData[j] != inData[j] + 1) { in test_repeated_setup_cleanup() 580 …log_error("Results failed to validate at iteration %d. %d != %d.\n", i, outData[j], inData[j] + 1); in test_repeated_setup_cleanup() 581 free(inData); in test_repeated_setup_cleanup() 588 free(inData); in test_repeated_setup_cleanup()
|