/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | UVector64.java | 31 public void setElementAt(long elem, int index) { buffer[index] = elem; } in setElementAt() argument 32 public void insertElementAt(long elem, int index) { in insertElementAt() argument 34 System.arraycopy(buffer, index, buffer, index + 1, length - index); in insertElementAt() 35 buffer[index] = elem; in insertElementAt()
|
H A D | UVector32.java | 31 public void setElementAt(int elem, int index) { buffer[index] = elem; } in setElementAt() argument 32 public void insertElementAt(int elem, int index) { in insertElementAt() argument 34 System.arraycopy(buffer, index, buffer, index + 1, length - index); in insertElementAt() 35 buffer[index] = elem; in insertElementAt()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | remtrans.cpp | 59 void RemoveTransliterator::handleTransliterate(Replaceable& text, UTransPosition& index, in handleTransliterate() argument 64 text.handleReplaceBetween(index.start, index.limit, empty); in handleTransliterate() 65 int32_t len = index.limit - index.start; in handleTransliterate() 66 index.contextLimit -= len; in handleTransliterate() 67 index.limit -= len; in handleTransliterate()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | remtrans.cpp | 59 void RemoveTransliterator::handleTransliterate(Replaceable& text, UTransPosition& index, in handleTransliterate() argument 64 text.handleReplaceBetween(index.start, index.limit, empty); in handleTransliterate() 65 int32_t len = index.limit - index.start; in handleTransliterate() 66 index.contextLimit -= len; in handleTransliterate() 67 index.limit -= len; in handleTransliterate()
|
/third_party/skia/third_party/externals/icu/source/samples/translit/answers/ |
H A D | unaccent.cpp | 45 UTransPosition& index, in handleTransliterate() 48 while (index.start < index.limit) { in handleTransliterate() 49 UChar c = text.charAt(index.start); in handleTransliterate() 53 text.handleReplaceBetween(index.start, index.start+1, str); in handleTransliterate() 55 index.start++; in handleTransliterate() 44 handleTransliterate(Replaceable& text, UTransPosition& index, UBool incremental) const handleTransliterate() argument
|
/third_party/skia/third_party/externals/icu/source/samples/translit/ |
H A D | unaccent.cpp | 48 UTransPosition& index, in handleTransliterate() 51 while (index.start < index.limit) { in handleTransliterate() 52 UChar c = text.charAt(index.start); in handleTransliterate() 56 text.handleReplaceBetween(index.start, index.start+1, str); in handleTransliterate() 58 index.start++; in handleTransliterate() 47 handleTransliterate(Replaceable& text, UTransPosition& index, UBool incremental) const handleTransliterate() argument
|
/third_party/python/Modules/ |
H A D | unicodedata_db.h | 354 struct reindex{int start;short count,index;}; member 705 /* index tables for the database records */ 4437 /* index tables for the decomposition data */ 7834 int index; in get_change_3_2_0() local 7835 if (n >= 0x110000) index = 0; in get_change_3_2_0() 7837 index = changes_3_2_0_index[n>>7]; in get_change_3_2_0() 7838 index = changes_3_2_0_data[(index<<7)+(n & 127)]; in get_change_3_2_0() 7840 return change_records_3_2_0+index; in get_change_3_2_0()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | TextureStorage11.h | 51 // This is the image index for the single sampled texture 54 // This is the image index for the multisampled texture 92 const gl::ImageIndex &index, 98 const gl::ImageIndex &index, 112 const gl::ImageIndex &index, 131 const gl::ImageIndex &index, 135 virtual void associateImage(Image11 *image, const gl::ImageIndex &index) = 0; 136 virtual void disassociateImage(const gl::ImageIndex &index, Image11 *expectedImage) = 0; 137 virtual void verifyAssociatedImageValid(const gl::ImageIndex &index, 140 const gl::ImageIndex &index, [all...] |
/base/security/device_auth/services/frameworks/src/os_account_adapter/ |
H A D | os_account_adapter.cpp | 55 uint32_t index; in NotifyOsAccountUnlocked() local 57 FOR_EACH_HC_VECTOR(g_callbackVec, index, callback) { in NotifyOsAccountUnlocked() 67 uint32_t index; in NotifyOsAccountRemoved() local 69 FOR_EACH_HC_VECTOR(g_callbackVec, index, callback) { in NotifyOsAccountRemoved() 166 uint32_t index; in IsCallbackExist() local 168 FOR_EACH_HC_VECTOR(g_callbackVec, index, callback) { in IsCallbackExist() 241 for (uint32_t index = 0; index < accountSize; index++) { in GetAllOsAccountIds() 242 (*osAccountIds)[index] in GetAllOsAccountIds() 306 uint32_t index; RemoveOsAccountEventCallback() local [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/executor/ |
H A D | listener.py | 121 if test_result.index in self.tests: 122 return self.tests.get(test_result.index) 125 rid = uuid.uuid4().hex if test_result.index == "" else \ 126 test_result.index 127 test.index = rid 138 self.current_test_id = test.index 145 self.current_suite_id = suite.index 146 self._suites_index_stack.append(suite.index) 166 for index in range(len(test_values)-1, -1, -1): 167 cur_test = test_values[index] [all...] |
/third_party/icu/icu4c/source/test/perf/leperf/ |
H A D | FontObject.cpp | 166 le_uint16 index = 0; in unicodeToGlyph() local 171 index = cmRangeShift; in unicodeToGlyph() 177 if (SWAPW(cmStartCodes[index + probe]) <= unicode) { in unicodeToGlyph() 178 index += probe; in unicodeToGlyph() 182 if (unicode >= SWAPW(cmStartCodes[index]) && unicode <= SWAPW(cmEndCodes[index])) { in unicodeToGlyph() 183 if (cmIdRangeOffset[index] == 0) { in unicodeToGlyph() 186 le_uint16 offset = unicode - SWAPW(cmStartCodes[index]); in unicodeToGlyph() 187 le_uint16 rangeOffset = SWAPW(cmIdRangeOffset[index]); in unicodeToGlyph() 188 le_uint16 *glyphIndexTable = (le_uint16 *) ((char *) &cmIdRangeOffset[index] in unicodeToGlyph() 233 le_uint16 index = glyph; getGlyphAdvance() local [all...] |
/third_party/icu/icu4c/source/samples/layout/ |
H A D | FontMap.cpp | 133 le_int32 index; in getFontIndex() local 135 for (index = 0; index < fFontCount; index += 1) { in getFontIndex() 136 if (strcmp(fontName, fFontNames[index]) == 0) { in getFontIndex() 137 return index; in getFontIndex() 142 index = fFontCount++; in getFontIndex() 147 // referenced; find it and reuse it's index. in getFontIndex() 149 for (index = 0; index < fFontCoun in getFontIndex() [all...] |
/third_party/icu/icu4c/source/test/letest/ |
H A D | FontObject.cpp | 162 le_uint16 index = 0; in unicodeToGlyph() local 167 index = cmRangeShift; in unicodeToGlyph() 173 if (SWAPW(cmStartCodes[index + probe]) <= unicode) { in unicodeToGlyph() 174 index += probe; in unicodeToGlyph() 178 if (unicode >= SWAPW(cmStartCodes[index]) && unicode <= SWAPW(cmEndCodes[index])) { in unicodeToGlyph() 179 if (cmIdRangeOffset[index] == 0) { in unicodeToGlyph() 182 le_uint16 offset = unicode - SWAPW(cmStartCodes[index]); in unicodeToGlyph() 183 le_uint16 rangeOffset = SWAPW(cmIdRangeOffset[index]); in unicodeToGlyph() 184 le_uint16 *glyphIndexTable = (le_uint16 *) ((char *) &cmIdRangeOffset[index] in unicodeToGlyph() 229 le_uint16 index = glyph; getGlyphAdvance() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_gather_ssa_types.c | 76 copy_type(src.ssa->index, dest->ssa.index, src_is_sink, float_types, progress); in copy_types() 77 copy_type(src.ssa->index, dest->ssa.index, src_is_sink, int_types, progress); in copy_types() 88 * floatness of each SSA value recorded by index. It is the responsibility of 89 * the caller to index the SSA defs using nir_index_ssa_defs and allocate the 125 set_type(alu->src[0].src.ssa->index, nir_type_bool, in nir_gather_ssa_types() 136 set_type(alu->src[i].src.ssa->index, info->input_types[i], in nir_gather_ssa_types() 139 set_type(alu->dest.dest.ssa.index, info->output_type, in nir_gather_ssa_types() 149 set_type(tex->src[i].src.ssa->index, in nir_gather_ssa_types() [all...] |
/third_party/node/lib/ |
H A D | v8.js | 280 function arrayBufferViewIndexToType(index) { 281 if (index === 0) return Int8Array; 282 if (index === 1) return Uint8Array; 283 if (index === 2) return Uint8ClampedArray; 284 if (index === 3) return Int16Array; 285 if (index === 4) return Uint16Array; 286 if (index === 5) return Int32Array; 287 if (index === 6) return Uint32Array; 288 if (index === 7) return Float32Array; 289 if (index [all...] |
/third_party/node/deps/npm/node_modules/negotiator/lib/ |
H A D | mediaType.js | 99 function getMediaTypePriority(type, accepted, index) { 103 var spec = specify(type, accepted[i], index); 118 function specify(type, spec, index) { 150 i: index, 174 var priorities = provided.map(function getPriority(type, index) { 175 return getMediaTypePriority(type, accepts, index); 218 var index = 0; 220 while ((index = string.indexOf('"', index)) !== -1) { 222 index [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | union_bitfield.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | bitfield_align_2.rs | 25 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 26 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 27 let byte_index = index / 8; in get_bit() 30 7 - (index % 8) in get_bit() 32 index % 8 in get_bit() 38 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 39 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 40 let byte_index = index / 8; in set_bit() 43 7 - (index % 8) in set_bit() 45 index in set_bit() [all...] |
H A D | bitfield-large.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | issue-739-pointer-wide-bitfield.rs | 25 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 26 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 27 let byte_index = index / 8; in get_bit() 30 7 - (index % 8) in get_bit() 32 index % 8 in get_bit() 38 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 39 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 40 let byte_index = index / 8; in set_bit() 43 7 - (index % 8) in set_bit() 45 index in set_bit() [all...] |
H A D | union_with_anon_struct_bitfield.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | packed-bitfield.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | derive-partialeq-bitfield.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
H A D | FontMap.cpp | 133 le_int32 index; in getFontIndex() local 135 for (index = 0; index < fFontCount; index += 1) { in getFontIndex() 136 if (strcmp(fontName, fFontNames[index]) == 0) { in getFontIndex() 137 return index; in getFontIndex() 142 index = fFontCount++; in getFontIndex() 147 // referenced; find it and resue it's index. in getFontIndex() 149 for (index = 0; index < fFontCoun in getFontIndex() [all...] |
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | unknown_fields.cc | 76 Py_ssize_t index); 78 static PyObject* Item(PyObject* pself, Py_ssize_t index) { in Item() argument 88 if (index < 0) { in Item() 89 index = total_size + index; in Item() 91 if (index < 0 || index >= total_size) { in Item() 93 "index (%zd) out of range", in Item() 94 index); in Item() 98 return unknown_fields::NewPyUnknownFieldRef(self, index); in Item() 119 NewPyUnknownFieldRef(PyUnknownFields* parent, Py_ssize_t index) NewPyUnknownFieldRef() argument [all...] |