/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | SelectFormat.java | 215 * @param partIndex the index of the first SelectFormat argument style part. 217 * @return the sub-message start part index. 272 int index = part.getIndex(); in format() 275 return pattern.substring(prevIndex, index); in format() 277 return result.append(pattern, prevIndex, index).toString(); in format() 283 result.append(pattern, prevIndex, index); in format() 289 result.append(pattern, prevIndex, index); in format() 290 prevIndex = index; in format() 292 index = msgPattern.getPart(i).getLimit(); in format() 293 MessagePattern.appendReducedApostrophes(pattern, prevIndex, index, resul in format() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | uvectr64.cpp | 95 void UVector64::setElementAt(int64_t elem, int32_t index) { in setElementAt() argument 96 if (0 <= index && index < count) { in setElementAt() 97 elements[index] = elem; in setElementAt() 99 /* else index out of range */ in setElementAt() 102 void UVector64::insertElementAt(int64_t elem, int32_t index, UErrorCode &status) { in insertElementAt() argument 103 // must have 0 <= index <= count in insertElementAt() 104 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt() 105 for (int32_t i=count; i>index; in insertElementAt() [all...] |
/third_party/lzma/CPP/7zip/Common/ |
H A D | InOutTempBuffer.cpp | 49 void *CInOutTempBuffer::GetBuf(size_t index)
in GetBuf() argument 51 if (index >= _numBufs)
in GetBuf() 62 void *buf = _bufs[index];
in GetBuf() 67 _bufs[index] = buf;
in GetBuf() 89 const size_t index = (size_t)(_size / kBufSize);
in Write_HRESULT() local 92 if (index >= kNumBufsMax && !_useMemOnly)
in Write_HRESULT() 96 void *buf = GetBuf(index);
in Write_HRESULT() 115 if (index >= _numFilled)
in Write_HRESULT() 116 _numFilled = index + 1;
in Write_HRESULT() 188 void *buf = GetBuf(0); // index
in WriteToStream() [all...] |
/third_party/node/test/parallel/ |
H A D | test-https-options-boolean-check.js | 84 ].forEach(([key, cert, index]) => { 85 const val = index === undefined ? key : key[index]; 110 ].forEach(([key, cert, index]) => { 111 const val = index === undefined ? cert : cert[index]; 145 ].forEach(([key, cert, ca, index]) => { 146 const val = index === undefined ? ca : ca[index];
|
H A D | test-tls-options-boolean-check.js | 83 ].forEach(([key, cert, index]) => { 84 const val = index === undefined ? key : key[index]; 109 ].forEach(([key, cert, index]) => { 110 const val = index === undefined ? cert : cert[index]; 144 ].forEach(([key, cert, ca, index]) => { 145 const val = index === undefined ? ca : ca[index];
|
/third_party/node/deps/icu-small/source/common/ |
H A D | uvectr64.cpp | 95 void UVector64::setElementAt(int64_t elem, int32_t index) { in setElementAt() argument 96 if (0 <= index && index < count) { in setElementAt() 97 elements[index] = elem; in setElementAt() 99 /* else index out of range */ in setElementAt() 102 void UVector64::insertElementAt(int64_t elem, int32_t index, UErrorCode &status) { in insertElementAt() argument 103 // must have 0 <= index <= count in insertElementAt() 104 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt() 105 for (int32_t i=count; i>index; in insertElementAt() [all...] |
/third_party/skia/tools/fonts/ |
H A D | TestFontMgr.cpp | 40 void getStyle(int index, SkFontStyle* style, SkString* name) override { 42 *style = fTypefaces[index].fStyle; 45 *name = fTypefaces[index].fStyleName; 49 SkTypeface* createTypeface(int index) override { 50 return SkRef(fTypefaces[index].fTypeface.get()); 111 void onGetFamilyName(int index, SkString* familyName) const override { 112 *familyName = fFamilies[index]->getFamilyName(); 115 SkFontStyleSet* onCreateStyleSet(int index) const override { 116 sk_sp<SkFontStyleSet> ref = fFamilies[index];
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uvectr64.cpp | 95 void UVector64::setElementAt(int64_t elem, int32_t index) { in setElementAt() argument 96 if (0 <= index && index < count) { in setElementAt() 97 elements[index] = elem; in setElementAt() 99 /* else index out of range */ in setElementAt() 102 void UVector64::insertElementAt(int64_t elem, int32_t index, UErrorCode &status) { in insertElementAt() argument 103 // must have 0 <= index <= count in insertElementAt() 104 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt() 105 for (int32_t i=count; i>index; in insertElementAt() [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | TextFormatParseInfoTree.java | 105 * <p>Returns the {@link TextFormatParseLocation} for index-th value of the field in the parsed 109 * @param index the index of the value. 111 * @throws IllegalArgumentException index is out of range 113 public TextFormatParseLocation getLocation(final FieldDescriptor fieldDescriptor, int index) { in getLocation() argument 114 return getFromList(getLocations(fieldDescriptor), index, fieldDescriptor); in getLocation() 132 * @param index the index of message value. 134 * doesn't exist or the index is out of range. 135 * @throws IllegalArgumentException if index i 137 getNestedTree(final FieldDescriptor fieldDescriptor, int index) getNestedTree() argument 150 getFromList(List<T> list, int index, FieldDescriptor fieldDescriptor) getFromList() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.c | 11 * note that mr and mw share a single index space 187 u32 index; in alloc_index() local 190 index = find_next_zero_bit(pool->table, range, pool->last); in alloc_index() 191 if (index >= range) in alloc_index() 192 index = find_first_zero_bit(pool->table, range); in alloc_index() 194 WARN_ON_ONCE(index >= range); in alloc_index() 195 set_bit(index, pool->table); in alloc_index() 196 pool->last = index; in alloc_index() 197 return index + pool->min_index; in alloc_index() 210 if (elem->index in insert_index() 394 rxe_pool_get_index(struct rxe_pool *pool, u32 index) rxe_pool_get_index() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | rf.c | 62 /* use index of rf-A */ in _rtl92s_get_powerbase() 121 * index = 0x0~0xf */ in _rtl92s_set_antennadiff() 151 u8 chnl, u8 index, in _rtl92s_get_txpower_writeval_byregulatory() 169 writeval = rtlphy->mcs_offset[chnlgroup][index] + in _rtl92s_get_txpower_writeval_byregulatory() 170 ((index < 2) ? pwrbase0 : pwrbase1); in _rtl92s_get_txpower_writeval_byregulatory() 179 writeval = ((index < 2) ? pwrbase0 : pwrbase1); in _rtl92s_get_txpower_writeval_byregulatory() 198 writeval = rtlphy->mcs_offset[chnlgroup][index] in _rtl92s_get_txpower_writeval_byregulatory() 199 + ((index < 2) ? in _rtl92s_get_txpower_writeval_byregulatory() 209 writeval = ((index < 2) ? pwrbase0 : pwrbase1); in _rtl92s_get_txpower_writeval_byregulatory() 232 [chnlgroup][index] in _rtl92s_get_txpower_writeval_byregulatory() 150 _rtl92s_get_txpower_writeval_byregulatory(struct ieee80211_hw *hw, u8 chnl, u8 index, u32 pwrbase0, u32 pwrbase1, u32 *p_outwrite_val) _rtl92s_get_txpower_writeval_byregulatory() argument 286 _rtl92s_write_ofdm_powerreg(struct ieee80211_hw *hw, u8 index, u32 val) _rtl92s_write_ofdm_powerreg() argument 347 u8 index = 0; rtl92s_phy_rf6052_set_ofdmtxpower() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | rf.c | 138 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base() 151 " [MCS power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base() 157 u8 channel, u8 index, in _rtl92c_get_txpower_writeval_by_regulatory() 173 [chnlgroup][index + (rf ? 8 : 0)] in _rtl92c_get_txpower_writeval_by_regulatory() 174 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl92c_get_txpower_writeval_by_regulatory() 195 writeval = rtlphy->mcs_offset[chnlgroup][index + in _rtl92c_get_txpower_writeval_by_regulatory() 197 ((index < 2) ? powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory() 204 writeval = ((index < 2) ? powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory() 228 [chnlgroup][index + (rf ? 8 : 0)] in _rtl92c_get_txpower_writeval_by_regulatory() 253 writeval = customer_limit + ((index < in _rtl92c_get_txpower_writeval_by_regulatory() 156 _rtl92c_get_txpower_writeval_by_regulatory(struct ieee80211_hw *hw, u8 channel, u8 index, u32 *powerbase0, u32 *powerbase1, u32 *p_outwriteval) _rtl92c_get_txpower_writeval_by_regulatory() argument 281 _rtl92c_write_ofdm_power_reg(struct ieee80211_hw *hw, u8 index, u32 *value) _rtl92c_write_ofdm_power_reg() argument 348 u8 index = 0; rtl92cu_phy_rf6052_set_ofdm_txpower() local [all...] |
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | mmap.c | 33 struct page *ecryptfs_get_locked_page(struct inode *inode, loff_t index) in ecryptfs_get_locked_page() argument 35 struct page *page = read_mapping_page(inode->i_mapping, index, NULL); in ecryptfs_get_locked_page() 58 "page (upper index [0x%.16lx])\n", page->index); in ecryptfs_writepage() 117 loff_t view_extent_num = ((((loff_t)page->index) in ecryptfs_copy_up_encrypted_with_header() 187 rc = ecryptfs_read_lower_page_segment(page, page->index, 0, in ecryptfs_readpage() 205 page, page->index, 0, PAGE_SIZE, in ecryptfs_readpage() 226 ecryptfs_printk(KERN_DEBUG, "Unlocking page with index = [0x%.16lx]\n", in ecryptfs_readpage() 227 page->index); in ecryptfs_readpage() 240 if ((i_size_read(inode) / PAGE_SIZE) != page->index) in fill_zeros_to_end_of_page() 269 pgoff_t index = pos >> PAGE_SHIFT; ecryptfs_write_begin() local 467 pgoff_t index = pos >> PAGE_SHIFT; ecryptfs_write_end() local [all...] |
/kernel/linux/linux-5.10/fs/afs/ |
H A D | rotate.c | 35 op->index = READ_ONCE(op->server_list->preferred); in afs_start_fs_iteration() 43 op->index = i; in afs_start_fs_iteration() 119 op->untried, op->index, in afs_select_fileserver() 120 op->ac.tried, op->ac.index, in afs_select_fileserver() 160 op->server_list->vnovol_mask |= 1 << op->index; in afs_select_fileserver() 332 _debug("server %u", op->index); in afs_select_fileserver() 333 if (test_bit(op->index, &op->untried)) in afs_select_fileserver() 339 op->index = -1; in afs_select_fileserver() 348 op->index = i; in afs_select_fileserver() 353 if (op->index in afs_select_fileserver() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_hfi.c | 30 u32 i, hdr, index = header->read_index; in a6xx_hfi_queue_read() local 37 hdr = queue->data[index]; in a6xx_hfi_queue_read() 51 data[i] = queue->data[index]; in a6xx_hfi_queue_read() 52 index = (index + 1) % header->size; in a6xx_hfi_queue_read() 56 index = ALIGN(index, 4) % header->size; in a6xx_hfi_queue_read() 58 header->read_index = index; in a6xx_hfi_queue_read() 66 u32 i, space, index = header->write_index; in a6xx_hfi_queue_write() local 79 queue->data[index] in a6xx_hfi_queue_write() 435 a6xx_hfi_set_freq(struct a6xx_gmu *gmu, int index) a6xx_hfi_set_freq() argument [all...] |
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | mmap.c | 33 struct page *ecryptfs_get_locked_page(struct inode *inode, loff_t index) in ecryptfs_get_locked_page() argument 35 struct page *page = read_mapping_page(inode->i_mapping, index, NULL); in ecryptfs_get_locked_page() 59 "page (upper index [0x%.16lx])\n", page->index); in ecryptfs_writepage() 118 loff_t view_extent_num = ((((loff_t)page->index) in ecryptfs_copy_up_encrypted_with_header() 189 rc = ecryptfs_read_lower_page_segment(page, page->index, 0, in ecryptfs_read_folio() 207 page, page->index, 0, PAGE_SIZE, in ecryptfs_read_folio() 228 ecryptfs_printk(KERN_DEBUG, "Unlocking page with index = [0x%.16lx]\n", in ecryptfs_read_folio() 229 page->index); in ecryptfs_read_folio() 242 if ((i_size_read(inode) / PAGE_SIZE) != page->index) in fill_zeros_to_end_of_page() 270 pgoff_t index = pos >> PAGE_SHIFT; ecryptfs_write_begin() local 468 pgoff_t index = pos >> PAGE_SHIFT; ecryptfs_write_end() local [all...] |
/kernel/linux/linux-6.6/fs/afs/ |
H A D | rotate.c | 35 op->index = READ_ONCE(op->server_list->preferred); in afs_start_fs_iteration() 43 op->index = i; in afs_start_fs_iteration() 119 op->untried, op->index, in afs_select_fileserver() 120 op->ac.tried, op->ac.index, in afs_select_fileserver() 160 op->server_list->vnovol_mask |= 1 << op->index; in afs_select_fileserver() 336 _debug("server %u", op->index); in afs_select_fileserver() 337 if (test_bit(op->index, &op->untried)) in afs_select_fileserver() 343 op->index = -1; in afs_select_fileserver() 352 op->index = i; in afs_select_fileserver() 357 if (op->index in afs_select_fileserver() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | rf.c | 62 /* use index of rf-A */ in _rtl92s_get_powerbase() 121 * index = 0x0~0xf */ in _rtl92s_set_antennadiff() 151 u8 chnl, u8 index, in _rtl92s_get_txpower_writeval_byregulatory() 169 writeval = rtlphy->mcs_offset[chnlgroup][index] + in _rtl92s_get_txpower_writeval_byregulatory() 170 ((index < 2) ? pwrbase0 : pwrbase1); in _rtl92s_get_txpower_writeval_byregulatory() 179 writeval = ((index < 2) ? pwrbase0 : pwrbase1); in _rtl92s_get_txpower_writeval_byregulatory() 198 writeval = rtlphy->mcs_offset[chnlgroup][index] in _rtl92s_get_txpower_writeval_byregulatory() 199 + ((index < 2) ? in _rtl92s_get_txpower_writeval_byregulatory() 209 writeval = ((index < 2) ? pwrbase0 : pwrbase1); in _rtl92s_get_txpower_writeval_byregulatory() 232 [chnlgroup][index] in _rtl92s_get_txpower_writeval_byregulatory() 150 _rtl92s_get_txpower_writeval_byregulatory(struct ieee80211_hw *hw, u8 chnl, u8 index, u32 pwrbase0, u32 pwrbase1, u32 *p_outwrite_val) _rtl92s_get_txpower_writeval_byregulatory() argument 286 _rtl92s_write_ofdm_powerreg(struct ieee80211_hw *hw, u8 index, u32 val) _rtl92s_write_ofdm_powerreg() argument 347 u8 index = 0; rtl92s_phy_rf6052_set_ofdmtxpower() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | rf.c | 138 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base() 151 " [MCS power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base() 157 u8 channel, u8 index, in _rtl92c_get_txpower_writeval_by_regulatory() 173 [chnlgroup][index + (rf ? 8 : 0)] in _rtl92c_get_txpower_writeval_by_regulatory() 174 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl92c_get_txpower_writeval_by_regulatory() 195 writeval = rtlphy->mcs_offset[chnlgroup][index + in _rtl92c_get_txpower_writeval_by_regulatory() 197 ((index < 2) ? powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory() 204 writeval = ((index < 2) ? powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory() 228 [chnlgroup][index + (rf ? 8 : 0)] in _rtl92c_get_txpower_writeval_by_regulatory() 253 writeval = customer_limit + ((index < in _rtl92c_get_txpower_writeval_by_regulatory() 156 _rtl92c_get_txpower_writeval_by_regulatory(struct ieee80211_hw *hw, u8 channel, u8 index, u32 *powerbase0, u32 *powerbase1, u32 *p_outwriteval) _rtl92c_get_txpower_writeval_by_regulatory() argument 281 _rtl92c_write_ofdm_power_reg(struct ieee80211_hw *hw, u8 index, u32 *value) _rtl92c_write_ofdm_power_reg() argument 348 u8 index = 0; rtl92cu_phy_rf6052_set_ofdm_txpower() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_adelay.c | 33 size_t index; member 85 *dst = samples[d->index]; \ 86 samples[d->index] = *src; \ 88 d->index++; \ 90 d->index = d->index >= d->delay ? 0 : d->index; \ 114 d->index = 0; \ 125 if (d->index > new_delay) { \ 126 d->index [all...] |
/third_party/ffmpeg/libswresample/tests/ |
H A D | swresample.c | 39 static double get(uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f){ in get() argument 46 index= ch + index*ch_count; in get() 50 case AV_SAMPLE_FMT_U8 : return ((const uint8_t*)p)[index]/127.0-1.0; in get() 51 case AV_SAMPLE_FMT_S16: return ((const int16_t*)p)[index]/32767.0; in get() 52 case AV_SAMPLE_FMT_S32: return ((const int32_t*)p)[index]/2147483647.0; in get() 53 case AV_SAMPLE_FMT_FLT: return ((const float *)p)[index]; in get() 54 case AV_SAMPLE_FMT_DBL: return ((const double *)p)[index]; in get() 59 static void set(uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f, double v){ in set() argument 66 index in set() 78 shift(uint8_t *a[], int index, int ch_count, enum AVSampleFormat f) shift() argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tscoll.cpp | 59 void IntlTestCollator::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par ) in runIndexedTest() argument 396 int32_t index = orderLength; in backAndForth() local 406 if (index == 0) { in backAndForth() 416 index -= 1; in backAndForth() 417 if (o != orders[index].order) { in backAndForth() 419 index += 1; in backAndForth() 421 while (index > 0 && orders[--index].order == 0) { in backAndForth() 425 if (o != orders[index].order) { in backAndForth() 426 errln("Mismatched order at index in backAndForth() [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_measure.c | 159 unsigned index = measure->base.index++; in anv_measure_start_snapshot() local 164 .offset = index * sizeof(uint64_t) }, in anv_measure_start_snapshot() 170 struct intel_measure_snapshot *snapshot = &(measure->base.snapshots[index]); in anv_measure_start_snapshot() 199 unsigned index = measure->base.index++; in anv_measure_end_snapshot() local 200 assert(index % 2 == 1); in anv_measure_end_snapshot() 205 .offset = index * sizeof(uint64_t) }, in anv_measure_end_snapshot() 208 struct intel_measure_snapshot *snapshot = &(measure->base.snapshots[index]); in anv_measure_end_snapshot() 269 if (measure->base.index in _anv_measure_snapshot() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderConstantVariables.cpp | 219 unsigned int index = 0; in iterate() local 221 gl.getIntegerv(m_glExtTokens.MAX_GEOMETRY_INPUT_COMPONENTS, &constant_values[index]); in iterate() 222 index++; in iterate() 225 gl.getIntegerv(m_glExtTokens.MAX_GEOMETRY_OUTPUT_COMPONENTS, &constant_values[index]); in iterate() 226 index++; in iterate() 229 gl.getIntegerv(m_glExtTokens.MAX_GEOMETRY_TEXTURE_IMAGE_UNITS, &constant_values[index]); in iterate() 230 index++; in iterate() 233 gl.getIntegerv(m_glExtTokens.MAX_GEOMETRY_OUTPUT_VERTICES, &constant_values[index]); in iterate() 234 index++; in iterate() 237 gl.getIntegerv(m_glExtTokens.MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS, &constant_values[index]); in iterate() [all...] |
/third_party/skia/src/pathops/ |
H A D | SkIntersections.h | 50 void clearCoincidence(int index) { in clearCoincidence() argument 51 SkASSERT(index >= 0); in clearCoincidence() 52 int bit = 1 << index; in clearCoincidence() 128 bool isCoincident(int index) { in isCoincident() argument 129 return (fIsCoincident[0] & 1 << index) != 0; in isCoincident() 155 bool nearlySame(int index) const { in nearlySame() 156 SkASSERT(index == 0 || index == 1); in nearlySame() 157 return fNearlySame[index]; in nearlySame() 160 const SkDPoint& pt(int index) cons 223 unBumpT(int index) unBumpT() argument [all...] |