Home
last modified time | relevance | path

Searched refs:stringOffset (Results 1 – 25 of 46) 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/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/chromium_org/third_party/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()
/external/chromium_org/third_party/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()
/external/chromium_org/third_party/icu/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/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/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.c796 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
855 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
856 if ( entry->stringOffset < storage_start || in tt_face_load_name()
857 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
860 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.c770 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
829 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
830 if ( entry->stringOffset < storage_start || in tt_face_load_name()
831 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
834 entry->stringOffset = 0; in tt_face_load_name()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
DOpenTypeUtilities.cpp139 BigEndianUShort stringOffset; member
178 name->stringOffset = offsetof(nameTable, nameRecords) + nameRecordCount * sizeof(nameRecord); in renameFont()
195 … reinterpret_cast<BigEndianUShort*>(data + originalDataSize + name->stringOffset)[i] = fontName[i]; in renameFont()
/external/chromium_org/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.c773 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
832 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
833 if ( entry->stringOffset < storage_start || in tt_face_load_name()
834 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
837 entry->stringOffset = 0; in tt_face_load_name()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftsnames.c68 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_Name()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java212 int stringOffset = getStringIdItemOffset(stringIndex);
213 int stringDataOffset = readSmallUint(stringOffset);
/external/chromium_org/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/chromium_org/third_party/icu/source/test/letest/
DPortableFontInstance.cpp295 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getNameString()
328 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getUnicodeNameString()
/external/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp295 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getNameString()
328 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getUnicodeNameString()
/external/chromium_org/third_party/icu/source/test/perf/leperf/
DPortableFontInstance.cpp295 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getNameString()
328 realThis->fNameStringOffset = SWAPW(realThis->fNAMETable->stringOffset); in getUnicodeNameString()
/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()

12