Home
last modified time | relevance | path

Searched refs:character (Results 1 – 25 of 1919) sorted by relevance

12345678910>>...77

/third_party/jerryscript/jerry-core/lit/
Dlit-char-helpers.c526 search_in_bidirectional_conversion_tables (ecma_char_t character, /**< code unit */ in search_in_bidirectional_conversion_tables() argument
544 if (start_point > character || character >= start_point + range_length) in search_in_bidirectional_conversion_tables()
549 int char_dist = character - start_point; in search_in_bidirectional_conversion_tables()
553 …fer_p[0] = is_lowercase ? (ecma_char_t) (lit_character_case_ranges[i + 1] + char_dist) : character; in search_in_bidirectional_conversion_tables()
557 …output_buffer_p[0] = is_lowercase ? character : (ecma_char_t) (lit_character_case_ranges[i - 1] + … in search_in_bidirectional_conversion_tables()
572 … if (current_sp <= character && character < current_sp + lit_character_pair_range_lengths[middle]) in search_in_bidirectional_conversion_tables()
574 int char_dist = character - current_sp; in search_in_bidirectional_conversion_tables()
576 if ((character - current_sp) % 2 == 0) in search_in_bidirectional_conversion_tables()
578 output_buffer_p[0] = is_lowercase ? (ecma_char_t) (current_sp + char_dist + 1) : character; in search_in_bidirectional_conversion_tables()
582 output_buffer_p[0] = is_lowercase ? character : (ecma_char_t) (current_sp + char_dist - 1); in search_in_bidirectional_conversion_tables()
[all …]
/third_party/node/deps/npm/node_modules/yargs-parser/node_modules/camelcase/
Dindex.js9 const character = string[i]; constant
11 if (isLastCharLower && /[a-zA-Z]/.test(character) && character.toUpperCase() === character) {
17 …harUpper && isLastLastCharUpper && /[a-zA-Z]/.test(character) && character.toLowerCase() === chara…
23 isLastCharLower = character.toLowerCase() === character && character.toUpperCase() !== character;
25 isLastCharUpper = character.toUpperCase() === character && character.toLowerCase() !== character;
/third_party/python/Doc/library/
Dcurses.ascii.rst13 functions to test membership in various ASCII character classes. The constants
51 | :const:`SO` | Shift-out, begin alternate character set |
53 | :const:`SI` | Shift-in, resume default character set |
101 Checks for an ASCII alphanumeric character; it is equivalent to ``isalpha(c) or
107 Checks for an ASCII alphabetic character; it is equivalent to ``isupper(c) or
113 Checks for a character value that fits in the 7-bit ASCII set.
118 Checks for an ASCII whitespace character; space or horizontal tab.
123 Checks for an ASCII control character (in the range 0x00 to 0x1f or 0x7f).
134 Checks for ASCII any printable character except space.
139 Checks for an ASCII lower-case character.
[all …]
Demail.charset.rst1 :mod:`email.charset`: Representing character sets
16 This module provides a class :class:`Charset` for representing character sets
17 and character set conversions in email messages, as well as a character set
27 Map character sets to their email properties.
30 specific character set. It also provides convenience routines for converting
31 between character sets, given the availability of the applicable codecs. Given
32 a character set, it will do its best to provide information on how to use that
33 character set in an email message in an RFC-compliant way.
35 Certain character sets must be encoded with quoted-printable or base64 when used
36 in email headers or bodies. Certain character sets must be converted outright,
[all …]
Dunicodedata.rst13 single: character
19 defines character properties for all Unicode characters. The data contained in
31 Look up character by name. If a character with the given name is found, return
32 the corresponding character. If not found, :exc:`KeyError` is raised.
40 Returns the name assigned to the character *chr* as a string. If no
47 Returns the decimal value assigned to the character *chr* as integer.
54 Returns the digit value assigned to the character *chr* as integer.
61 Returns the numeric value assigned to the character *chr* as float.
68 Returns the general category assigned to the character *chr* as
74 Returns the bidirectional class assigned to the character *chr* as
[all …]
/third_party/icu/docs/userguide/
Dglossary.md21 **accent** | A modifying mark on a character to indicate a change in vocal tone for pronunciation.…
22 **accent character** | A character that has a diacritic attached to it.
26 **ASCII** | "American Standard Code for Information Interchange." A standard 7-bit character set us…
28 **base character** | A base character is a Unicode character that does not graphically combine with…
36 …n a string. The boundary position is an integer that is the index of the character that follows it.
38character which results from recursively applying the canonical mappings until no characters can b…
39 **canonical equivalent** | Two character sequences are said to be canonical equivalents if their fu…
40 …which IBM® uses to refer to the combination of particular code page(s), character set(s), and othe…
41 **character boundary** | A location between characters.
42 **character properties** | The given properties of a character. These properties include, but are n…
[all …]
Dposix.md48 The ISO C standard provides two basic character types (`char` and `wchar_t`) and
50 arbitrary character and string character sets and encodings, which was necessary
51 when there was no single character set that worked everywhere.
54 cannot assume that any particular character is represented by any particular
58 character and string literals.
70 text processing without knowledge of the character set, its string encoding,
74 for character and string handling; many functions that are provided do not
89 defined, that the data type for a single character code in a large character
92 limited for single-character functions to only part of Unicode, or suffer
98 hard coding of character codes, in addition to providing many standard or
[all …]
/third_party/flutter/skia/src/ports/
DSkFontMgr_ohos.cpp105 const SkString& langTag, SkUnichar character) in find_family_style_character() argument
124 if (face->unicharToGlyph(character) != 0) { in find_family_style_character()
133 const SkString& langTag, SkUnichar character) in find_family_style_character_ohos() argument
135 SkString matchingName = findFromCache(familyName, style, elegant, langTag, character); in find_family_style_character_ohos()
157 if (face->unicharToGlyph(character) != 0) { in find_family_style_character_ohos()
169 SkUnichar character) { in find_family_style_character_hwfont() argument
171 findFromHwFontCache(familyName, style, elegant, langTag, character); in find_family_style_character_hwfont()
194 if (face->unicharToGlyph(character) != 0) { in find_family_style_character_hwfont()
204 const SkString& langTag, SkUnichar character) in findFromCache() argument
224 if (face->unicharToGlyph(character) != 0) { in findFromCache()
[all …]
/third_party/node/deps/npm/node_modules/wrap-ansi/
Dindex.js17 const wordLengths = string => string.split(' ').map(character => stringWidth(character));
27 for (const [index, character] of characters.entries()) {
28 const characterLength = stringWidth(character);
31 rows[rows.length - 1] += character;
33 rows.push(character);
37 if (ESCAPES.has(character)) {
39 } else if (insideEscape && character === 'm') {
159 for (const [index, character] of [...pre].entries()) {
160 ret += character;
162 if (ESCAPES.has(character)) {
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dcharacter_predicate.cc31 bool AcceptRange::operator()(int32_t character) const { in operator ()()
32 return start_ <= character && character <= end_; in operator ()()
44 bool AcceptSet::operator()(int32_t character) const { in operator ()()
45 return characters_->find(character) != characters_->end(); in operator ()()
49 bool AcceptAll::operator()(int32_t character) const { in operator ()()
50 UNREFERENCED_PARAMETER(character); in operator ()()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dcharacter_predicate.cc31 bool AcceptRange::operator()(int32_t character) const { in operator ()()
32 return start_ <= character && character <= end_; in operator ()()
44 bool AcceptSet::operator()(int32_t character) const { in operator ()()
45 return characters_->find(character) != characters_->end(); in operator ()()
49 bool AcceptAll::operator()(int32_t character) const { in operator ()()
50 UNREFERENCED_PARAMETER(character); in operator ()()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DArabicCharacterData.java44 private Record(int character) in Record() argument
46 codePoint = character; in Record()
47 generalCategory = UCharacter.getType(character); in Record()
48 … decompositionType = UCharacter.getIntPropertyValue(character, UProperty.DECOMPOSITION_TYPE); in Record()
55 decomposition = Normalizer.compose(UCharacter.toString(character), true); in Record()
59 decomposition = Normalizer.decompose(UCharacter.toString(character), true); in Record()
78 private void add(int character) in add() argument
80 records[recordIndex++] = new Record(character); in add()
/third_party/rust/crates/codespan/codespan-lsp/src/
Dlib.rs30 let character = line_utf16.count() as u32; in location_to_position() localVariable
33 Ok(LspPosition { line, character }) in location_to_position()
80 fn character_to_line_offset(line: &str, character: u32) -> Result<usize, Error> { in character_to_line_offset()
86 if character_offset == character { in character_to_line_offset()
97 if character_offset == character { in character_to_line_offset()
121 let byte_offset = character_to_line_offset(line_str, position.character)?; in position_to_byte_index()
158 character: 2, in position()
186 character: 3, in unicode_get_byte_index()
196 character: 6, in unicode_get_byte_index()
213 character: 3, in unicode_get_position()
[all …]
/third_party/libxml2/os400/iconv/
DREADME.iconv4 - Supported character sets names are all of the form IBMCCSIDccsid..., where
5 ccsid is a decimal 5-digit integer identifying an IBM coded character set.
6 In addition, character set names have to be given in EBCDIC.
7 Standard character set names like "UTF-8" are NOT recognized.
18 - All IANA character set names are recognized in a coding- and case-insensitive
20 http://www.iana.org/assignments/character-sets/character-sets.xhtml
33 - http://www.iana.org/assignments/character-sets/character-sets.xhtml provides
34 all IANA registered character set names and aliases associated with a
35 MIBenum, that is a unique character set identifier.
40 possible character set name and associating each of them with its
/third_party/typescript/src/services/codefixes/
DfixInvalidJsxCharacters.ts34 function isValidCharacter(character: string): character is keyof typeof htmlEntity {
35 return hasProperty(htmlEntity, character);
39 const character = sourceFile.getText()[start]; constant
41 if (!isValidCharacter(character)) {
45 …const replacement = useHtmlEntity ? htmlEntity[character] : `{${quote(sourceFile, preferences, cha… constant
/third_party/typescript/tests/baselines/reference/
DparserSkippedTokens12.errors.txt1 …ce/parser/ecmascript5/SkippedTokens/parserSkippedTokens12.ts(1,1): error TS1127: Invalid character.
2 …ce/parser/ecmascript5/SkippedTokens/parserSkippedTokens12.ts(1,3): error TS1127: Invalid character.
3 …ce/parser/ecmascript5/SkippedTokens/parserSkippedTokens12.ts(1,5): error TS1127: Invalid character.
9 !!! error TS1127: Invalid character.
11 !!! error TS1127: Invalid character.
13 !!! error TS1127: Invalid character.
DparserSkippedTokens11.errors.txt1 …ce/parser/ecmascript5/SkippedTokens/parserSkippedTokens11.ts(1,3): error TS1127: Invalid character.
2 …ce/parser/ecmascript5/SkippedTokens/parserSkippedTokens11.ts(1,5): error TS1127: Invalid character.
3 …ce/parser/ecmascript5/SkippedTokens/parserSkippedTokens11.ts(1,7): error TS1127: Invalid character.
9 !!! error TS1127: Invalid character.
11 !!! error TS1127: Invalid character.
13 !!! error TS1127: Invalid character.
/third_party/rust/crates/nom/doc/
Dchoosing_a_combinator.md13 …://docs.rs/nom/latest/nom/character/complete/fn.char.html) | `char('a')` | `"abc"` | `Ok(("bc", '…
16 | [one_of](https://docs.rs/nom/latest/nom/character/complete/fn.one_of.html) | `one_of("abc")` | `…
17 | [none_of](https://docs.rs/nom/latest/nom/character/complete/fn.none_of.html) | `none_of("abc")` |…
21 …rovided function returns true. `take_while1` does the same, but must return at least one character|
22 … returns true. `take_till1` does the same, but must return at least one character. This is the rev…
23 …til the provided tag is found. `take_until1` does the same, but must return at least one character|
120 - [`is_alphabetic`](https://docs.rs/nom/latest/nom/character/fn.is_alphabetic.html): Tests if byte …
121 - [`is_alphanumeric`](https://docs.rs/nom/latest/nom/character/fn.is_alphanumeric.html): Tests if b…
122 - [`is_digit`](https://docs.rs/nom/latest/nom/character/fn.is_digit.html): Tests if byte is ASCII d…
123 - [`is_hex_digit`](https://docs.rs/nom/latest/nom/character/fn.is_hex_digit.html): Tests if byte is…
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat0.java21 public int glyphId(int character) { in glyphId() argument
22 if (character < 0 || character > 255) { in glyphId()
25 return this.data.readUByte(character + Offset.format0GlyphIdArray.offset); in glyphId()
39 int character = 0; field in CMapFormat0.CharacterIterator
47 if (character <= MAX_CHARACTER) { in hasNext()
58 return this.character++; in next()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat0.java21 public int glyphId(int character) { in glyphId() argument
22 if (character < 0 || character > 255) { in glyphId()
25 return this.data.readUByte(character + Offset.format0GlyphIdArray.offset); in glyphId()
39 int character = 0; field in CMapFormat0.CharacterIterator
47 if (character <= MAX_CHARACTER) { in hasNext()
58 return this.character++; in next()
DCMapFormat10.java27 public int glyphId(int character) { in glyphId() argument
28 if (character < startCharCode || character >= (startCharCode + numChars)) { in glyphId()
31 return this.readFontData().readUShort(character - startCharCode); in glyphId()
45 private int character = startCharCode; field in CMapFormat10.CharacterIterator
53 if (character < startCharCode + numChars) { in hasNext()
64 return this.character++; in next()
/third_party/icu/docs/userguide/strings/
Dcharacteriterator.md29 1. Move forward or backward one Unicode character at a time
35 4. Return a character or the index to a character
64 iterate a UChar string using a character converter with the [ucnv_getNextUChar()
94 limit position is one character greater than the position of the last UChar
95 character that is used.
100 Forward Iteration. Forward Iteration is an access method that reads a character
102 behind the character it read and returns the character read. ICU can use
104 Iteration. These calls are the only character access methods provided by the
111 the current character is skipped, and then the following character is read and
113 the width of each character is determined twice; once to read it and once to
[all …]
/third_party/icu/docs/userguide/transforms/
Dcasemappings.md36 case. Title case is used to capitalize the first character of a word such as the
62 character map.
64 A character is considered to have a lowercase, uppercase, or title case
66 character in the [Unicode Character Database](http://www.unicode.org/ucd/) (UnicodeData.txt).
67 If a character has no mapping equivalent, the result is the character itself.
77 English, the character Latin small letter 'i' in Turkish has an equivalent Latin
80 Similar to the simple case mapping API, a character is considered to have a
82 specified for the character in the Unicode Character database (UnicodeData.txt).
83 In the case where a character has no mapping equivalent, the result is the
84 character itself.
[all …]
/third_party/PyYAML/lib/yaml/
Dreader.py26 def __init__(self, name, position, character, encoding, reason): argument
28 self.character = character
34 if isinstance(self.character, bytes):
37 % (self.encoding, ord(self.character), self.reason,
42 % (self.character, self.reason,
141 character = match.group()
143 raise ReaderError(self.name, position, ord(character),
159 character = self.raw_buffer[exc.start]
164 raise ReaderError(self.name, position, character,
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_font.c3131 SDL_Surface *character; in SDLTest_DrawCharacter() local
3161 character = SDL_CreateRGBSurface(SDL_SWSURFACE, in SDLTest_DrawCharacter()
3164 if (character == NULL) { in SDLTest_DrawCharacter()
3169 linepos = (Uint8 *)character->pixels; in SDLTest_DrawCharacter()
3170 pitch = character->pitch; in SDLTest_DrawCharacter()
3195 SDLTest_CharTextureCache[ci] = SDL_CreateTextureFromSurface(renderer, character); in SDLTest_DrawCharacter()
3196 SDL_FreeSurface(character); in SDLTest_DrawCharacter()

12345678910>>...77