Home
last modified time | relevance | path

Searched refs:bytesLength (Results 1 – 12 of 12) sorted by relevance

/external/webkit/WebCore/platform/cf/
DKURLCFNet.cpp43 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/WebCore/platform/mac/
DKURLMac.mm40 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/chromium/third_party/icu/source/tools/toolutil/
Dxmlparser.cpp170 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()
Ducm.c906 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()
Ducm.h75 int32_t bytesCapacity, bytesLength; member
/external/icu4c/tools/toolutil/
Dxmlparser.cpp170 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()
Ducm.c906 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()
Ducm.h75 int32_t bytesCapacity, bytesLength; member
/external/chromium/third_party/icu/source/test/intltest/
Dconvtest.cpp114 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestToUnicode()
230 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode); in TestFromUnicode()
236 } else if(offsetsLength!=cc.bytesLength) { in TestFromUnicode()
238 i, cc.bytesLength, offsetsLength); in TestFromUnicode()
761 bytesLimit=source+cc.bytesLength; in stepToUnicode()
1036 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase()
1052 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase()
1116 s=printBytes(cc.bytes, cc.bytesLength, bytesString); in checkToUnicode()
1139 bytesString, cc.bytesLength, in checkToUnicode()
1544 if(cc.bytesLength!=resultLength) { in checkFromUnicode()
[all …]
Dconvtest.h39 int32_t bytesLength; member
/external/icu4c/test/intltest/
Dconvtest.cpp129 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()
792 bytesLimit=source+cc.bytesLength; in stepToUnicode()
1064 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase()
1080 (const char *)cc.bytes, cc.bytesLength, in ToUnicodeCase()
1144 s=printBytes(cc.bytes, cc.bytesLength, bytesString); in checkToUnicode()
1167 bytesString, cc.bytesLength, in checkToUnicode()
1572 if(cc.bytesLength!=resultLength) { in checkFromUnicode()
[all …]
Dconvtest.h39 int32_t bytesLength; member