/third_party/node/deps/v8/src/inspector/ |
H A D | string-16.cc | 30 int64_t charactersToInteger(const UChar* characters, size_t length, in charactersToInteger() argument 35 if (!isASCII(characters[i])) { in charactersToInteger() 39 buffer.push_back(static_cast<char>(characters[i])); in charactersToInteger() 51 String16::String16(const UChar* characters, size_t size) in String16() argument 52 : m_impl(characters, size) {} in String16() 54 String16::String16(const UChar* characters) : m_impl(characters) {} in String16() argument 56 String16::String16(const char* characters) in String16() argument 57 : String16(characters, std::strlen(characters)) {} in String16() 59 String16(const char* characters, size_t size) String16() argument 154 append(const UChar* characters, size_t length) append() argument 158 append(const char* characters, size_t length) append() argument [all...] |
H A D | v8-string-conversions.cc | 347 // Allocate a buffer big enough to hold all the characters in UTF16ToUTF8() 351 // characters, and resize if necessary (i.e. if the buffer contains in UTF16ToUTF8() 352 // non-ascii characters). (Alternatively, scan the buffer first for in UTF16ToUTF8() 353 // ascii characters, so we know this will be sufficient). in UTF16ToUTF8() 360 const UChar* characters = stringStart; in UTF16ToUTF8() local 361 const UChar* characters_end = characters + length; in UTF16ToUTF8() 364 while (characters < characters_end) { in UTF16ToUTF8() 367 &characters, characters_end, &buffer, buffer_end, /* strict= */ true); in UTF16ToUTF8() 373 DCHECK_LE(0xD800, *characters); in UTF16ToUTF8() 374 DCHECK_LE(*characters, in UTF16ToUTF8() [all...] |
H A D | string-16.h | 29 String16(const UChar* characters, size_t size); 30 V8_EXPORT String16(const UChar* characters); 31 V8_EXPORT String16(const char* characters); 32 String16(const char* characters, size_t size);
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-ot-name.c | 42 hb_codepoint_t characters[100]; in test_ot_layout_feature_get_name_ids_and_characters() local 65 0, &char_count, characters); in test_ot_layout_feature_get_name_ids_and_characters() 69 g_assert_cmpint (characters[0], ==, 10); in test_ot_layout_feature_get_name_ids_and_characters() 70 g_assert_cmpint (characters[1], ==, 24030); in test_ot_layout_feature_get_name_ids_and_characters() 73 characters[1] = 1234; in test_ot_layout_feature_get_name_ids_and_characters() 75 1, &char_count, characters); in test_ot_layout_feature_get_name_ids_and_characters() 78 g_assert_cmpint (characters[0], ==, 24030); in test_ot_layout_feature_get_name_ids_and_characters() 79 g_assert_cmpint (characters[1], ==, 1234); in test_ot_layout_feature_get_name_ids_and_characters()
|
/third_party/curl/docs/examples/ |
H A D | xmlstream.c | 53 struct MemoryStruct characters; member 64 free(state->characters.memory); in startElement() 65 state->characters.memory = NULL; in startElement() 66 state->characters.size = 0; in startElement() 72 struct MemoryStruct *mem = &state->characters; in characterDataHandler() 93 printf("%5lu %10lu %s\n", state->depth, state->characters.size, name); in endElement() 162 free(state.characters.memory); in main()
|
/third_party/icu/icu4c/source/common/ |
H A D | dictionarydata.h | 106 UCharsDictionaryMatcher(const UChar *c, UDataMemory *f) : characters(c), file(f) { } in UCharsDictionaryMatcher() 113 const UChar *characters; member in UCharsDictionaryMatcher 124 : characters(c), transformConstant(t), file(f) { } in BytesDictionaryMatcher() 133 const char *characters; member in BytesDictionaryMatcher
|
H A D | brkeng.cpp | 216 // TODO: Have to get some characters with script=common handled in loadEngineFor() 280 const char *characters = (const char *)(data + offset); in loadDictionaryMatcherFor() local 281 m = new BytesDictionaryMatcher(characters, transform, file); in loadDictionaryMatcherFor() 284 const UChar *characters = (const UChar *)(data + offset); in loadDictionaryMatcherFor() local 285 m = new UCharsDictionaryMatcher(characters, file); in loadDictionaryMatcherFor()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | dictionarydata.h | 106 UCharsDictionaryMatcher(const char16_t *c, UDataMemory *f) : characters(c), file(f) { } in UCharsDictionaryMatcher() 113 const char16_t *characters; member in UCharsDictionaryMatcher 124 : characters(c), transformConstant(t), file(f) { } in BytesDictionaryMatcher() 133 const char *characters; member in BytesDictionaryMatcher
|
H A D | brkeng.cpp | 217 // TODO: Have to get some characters with script=common handled in loadEngineFor() 281 const char *characters = (const char *)(data + offset); in loadDictionaryMatcherFor() local 282 m = new BytesDictionaryMatcher(characters, transform, file); in loadDictionaryMatcherFor() 285 const char16_t *characters = (const char16_t *)(data + offset); in loadDictionaryMatcherFor() local 286 m = new UCharsDictionaryMatcher(characters, file); in loadDictionaryMatcherFor() 337 // Find the span of characters included in the set. in findBreaks()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | dictionarydata.h | 106 UCharsDictionaryMatcher(const UChar *c, UDataMemory *f) : characters(c), file(f) { } in UCharsDictionaryMatcher() 113 const UChar *characters; member in UCharsDictionaryMatcher 124 : characters(c), transformConstant(t), file(f) { } in BytesDictionaryMatcher() 133 const char *characters; member in BytesDictionaryMatcher
|
H A D | brkeng.cpp | 196 // TODO: Have to get some characters with script=common handled in loadEngineFor() 260 const char *characters = (const char *)(data + offset); in loadDictionaryMatcherFor() local 261 m = new BytesDictionaryMatcher(characters, transform, file); in loadDictionaryMatcherFor() 264 const UChar *characters = (const UChar *)(data + offset); in loadDictionaryMatcherFor() local 265 m = new UCharsDictionaryMatcher(characters, file); in loadDictionaryMatcherFor()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
H A D | CharsDictionaryMatcher.java | 18 private CharSequence characters; field in CharsDictionaryMatcher 21 characters = chars; in CharsDictionaryMatcher() 27 CharsTrie uct = new CharsTrie(characters, 0); in matches()
|
H A D | BytesDictionaryMatcher.java | 19 private final byte[] characters; field in BytesDictionaryMatcher 23 characters = chars; in BytesDictionaryMatcher() 48 BytesTrie bt = new BytesTrie(characters, 0); in matches()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CharsDictionaryMatcher.java | 18 private CharSequence characters; field in CharsDictionaryMatcher 21 characters = chars; in CharsDictionaryMatcher() 27 CharsTrie uct = new CharsTrie(characters, 0); in matches()
|
H A D | BytesDictionaryMatcher.java | 19 private final byte[] characters; field in BytesDictionaryMatcher 23 characters = chars; in BytesDictionaryMatcher() 48 BytesTrie bt = new BytesTrie(characters, 0); in matches()
|
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-bytecode-generator.cc | 186 int characters, in LoadCurrentCharacterImpl() 188 DCHECK_GE(eats_at_least, characters); in LoadCurrentCharacterImpl() 189 if (eats_at_least > characters && check_bounds) { in LoadCurrentCharacterImpl() 200 if (characters == 4) { in LoadCurrentCharacterImpl() 202 } else if (characters == 2) { in LoadCurrentCharacterImpl() 205 DCHECK_EQ(1, characters); in LoadCurrentCharacterImpl() 209 if (characters == 4) { in LoadCurrentCharacterImpl() 211 } else if (characters == 2) { in LoadCurrentCharacterImpl() 214 DCHECK_EQ(1, characters); in LoadCurrentCharacterImpl() 183 LoadCurrentCharacterImpl(int cp_offset, Label* on_failure, bool check_bounds, int characters, int eats_at_least) LoadCurrentCharacterImpl() argument
|
H A D | regexp-compiler.h | 47 // In a 3-character pattern you can maximally step forwards 3 characters 65 explicit QuickCheckDetails(int characters) in QuickCheckDetails() argument 66 : characters_(characters), mask_(0), value_(0), cannot_match_(false) {} in QuickCheckDetails() 81 int characters() { return characters_; } in characters() function in v8::internal::QuickCheckDetails 82 void set_characters(int characters) { characters_ = characters; } in set_characters() argument 92 // How many characters do we have quick check information from. This is 112 // characters that can come at given distances. For example for the regexp 113 // /.?foo/ we know that there are at least 3 characters ahead of us, and the 114 // sets of characters tha [all...] |
H A D | regexp-macro-assembler.cc | 251 int characters, in LoadCurrentCharacter() 253 // By default, eats_at_least = characters. in LoadCurrentCharacter() 255 eats_at_least = characters; in LoadCurrentCharacter() 258 LoadCurrentCharacterImpl(cp_offset, on_end_of_input, check_bounds, characters, in LoadCurrentCharacter() 263 int cp_offset, Label* on_end_of_input, bool check_bounds, int characters, in LoadCurrentCharacterImpl() 265 // It's possible to preload a small number of characters when each success in LoadCurrentCharacterImpl() 266 // path requires a large number of characters, but not the reverse. in LoadCurrentCharacterImpl() 267 DCHECK_GE(eats_at_least, characters); in LoadCurrentCharacterImpl() 277 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacterImpl() 248 LoadCurrentCharacter(int cp_offset, Label* on_end_of_input, bool check_bounds, int characters, int eats_at_least) LoadCurrentCharacter() argument 262 LoadCurrentCharacterImpl( int cp_offset, Label* on_end_of_input, bool check_bounds, int characters, int eats_at_least) LoadCurrentCharacterImpl() argument
|
H A D | regexp-macro-assembler.h | 137 int characters = 1, int eats_at_least = kUseCharactersValue); 139 bool check_bounds, int characters, 312 bool check_bounds, int characters, 314 // Load a number of characters at the given offset from the 339 // Byte map of one byte characters with a 0xff if the character is a word
|
/third_party/node/deps/npm/node_modules/fastest-levenshtein/ |
H A D | test.js | 37 var characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; 38 var charactersLength = characters.length; 40 result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
H A D | bench.js | 15 var characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; 16 var charactersLength = characters.length; 18 result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
/third_party/gn/src/base/strings/ |
H A D | string_util.cc | 150 // Find the first characters that aren't equal and compare them. If the end in CompareCaseInsensitiveASCIIT() 248 // When the string was all trimmed, report that we stripped off characters in TrimStringT() 250 // stripped no characters, but we still need to clear |output|. in TrimStringT() 393 // Non-whitespace characters are copied straight across. in CollapseWhitespaceT() 419 bool ContainsOnlyChars(std::string_view input, std::string_view characters) { in ContainsOnlyChars() argument 420 return input.find_first_not_of(characters) == std::string_view::npos; in ContainsOnlyChars() 424 std::u16string_view characters) { in ContainsOnlyChars() 425 return input.find_first_not_of(characters) == std::u16string_view::npos; in ContainsOnlyChars() 429 inline bool DoIsStringASCII(const Char* characters, size_t length) { in DoIsStringASCII() argument 431 const Char* end = characters in DoIsStringASCII() 423 ContainsOnlyChars(std::u16string_view input, std::u16string_view characters) ContainsOnlyChars() argument [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/ |
H A D | character_predicate.cc | 36 AcceptSet::AcceptSet(IntegerSet* characters) in AcceptSet() argument 37 : characters_(characters) { in AcceptSet()
|
/third_party/lz4/contrib/gen_manual/ |
H A D | gen_manual.cpp | 43 void trim(string& s, string characters) in trim() argument 45 size_t p = s.find_first_not_of(characters); in trim() 48 p = s.find_last_not_of(characters); in trim()
|
/third_party/python/Lib/test/ |
H A D | test_pulldom.py | 257 h.characters("text") 280 h.characters("text") 318 sax2dom.characters("text") 320 sax2dom.characters("text") 322 sax2dom.characters("text")
|