Searched refs:bytesLength (Results 1 – 9 of 9) sorted by relevance
/external/icu4c/common/ |
D | bytestriebuilder.cpp | 128 bytes(NULL), bytesCapacity(0), bytesLength(0) { in BytesTrieBuilder() 149 if(bytesLength>0) { in add() 193 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build() 209 result.set(bytes+(bytesCapacity-bytesLength), bytesLength); in buildStringPiece() 219 if(bytes!=NULL && bytesLength>0) { in buildBytes() 223 if(bytesLength==0) { in buildBytes() 247 bytesLength=0; in buildBytes() 272 bytesLength=0; in clear() 388 uprv_memcpy(newBytes+(newCapacity-bytesLength), in ensureCapacity() 389 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity() [all …]
|
/external/webkit/Source/WebCore/platform/cf/ |
D | KURLCFNet.cpp | 43 CFIndex bytesLength = CFURLGetBytes(url, 0, 0); in KURL() local 44 … Vector<char, 512> buffer(bytesLength + 6); // 5 for "file:", 1 for null character to end C string in KURL() 46 CFURLGetBytes(url, reinterpret_cast<UInt8*>(bytes), bytesLength); in KURL() 47 bytes[bytesLength] = '\0'; in KURL()
|
/external/webkit/Source/WebCore/platform/mac/ |
D | KURLMac.mm | 40 CFIndex bytesLength = CFURLGetBytes(reinterpret_cast<CFURLRef>(url), 0, 0); 41 … Vector<char, 512> buffer(bytesLength + 6); // 5 for "file:", 1 for null character to end C string 43 CFURLGetBytes(reinterpret_cast<CFURLRef>(url), reinterpret_cast<UInt8*>(bytes), bytesLength); 44 bytes[bytesLength] = '\0';
|
/external/icu4c/tools/toolutil/ |
D | xmlparser.cpp | 170 int32_t fileLength, bytesLength, length, capacity; in parseFile() local 183 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 184 if(bytesLength<(int32_t)sizeof(bytes)) { in parseFile() 186 fileLength=bytesLength; in parseFile() 198 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); in parseFile() 210 buffer=src.getBuffer(bytesLength); in parseFile() 221 &pb, bytes+bytesLength, in parseFile() 289 &pb, bytes+bytesLength, in parseFile() 309 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); in parseFile() 310 if(bytesLength==0) { in parseFile()
|
D | ucm.c | 906 table->bytesLength=table->codePointsLength=0; in ucm_resetTable() 975 idx=table->bytesLength; in ucm_addMapping() 976 table->bytesLength+=m->bLen; in ucm_addMapping() 977 if(table->bytesLength>table->bytesCapacity) { in ucm_addMapping()
|
D | ucm.h | 75 int32_t bytesCapacity, bytesLength; member
|
/external/icu4c/test/intltest/ |
D | convtest.cpp | 129 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestToUnicode() 254 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestFromUnicode() 260 } else if(offsetsLength!=cc.bytesLength) { in TestFromUnicode() 262 i, cc.bytesLength, offsetsLength); in TestFromUnicode() 794 bytesLimit=source+cc.bytesLength; in stepToUnicode() 1066 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase() 1082 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase() 1146 s=printBytes(cc.bytes, cc.bytesLength, bytesString); in checkToUnicode() 1169 bytesString, cc.bytesLength, in checkToUnicode() 1574 if(cc.bytesLength!=resultLength) { in checkFromUnicode() [all …]
|
D | convtest.h | 39 int32_t bytesLength; member
|
/external/icu4c/common/unicode/ |
D | bytestriebuilder.h | 165 int32_t bytesLength; variable
|