Home
last modified time | relevance | path

Searched refs:inData (Results 1 – 25 of 60) sorted by relevance

123

/external/icu/icu4c/source/common/
Dudataswp.cpp34 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 …]
Dudataswp.h91 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 …]
Duinvchar.cpp298 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 …]
Ducol_swp.cpp35 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 …]
Dutrie_swap.cpp27 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()
330 const void *inData, int32_t length, void *outData, in utrie_swapAnyVersion() argument
[all …]
Ducol_swp.h36 const void *inData, int32_t length);
44 const void *inData, int32_t length, void *outData,
53 const void *inData, int32_t length, void *outData,
Ddictionarydata.cpp162 udict_swap(const UDataSwapper *ds, const void *inData, int32_t length, in udict_swap() argument
172 headerSize = udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in udict_swap()
174 pInfo = (const UDataInfo *)((const char *)inData + 4); in udict_swap()
186 inBytes = (const uint8_t *)inData + headerSize; in udict_swap()
Drbbidata.cpp283 ubrk_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, in ubrk_swap() argument
289 if(ds==NULL || inData==NULL || length<-1 || (length>0 && outData==NULL)) { in ubrk_swap()
298 const UDataInfo *pInfo = (const UDataInfo *)((const char *)inData+4); in ubrk_swap()
318 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, status); in ubrk_swap()
324 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in ubrk_swap()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/
DGzipCompressorInputStream.java200 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/
Dswapimpl.cpp77 const void *inData, int32_t length, void *outData, in upname_swap() argument
80 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap()
88 static_cast<const char *>(inData)+4); in upname_swap()
104 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; in upname_swap()
162 const void *inData, int32_t length, void *outData, in uprops_swap() argument
171 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
177 pInfo=(const UDataInfo *)((const char *)inData+4); in uprops_swap()
205 inData32=(const int32_t *)((const char *)inData+headerSize); in uprops_swap()
310 const void *inData, int32_t length, void *outData, in ucase_swap() argument
324 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucase_swap()
[all …]
Dswapimpl.h42 const void *inData, int32_t length, void *outData,
/external/xz-java/src/org/tukaani/xz/rangecoder/
DRangeDecoderFromStream.java19 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/xz-java/src/org/tukaani/xz/
DBlockInputStream.java21 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()
DXZInputStream.java420 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()
DLZMAInputStream.java296 DataInputStream inData = new DataInputStream(in); in LZMAInputStream() local
299 byte propsByte = inData.readByte(); in LZMAInputStream()
304 dictSize |= inData.readUnsignedByte() << (8 * i); in LZMAInputStream()
312 uncompSize |= (long)inData.readUnsignedByte() << (8 * i); in LZMAInputStream()
DSeekableXZInputStream.java453 DataInputStream inData = new DataInputStream(in); in SeekableXZInputStream() local
459 inData.readFully(buf); in SeekableXZInputStream()
480 inData.readFully(buf); in SeekableXZInputStream()
549 inData.readFully(buf); in SeekableXZInputStream()
/external/mdnsresponder/mDNSShared/
DDebugServices.c83 static OSStatus DebugPrint( DebugLevel inLevel, char *inData, size_t inSize );
89 static void DebugFPrintFPrint( char *inData, size_t inSize );
96 static void DebugiDebugPrint( char *inData, size_t inSize );
102 static void DebugKPrintFPrint( char *inData, size_t inSize );
108 static void DebugMacOSXIOLogPrint( char *inData, size_t inSize );
115 static void DebugMacOSXLogPrint( char *inData, size_t inSize );
121 static void DebugWindowsDebuggerPrint( char *inData, size_t inSize );
128 static void DebugWindowsEventLogPrint( DebugLevel inLevel, char *inData, size_t inSize );
552 static OSStatus DebugPrint( DebugLevel inLevel, char *inData, size_t inSize ) in DebugPrint() argument
593 gDebugCustomOutputFunction( inData, inSize, gDebugCustomOutputContext ); in DebugPrint()
[all …]
/external/curl/lib/
Dmk-ca-bundle.vbs327 Function Base64Encode(inData)
333 For I = 1 To Len(inData) Step 3
337 nGroup = &H10000 * Asc(Mid(inData, I, 1)) + _
338 &H100 * MyASC(Mid(inData, I + 1, 1)) + _
339 MyASC(Mid(inData, I + 2, 1))
357 If (I < Len(inData) - 2) Then
361 Select Case Len(inData) Mod 3
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp76 const void *inData, int32_t length, void *outData,
338 const void *inData, int32_t length, void *outData, in udata_swapPackage() argument
358 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in udata_swapPackage()
364 pInfo=(const UDataInfo *)((const char *)inData+4); in udata_swapPackage()
409 inBytes=(const uint8_t *)inData+headerSize; in udata_swapPackage()
522 if(inData==outData) { in udata_swapPackage()
537 inData==outData ? in udata_swapPackage()
632 if(inData==outData) { in udata_swapPackage()
/external/xz-java/src/org/tukaani/xz/index/
DIndexHash.java87 DataInputStream inData = new DataInputStream(inChecked); in validate() local
89 if (inData.readUnsignedByte() != 0x00) in validate()
95 if (((value >>> (i * 8)) & 0xFF) != inData.readUnsignedByte()) in validate()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DSeekableInMemoryByteChannelTest.java107 ByteBuffer inData = ByteBuffer.wrap(testData); in shouldWriteDataProperly() local
109 int writeCount = c.write(inData); in shouldWriteDataProperly()
121 ByteBuffer inData = ByteBuffer.wrap(testData); in shouldWriteDataProperlyAfterPositionSet() local
125 int writeCount = c.write(inData); in shouldWriteDataProperlyAfterPositionSet()
/external/lzma/C/
DMtCoder.c125 const Byte *inData; in ThreadFunc2() local
140 inData = NULL; in ThreadFunc2()
176 inData = mtc->inData + (size_t)readProcessed; in ThreadFunc2()
242 mtc->inStream ? t->inBuf : inData, size, finished); in ThreadFunc2()
379 p->inData = NULL; in MtCoder_Construct()
DLzma2Enc.c503 const Byte *inData, size_t inDataSize, in Lzma2Enc_EncodeMt1() argument
584 inData + (size_t)unpackTotal, inSizeCur, in Lzma2Enc_EncodeMt1()
720 const Byte *inData, size_t inDataSize, in Lzma2Enc_Encode2() argument
725 if (inStream && inData) in Lzma2Enc_Encode2()
765 p->mtCoder.inData = inData; in Lzma2Enc_Encode2()
800 inStream, inData, inDataSize, in Lzma2Enc_Encode2()
DLzma2DecMt.c642 const Byte *inData; in Lzma2Dec_Decode_ST() local
664 inData = NULL; in Lzma2Dec_Decode_ST()
685 inData = MtDec_Read(&p->mtc, &inLim); in Lzma2Dec_Decode_ST()
687 if (inData) in Lzma2Dec_Decode_ST()
698 inData = p->inBuf; in Lzma2Dec_Decode_ST()
699 p->readRes = ISeqInStream_Read(p->inStream, (void *)inData, &inLim); in Lzma2Dec_Decode_ST()
729 … res = Lzma2Dec_DecodeToDic(dec, dicPos + size, inData + inPos, &inProcessed, finishMode, &status); in Lzma2Dec_Decode_ST()
/external/xz-java/src/org/tukaani/xz/lz/
DLZDecoder.java113 public void copyUncompressed(DataInputStream inData, int len) in copyUncompressed() argument
116 inData.readFully(buf, pos, copySize); in copyUncompressed()

123