Home
last modified time | relevance | path

Searched refs:stringOffset (Results 1 – 25 of 29) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
D_n_a_m_e.py24 format, n, stringOffset = struct.unpack(">HHH", data[:6])
26 if stringOffset != expectedStringOffset:
28 …me' table stringOffset incorrect. Expected: %s; Actual: %s" % (expectedStringOffset, stringOffset))
29 stringData = data[stringOffset:]
55 stringOffset = 6 + n * sstruct.calcsize(nameRecordFormat)
56 data = struct.pack(">HHH", format, n, stringOffset)
DM_E_T_A_.py128 stringOffset = stringRecsOffset
132 stringRec.offset = stringOffset
138 stringOffset = stringOffset + stringRec.stringLen
143 if ((self.metaFlags & 1) == 1) and (stringOffset < 65536):
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DStringTrieBuilder.java354 stringOffset=sOffset; in LinearMatchNode()
372 … for(int i=stringOffset, j=o.stringOffset, limit=stringOffset+length; i<limit; ++i, ++j) { in equals()
389 int limit=stringOffset+length; in add()
390 for(int i=stringOffset; i<limit; ++i, ++start) { in add()
393 int prefixLength=i-stringOffset; in add()
407 if(i==stringOffset) { in add()
415 ++stringOffset; in add()
428 int prefixLength=i-stringOffset; in add()
452 int nextOffset=stringOffset+length-maxLinearMatchLength; in register()
482 builder.write(stringOffset, length); in write()
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-name-table.hh97 memcpy (buffer, (char *) this + stringOffset + match->offset, length); in get_name()
106 char *string_pool = (char *) this + stringOffset; in sanitize_records()
124 Offset<> stringOffset; /* Offset to start of string storage (from start of table). */ member
/external/skia/src/sfnt/
DSkOTUtils.cpp120 …unsigned short stringOffset = sizeof(SkOTTableName) + (namesCount * sizeof(SkOTTableName::Record)); in RenameFont() local
123 nameTable->stringOffset = SkEndian_SwapBE16(stringOffset); in RenameFont()
135 …SK_OT_USHORT* nameString = reinterpret_cast<SK_OT_USHORT*>(data + originalDataSize + stringOffset); in RenameFont()
DSkOTTable_name.cpp457 const uint16_t stringTableOffset = SkEndian_SwapBE16(fName.stringOffset); in next()
DSkOTTable_name.h34 SK_OT_USHORT stringOffset; member
/external/icu/icu4c/source/common/
Ducharstriebuilder.cpp41 int32_t length=strings[stringOffset]; in getString()
42 return strings.tempSubString(stringOffset+1, length); in getString()
45 return strings[stringOffset]; in getStringLength()
49 return strings[stringOffset+1+index]; in charAt()
59 int32_t stringOffset; member in UCharsTrieElement
75 stringOffset=strings.length(); in setTo()
Dbytestriebuilder.cpp41 int32_t offset=stringOffset; in getString()
53 int32_t offset=stringOffset; in getStringLength()
70 int32_t offset=stringOffset; in data()
84 int32_t stringOffset; member in BytesTrieElement
106 stringOffset=offset; in setTo()
/external/google-breakpad/src/common/solaris/
Ddump_symbols.cc159 uint64_t stringOffset = 0; variable
165 stringOffset += cur_list->n_strx; in RecalculateOffset()
167 char *temp = stabstr + stringOffset; in RecalculateOffset()
169 ++stringOffset; in RecalculateOffset()
173 ++stringOffset; in RecalculateOffset()
315 func_info.name = stabstr + cur_list->n_strx + stringOffset; in LoadFuncSymbols()
416 source_file_info.name = stabstr + cur_list->n_strx + stringOffset; in LoadAllSymbols()
/external/pdfium/third_party/freetype/src/sfnt/
Dsfdriver.c272 if ( FT_STREAM_SEEK( name->stringOffset ) || in sfnt_get_ps_name()
277 name->stringOffset = 0; in sfnt_get_ps_name()
312 if ( FT_STREAM_SEEK( name->stringOffset ) || in sfnt_get_ps_name()
315 name->stringOffset = 0; in sfnt_get_ps_name()
Dttload.c776 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
835 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
836 if ( entry->stringOffset < storage_start || in tt_face_load_name()
837 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
840 entry->stringOffset = 0; in tt_face_load_name()
/external/freetype/src/sfnt/
Dsfdriver.c272 if ( FT_STREAM_SEEK( name->stringOffset ) || in sfnt_get_ps_name()
277 name->stringOffset = 0; in sfnt_get_ps_name()
312 if ( FT_STREAM_SEEK( name->stringOffset ) || in sfnt_get_ps_name()
315 name->stringOffset = 0; in sfnt_get_ps_name()
Dttload.c813 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
872 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
873 if ( entry->stringOffset < storage_start || in tt_face_load_name()
874 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
877 entry->stringOffset = 0; in tt_face_load_name()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java232 int stringOffset = getStringIdItemOffset(stringIndex);
233 int stringDataOffset = readSmallUint(stringOffset);
/external/pdfium/third_party/freetype/src/base/
Dftsnames.c68 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_Name()
/external/freetype/src/base/
Dftsnames.c68 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_Name()
/external/icu/icu4c/source/test/perf/leperf/
DPortableFontInstance.cpp295 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getNameString()
328 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getUnicodeNameString()
Dsfnt.h440 le_uint16 stringOffset; member
/external/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp291 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getNameString()
324 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getUnicodeNameString()
Dsfnt.h440 le_uint16 stringOffset; member
/external/icu/icu4c/source/test/intltest/
Dssearch.cpp334 OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset = 0);
359 OrderList::OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset) in OrderList() argument
383 ucol_setOffset(elems, stringOffset, &status); in OrderList()
/external/pdfium/third_party/freetype/include/internal/
Dtttypes.h277 FT_ULong stringOffset; member
/external/freetype/include/internal/
Dtttypes.h277 FT_ULong stringOffset; member
/external/icu/icu4c/source/test/cintltst/
Dcitertst.c782 uint32_t stringOffset = 0; in TestMaxExpansion() local
854 U16_APPEND(supplementary, stringOffset, 2, unassigned, isError); in TestMaxExpansion()

12