Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-name-table.hh189 if (unlikely (!c->check_assign (this->stringOffset, c->length ()))) return_trace (false); in serialize()
192 const void *dst_string_pool = &(this + this->stringOffset); in serialize()
200 assert (this->stringOffset == c->length ()); in serialize()
217 name_prime->serialize (c->serializer, it, hb_addressof (this + stringOffset)); in subset()
224 const void *string_pool = (this+stringOffset).arrayZ; in sanitize_records()
234 c->check_range (this, stringOffset) && in sanitize()
243 assert (this->table.get_length () >= this->table->stringOffset); in init()
244 this->pool = (const char *) (const void *) (this->table+this->table->stringOffset); in init()
245 this->pool_len = this->table.get_length () - this->table->stringOffset; in init()
326 stringOffset; /* Offset to start of string storage (from start of table). */ member
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DStringTrieBuilder.java355 stringOffset=sOffset; in LinearMatchNode()
373 … for(int i=stringOffset, j=o.stringOffset, limit=stringOffset+length; i<limit; ++i, ++j) { in equals()
390 int limit=stringOffset+length; in add()
391 for(int i=stringOffset; i<limit; ++i, ++start) { in add()
394 int prefixLength=i-stringOffset; in add()
408 if(i==stringOffset) { in add()
416 ++stringOffset; in add()
429 int prefixLength=i-stringOffset; in add()
453 int nextOffset=stringOffset+length-maxLinearMatchLength; in register()
483 builder.write(stringOffset, length); in write()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DStringTrieBuilder.java356 stringOffset=sOffset; in LinearMatchNode()
374 … for(int i=stringOffset, j=o.stringOffset, limit=stringOffset+length; i<limit; ++i, ++j) { in equals()
391 int limit=stringOffset+length; in add()
392 for(int i=stringOffset; i<limit; ++i, ++start) { in add()
395 int prefixLength=i-stringOffset; in add()
409 if(i==stringOffset) { in add()
417 ++stringOffset; in add()
430 int prefixLength=i-stringOffset; in add()
454 int nextOffset=stringOffset+length-maxLinearMatchLength; in register()
484 builder.write(stringOffset, length); in write()
[all …]
/third_party/harfbuzz/src/
Dhb-ot-name-table.hh236 this->stringOffset = c->length (); in serialize()
255 name_prime->serialize (c->serializer, it, hb_addressof (this + stringOffset)); in subset()
262 const void *string_pool = (this+stringOffset).arrayZ; in sanitize_records()
272 c->check_range (this, stringOffset) && in sanitize()
281 assert (this->table.get_length () >= this->table->stringOffset); in init()
282 this->pool = (const char *) (const void *) (this->table+this->table->stringOffset); in init()
283 this->pool_len = this->table.get_length () - this->table->stringOffset; in init()
362 stringOffset; /* Offset to start of string storage (from start of table). */ member
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-name-table.hh236 this->stringOffset = c->length (); in serialize()
259 name_prime->serialize (c->serializer, it, hb_addressof (this + stringOffset)); in subset()
266 const void *string_pool = (this+stringOffset).arrayZ; in sanitize_records()
276 c->check_range (this, stringOffset) && in sanitize()
285 assert (this->table.get_length () >= this->table->stringOffset); in init()
286 this->pool = (const char *) (const void *) (this->table+this->table->stringOffset); in init()
287 this->pool_len = this->table.get_length () - this->table->stringOffset; in init()
366 stringOffset; /* Offset to start of string storage (from start of table). */ member
/third_party/icu/icu4c/source/common/
Ducharstriebuilder.cpp43 int32_t length=strings[stringOffset]; in getString()
44 return strings.tempSubString(stringOffset+1, length); in getString()
47 return strings[stringOffset]; in getStringLength()
51 return strings[stringOffset+1+index]; in charAt()
61 int32_t stringOffset; member in UCharsTrieElement
77 stringOffset=strings.length(); in setTo()
Dbytestriebuilder.cpp43 int32_t offset=stringOffset; in getString()
55 int32_t offset=stringOffset; in getStringLength()
72 int32_t offset=stringOffset; in data()
86 int32_t stringOffset; member in BytesTrieElement
108 stringOffset=offset; in setTo()
/third_party/node/deps/icu-small/source/common/
Ducharstriebuilder.cpp43 int32_t length=strings[stringOffset]; in getString()
44 return strings.tempSubString(stringOffset+1, length); in getString()
47 return strings[stringOffset]; in getStringLength()
51 return strings[stringOffset+1+index]; in charAt()
61 int32_t stringOffset; member in UCharsTrieElement
77 stringOffset=strings.length(); in setTo()
Dbytestriebuilder.cpp43 int32_t offset=stringOffset; in getString()
55 int32_t offset=stringOffset; in getStringLength()
72 int32_t offset=stringOffset; in data()
86 int32_t stringOffset; member in BytesTrieElement
108 stringOffset=offset; in setTo()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducharstriebuilder.cpp43 int32_t length=strings[stringOffset]; in getString()
44 return strings.tempSubString(stringOffset+1, length); in getString()
47 return strings[stringOffset]; in getStringLength()
51 return strings[stringOffset+1+index]; in charAt()
61 int32_t stringOffset; member in UCharsTrieElement
77 stringOffset=strings.length(); in setTo()
Dbytestriebuilder.cpp43 int32_t offset=stringOffset; in getString()
55 int32_t offset=stringOffset; in getStringLength()
72 int32_t offset=stringOffset; in data()
86 int32_t stringOffset; member in BytesTrieElement
108 stringOffset=offset; in setTo()
/third_party/skia/third_party/externals/icu/source/common/
Ducharstriebuilder.cpp43 int32_t length=strings[stringOffset]; in getString()
44 return strings.tempSubString(stringOffset+1, length); in getString()
47 return strings[stringOffset]; in getStringLength()
51 return strings[stringOffset+1+index]; in charAt()
61 int32_t stringOffset; member in UCharsTrieElement
77 stringOffset=strings.length(); in setTo()
Dbytestriebuilder.cpp43 int32_t offset=stringOffset; in getString()
55 int32_t offset=stringOffset; in getStringLength()
72 int32_t offset=stringOffset; in data()
86 int32_t stringOffset; member in BytesTrieElement
108 stringOffset=offset; in setTo()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DNameTable.java58 stringOffset(4), enumConstant
563 private int stringOffset() { in stringOffset() method in NameTable
564 return this.data.readUShort(Offset.stringOffset.offset); in stringOffset()
641 this.offsetForNameRecord(index)) + this.stringOffset(); in nameOffset()
1421 newData.writeUShort(NameTable.Offset.stringOffset.offset, stringTableStartOffset); in subSerialize()
1423 int stringOffset = 0; in subSerialize() local
1437 nameRecordOffset + NameTable.Offset.nameRecordStringOffset.offset, stringOffset); in subSerialize()
1442 stringOffset += newData.writeBytes( in subSerialize()
1443 stringOffset + stringTableStartOffset, entry.getValue().nameAsBytes()); in subSerialize()
1446 return stringOffset + stringTableStartOffset; in subSerialize()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DNameTable.java58 stringOffset(4), enumConstant
563 private int stringOffset() { in stringOffset() method in NameTable
564 return this.data.readUShort(Offset.stringOffset.offset); in stringOffset()
641 this.offsetForNameRecord(index)) + this.stringOffset(); in nameOffset()
1421 newData.writeUShort(NameTable.Offset.stringOffset.offset, stringTableStartOffset); in subSerialize()
1423 int stringOffset = 0; in subSerialize() local
1437 nameRecordOffset + NameTable.Offset.nameRecordStringOffset.offset, stringOffset); in subSerialize()
1442 stringOffset += newData.writeBytes( in subSerialize()
1443 stringOffset + stringTableStartOffset, entry.getValue().nameAsBytes()); in subSerialize()
1446 return stringOffset + stringTableStartOffset; in subSerialize()
/third_party/flutter/skia/src/sfnt/
DSkOTUtils.cpp131 …unsigned short stringOffset = sizeof(SkOTTableName) + (encodings.size() * names.size() * sizeof(Sk… in RenameFont() local
134 nameTable->stringOffset = SkEndian_SwapBE16(stringOffset); in RenameFont()
149 …SK_OT_USHORT* nameString = reinterpret_cast<SK_OT_USHORT*>(data + originalDataSize + stringOffset); in RenameFont()
/third_party/skia/src/sfnt/
DSkOTUtils.cpp133 …unsigned short stringOffset = sizeof(SkOTTableName) + (encodings.size() * names.size() * sizeof(Sk… in RenameFont() local
136 nameTable->stringOffset = SkEndian_SwapBE16(stringOffset); in RenameFont()
151 …SK_OT_USHORT* nameString = reinterpret_cast<SK_OT_USHORT*>(data + originalDataSize + stringOffset); in RenameFont()
/third_party/freetype/src/sfnt/
Dttload.c863 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
874 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
934 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
935 if ( entry->stringOffset < storage_start || in tt_face_load_name()
936 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
970 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
971 if ( entry->stringOffset < storage_start || in tt_face_load_name()
972 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttload.c866 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
877 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
937 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
938 if ( entry->stringOffset < storage_start || in tt_face_load_name()
939 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
980 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
981 if ( entry->stringOffset < storage_start || in tt_face_load_name()
982 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
Dsfdriver.c507 if ( FT_STREAM_SEEK( entry->stringOffset ) || in get_win_string()
539 entry->stringOffset = 0; in get_win_string()
566 if ( FT_STREAM_SEEK( entry->stringOffset ) || in get_apple_string()
597 entry->stringOffset = 0; in get_apple_string()
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttload.c856 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
867 FT_FRAME_USHORT( stringOffset ), in tt_face_load_name()
927 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
928 if ( entry->stringOffset < storage_start || in tt_face_load_name()
929 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
963 entry->stringOffset += table_pos + table->storageOffset; in tt_face_load_name()
964 if ( entry->stringOffset < storage_start || in tt_face_load_name()
965 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
/third_party/skia/third_party/externals/freetype/src/base/
Dftsnames.c69 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_Name()
125 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_LangTag()
/third_party/freetype/src/base/
Dftsnames.c69 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_Name()
125 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_LangTag()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftsnames.c70 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_Name()
126 FT_STREAM_SEEK( entry->stringOffset ) || in FT_Get_Sfnt_LangTag()
/third_party/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs709 var stringOffset = CreateString(s); in CreateSharedString()
710 _sharedStringMap.Add(s, stringOffset); in CreateSharedString()
711 return stringOffset; in CreateSharedString()

123