/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationdatareader.cpp | 89 int32_t index; // one of the indexes[] slots in read() local 90 int32_t offset; // byte offset for the index part in read() 91 int32_t length; // number of bytes in the index part in read() 110 index = IX_REORDER_CODES_OFFSET; in read() 111 offset = getIndex(inIndexes, indexesLength, index); in read() 112 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read() 142 index = IX_REORDER_TABLE_OFFSET; in read() 143 offset = getIndex(inIndexes, indexesLength, index); in read() 144 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read() 162 index in read() [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | font_data_test.cc | 36 // search test result pairs - number to search for; index found at 43 // offset and start index data for searching data 145 for (int32_t index = 0; index < rfd->Length(); ++index) { in ReadFontDataWithSingleByte() 146 (*buffer)[index] = (uint8_t)(rfd->ReadByte(index)); in ReadFontDataWithSingleByte() 156 int32_t index = 0; in ReadFontDataWithBuffer() local 157 while (index < rfd->Length()) { in ReadFontDataWithBuffer() 158 int32_t bytes_read = rfd->ReadBytes(index, in ReadFontDataWithBuffer() 168 int32_t index = 0; ReadFontDataWithSlidingWindow() local 190 int32_t index = 0; WriteFontDataWithBuffer() local 202 int32_t index = 0; WriteFontDataWithSlidingWindow() local [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_plaindata_array.h | 79 * @brief Gets the element of the specified index. 84 const T& operator[](uint32_t index) const in operator []() 86 return data_[index]; in operator []() 89 * @brief Gets the element of the specified index. 94 T& operator[](uint32_t index) in operator []() argument 96 if (index > size_) { in operator []() 100 return data_[index]; in operator []() 103 * @brief Gets the element of the specified index. 108 T ValueAt(uint32_t index) const in ValueAt() 110 return data_[index]; in ValueAt() 128 IndexAt(uint32_t index) IndexAt() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vf_error.c | 33 int index; in amdgpu_vf_error_put() local 42 index = adev->virt.vf_errors.write_count % AMDGPU_VF_ERROR_ENTRY_SIZE; in amdgpu_vf_error_put() 43 adev->virt.vf_errors.code [index] = error_code; in amdgpu_vf_error_put() 44 adev->virt.vf_errors.flags [index] = error_flags; in amdgpu_vf_error_put() 45 adev->virt.vf_errors.data [index] = error_data; in amdgpu_vf_error_put() 55 int index; in amdgpu_vf_error_trans_all() local 76 index =adev->virt.vf_errors.read_count % AMDGPU_VF_ERROR_ENTRY_SIZE; in amdgpu_vf_error_trans_all() 77 data1 = AMDGIM_ERROR_CODE_FLAGS_TO_MAILBOX(adev->virt.vf_errors.code[index], in amdgpu_vf_error_trans_all() 78 adev->virt.vf_errors.flags[index]); in amdgpu_vf_error_trans_all() 79 data2 = adev->virt.vf_errors.data[index] in amdgpu_vf_error_trans_all() [all...] |
/kernel/linux/linux-5.10/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 590 /* return largest index i such that fval <= lookup[i][small] */ 615 u16 index; in tfrc_calc_x() local 631 index = 0; in tfrc_calc_x() 633 index = p/TFRC_SMALLEST_P - 1; in tfrc_calc_x() 635 f = tfrc_calc_x_lookup[index][1]; in tfrc_calc_x() 638 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1; in tfrc_calc_x() 640 f = tfrc_calc_x_lookup[index][0]; in tfrc_calc_x() 664 int index; in tfrc_calc_x_reverse_lookup() local 680 index = tfrc_binsearch(fvalue, 1); in tfrc_calc_x_reverse_lookup() 681 return (index in tfrc_calc_x_reverse_lookup() [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_exec.h | 55 * drm_exec_obj() - Return the object for a give drm_exec index 57 * @index: The index. 59 * Return: Pointer to the locked object corresponding to @index if 60 * index is within the number of locked objects. NULL otherwise. 63 drm_exec_obj(struct drm_exec *exec, unsigned long index) in drm_exec_obj() argument 65 return index < exec->num_objects ? exec->objects[index] : NULL; in drm_exec_obj() 71 * @index: unsigned long index fo [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vf_error.c | 33 int index; in amdgpu_vf_error_put() local 42 index = adev->virt.vf_errors.write_count % AMDGPU_VF_ERROR_ENTRY_SIZE; in amdgpu_vf_error_put() 43 adev->virt.vf_errors.code [index] = error_code; in amdgpu_vf_error_put() 44 adev->virt.vf_errors.flags [index] = error_flags; in amdgpu_vf_error_put() 45 adev->virt.vf_errors.data [index] = error_data; in amdgpu_vf_error_put() 55 int index; in amdgpu_vf_error_trans_all() local 76 index =adev->virt.vf_errors.read_count % AMDGPU_VF_ERROR_ENTRY_SIZE; in amdgpu_vf_error_trans_all() 77 data1 = AMDGIM_ERROR_CODE_FLAGS_TO_MAILBOX(adev->virt.vf_errors.code[index], in amdgpu_vf_error_trans_all() 78 adev->virt.vf_errors.flags[index]); in amdgpu_vf_error_trans_all() 79 data2 = adev->virt.vf_errors.data[index] in amdgpu_vf_error_trans_all() [all...] |
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_chnl_cfg.c | 69 int ipc_chnl_cfg_get(struct ipc_chnl_cfg *chnl_cfg, int index) in ipc_chnl_cfg_get() argument 71 if (index >= ARRAY_SIZE(modem_cfg)) { in ipc_chnl_cfg_get() 72 pr_err("index: %d and array size %zu", index, in ipc_chnl_cfg_get() 77 if (index == IPC_MEM_MUX_IP_CH_IF_ID) in ipc_chnl_cfg_get() 82 chnl_cfg->ul_nr_of_entries = modem_cfg[index].ul_nr_of_entries; in ipc_chnl_cfg_get() 83 chnl_cfg->dl_nr_of_entries = modem_cfg[index].dl_nr_of_entries; in ipc_chnl_cfg_get() 84 chnl_cfg->dl_buf_size = modem_cfg[index].dl_buf_size; in ipc_chnl_cfg_get() 85 chnl_cfg->id = modem_cfg[index].id; in ipc_chnl_cfg_get() 86 chnl_cfg->ul_pipe = modem_cfg[index] in ipc_chnl_cfg_get() [all...] |
/kernel/linux/linux-6.6/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 590 /* return largest index i such that fval <= lookup[i][small] */ 615 u16 index; in tfrc_calc_x() local 631 index = 0; in tfrc_calc_x() 633 index = p/TFRC_SMALLEST_P - 1; in tfrc_calc_x() 635 f = tfrc_calc_x_lookup[index][1]; in tfrc_calc_x() 638 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1; in tfrc_calc_x() 640 f = tfrc_calc_x_lookup[index][0]; in tfrc_calc_x() 664 int index; in tfrc_calc_x_reverse_lookup() local 680 index = tfrc_binsearch(fvalue, 1); in tfrc_calc_x_reverse_lookup() 681 return (index in tfrc_calc_x_reverse_lookup() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_dominance.c | 41 * because we index blocks from beginning -> end (i.e. reverse in intersect() 44 while (b1->index > b2->index) in intersect() 46 while (b2->index > b1->index) in intersect() 77 calc_dfs_indices(struct ir3_block *block, unsigned index) in calc_dfs_indices() argument 79 block->dom_pre_index = index++; in calc_dfs_indices() 81 index = calc_dfs_indices(block->dom_children[i], index); in calc_dfs_indices() 82 block->dom_post_index = index in calc_dfs_indices() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | handler-table.h | 65 int GetRangeStart(int index) const; 66 int GetRangeEnd(int index) const; 67 int GetRangeHandler(int index) const; 68 int GetRangeData(int index) const; 71 void SetRangeStart(int index, int value); 72 void SetRangeEnd(int index, int value); 73 void SetRangeHandler(int index, int offset, CatchPrediction pred); 74 void SetRangeData(int index, int value); 102 CatchPrediction GetRangePrediction(int index) const; 108 int GetReturnOffset(int index) cons [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | property-array.h | 32 inline Object get(int index) const; 33 inline Object get(PtrComprCageBase cage_base, int index) const; 34 inline Object get(int index, SeqCstAccessTag tag) const; 35 inline Object get(PtrComprCageBase cage_base, int index, 38 inline void set(int index, Object value); 39 inline void set(int index, Object value, SeqCstAccessTag tag); 41 inline void set(int index, Object value, WriteBarrierMode mode); 43 inline Object Swap(int index, Object value, SeqCstAccessTag tag); 44 inline Object Swap(PtrComprCageBase cage_base, int index, Object value, 58 static constexpr int OffsetOfElementAt(int index) { retur in SizeFor() argument [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | utils-inl.h | 36 bool TryAddArrayIndexChar(uint32_t* index, Char c) { in TryAddArrayIndexChar() argument 39 // The maximum index is 4294967294; for the computation below to not in TryAddArrayIndexChar() 40 // exceed that, the previous index value must be <= 429496729 if d <= 4, in TryAddArrayIndexChar() 43 if (*index > 429496729U - ((d + 3) >> 3)) return false; in TryAddArrayIndexChar() 44 *index = (*index) * 10 + d; in TryAddArrayIndexChar() 49 bool TryAddIntegerIndexChar(uint64_t* index, Char c) { in TryAddIntegerIndexChar() argument 52 *index = (*index) * 10 + d; in TryAddIntegerIndexChar() 53 return (*index < in TryAddIntegerIndexChar() 57 StringToIndex(Stream* stream, index_t* index) StringToIndex() argument [all...] |
/base/telephony/core_service/services/network_search/src/ |
H A D | network_selection.cpp | 50 int64_t index = -1; in ProcessNetworkSearchResult() local 53 if (!AvailNetworkResult(availNetworkResult, data, index)) { in ProcessNetworkSearchResult() 57 if (!ResponseInfoOfResult(responseInfo, data, index)) { in ProcessNetworkSearchResult() 61 std::shared_ptr<NetworkSearchCallbackInfo> callbackInfo = NetworkUtils::FindNetworkSearchCallback(index); in ProcessNetworkSearchResult() 69 NetworkUtils::RemoveCallbackFromMap(index); in ProcessNetworkSearchResult() 99 int64_t index = -1; in ProcessGetNetworkSelectionMode() local 102 if (!SelectModeResult(selectModeResult, data, index)) { in ProcessGetNetworkSelectionMode() 106 if (!ResponseInfoOfGet(responseInfo, data, index)) { in ProcessGetNetworkSelectionMode() 111 std::shared_ptr<NetworkSearchCallbackInfo> callbackInfo = NetworkUtils::FindNetworkSearchCallback(index); in ProcessGetNetworkSelectionMode() 123 NetworkUtils::RemoveCallbackFromMap(index); in ProcessGetNetworkSelectionMode() 150 int64_t index = responseInfo->flag; ProcessSetNetworkSelectionMode() local [all...] |
/foundation/ability/idl_tool/idl_tool_2/ast/ |
H A D | ast.cpp | 50 size_t index = idlFilePath_.rfind('\\'); in SetIdlFile() local 52 size_t index = idlFilePath_.rfind('/'); in SetIdlFile() local 60 name_ = StringHelper::SubStr(idlFilePath_, (index == std::string::npos) ? 0 : (index + 1), end); in SetIdlFile() 70 size_t index = name.rfind('.'); in SetFullName() local 71 if (index != std::string::npos) { in SetFullName() 72 packageName_ = StringHelper::SubStr(name, 0, index); in SetFullName() 73 name_ = StringHelper::SubStr(name, index + 1); in SetFullName() 90 size_t index = 0; in ParseNamespace() local 91 while ((index in ParseNamespace() 140 GetNamespace(size_t index) GetNamespace() argument 159 GetInterfaceDef(size_t index) GetInterfaceDef() argument 168 GetSequenceableDef(size_t index) GetSequenceableDef() argument 269 GetTypeDefintion(size_t index) GetTypeDefintion() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | app_style_manager.cpp | 140 uint16_t index = styleItemNameId >> 1; in MarkStandardFlag() local 142 flags_[index].u8Bits.standardEven_ = 1; in MarkStandardFlag() 144 flags_[index].u8Bits.standardOdd_ = 1; in MarkStandardFlag() 157 for (uint32_t index = 0; index < propKeySize; index++) { in HandleStaticStyle() 158 jerry_value_t propKey = jerry_get_property_by_index(propKeys, index); in HandleStaticStyle() 181 for (uint32_t index = 0; index < propKeySize; index in HandleDynamicStyle() 301 uint16_t index = styleItemNameId >> 1; isStandardExist() local 311 uint16_t index = styleItemNameId >> 1; isPseudoExist() local 326 uint16_t index = styleItemNameId >> 1; MarkPseudoFlag() local [all...] |
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/ |
H A D | dcamera_channel_sink_impl_test.cpp | 86 DCameraIndex index; in HWTEST_F() local 87 index.devId_ = TEST_DEVICE_ID; in HWTEST_F() 88 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F() 89 camIndexs.push_back(index); in HWTEST_F() 110 DCameraIndex index; in HWTEST_F() local 111 index.devId_ = TEST_DEVICE_ID; in HWTEST_F() 112 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F() 113 camIndexs.push_back(index); in HWTEST_F() 135 DCameraIndex index; in HWTEST_F() local 136 index in HWTEST_F() 161 DCameraIndex index; HWTEST_F() local 234 DCameraIndex index; HWTEST_F() local 283 DCameraIndex index; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | rtlx.c | 91 int rtlx_open(int index, int can_sleep) in rtlx_open() argument 98 if (index >= RTLX_CHANNELS) { in rtlx_open() 99 pr_debug("rtlx_open index out of range\n"); in rtlx_open() 103 if (atomic_inc_return(&channel_wqs[index].in_open) > 1) { in rtlx_open() 104 pr_debug("rtlx_open channel %d already opened\n", index); in rtlx_open() 114 channel_wqs[index].lx_queue, in rtlx_open() 132 &channel_wqs[index].lx_queue, in rtlx_open() 144 finish_wait(&channel_wqs[index].lx_queue, in rtlx_open() 165 chan = &rtlx->channel[index]; in rtlx_open() 175 atomic_dec(&channel_wqs[index] in rtlx_open() 182 rtlx_release(int index) rtlx_release() argument 192 rtlx_read_poll(int index, int can_sleep) rtlx_read_poll() argument 234 rtlx_write_poll(int index) rtlx_write_poll() argument 242 rtlx_read(int index, void __user *buff, size_t count) rtlx_read() argument 284 rtlx_write(int index, const void __user *buffer, size_t count) rtlx_write() argument [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | rtlx.c | 91 int rtlx_open(int index, int can_sleep) in rtlx_open() argument 98 if (index >= RTLX_CHANNELS) { in rtlx_open() 99 pr_debug("rtlx_open index out of range\n"); in rtlx_open() 103 if (atomic_inc_return(&channel_wqs[index].in_open) > 1) { in rtlx_open() 104 pr_debug("rtlx_open channel %d already opened\n", index); in rtlx_open() 114 channel_wqs[index].lx_queue, in rtlx_open() 132 &channel_wqs[index].lx_queue, in rtlx_open() 144 finish_wait(&channel_wqs[index].lx_queue, in rtlx_open() 165 chan = &rtlx->channel[index]; in rtlx_open() 175 atomic_dec(&channel_wqs[index] in rtlx_open() 182 rtlx_release(int index) rtlx_release() argument 192 rtlx_read_poll(int index, int can_sleep) rtlx_read_poll() argument 234 rtlx_write_poll(int index) rtlx_write_poll() argument 242 rtlx_read(int index, void __user *buff, size_t count) rtlx_read() argument 284 rtlx_write(int index, const void __user *buffer, size_t count) rtlx_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | mtk-pmic-keys.c | 199 int index; in mtk_pmic_keys_suspend() local 201 for (index = 0; index < MTK_PMIC_MAX_KEY_COUNT; index++) { in mtk_pmic_keys_suspend() 202 if (keys->keys[index].wakeup) in mtk_pmic_keys_suspend() 203 enable_irq_wake(keys->keys[index].irq); in mtk_pmic_keys_suspend() 212 int index; in mtk_pmic_keys_resume() local 214 for (index = 0; index < MTK_PMIC_MAX_KEY_COUNT; index in mtk_pmic_keys_resume() 240 int error, index = 0; mtk_pmic_keys_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
H A D | trace.h | 150 TP_PROTO(u16 index, struct vring_rx_desc *d), 151 TP_ARGS(index, d), 153 __field(u16, index) 164 __entry->index = index; 174 TP_printk("index %d len %d mid %d cid (%%8) %d tid %d mcs %d seq 0x%03x" 175 " type 0x%1x subtype 0x%1x", __entry->index, __entry->len, 215 TP_PROTO(u8 vring, u16 index, unsigned int len, u8 frags), 216 TP_ARGS(vring, index, len, frags), 220 __field(u16, index) [all...] |
/kernel/linux/linux-5.10/drivers/vfio/platform/ |
H A D | vfio_platform_irq.c | 42 unsigned index, unsigned start, in vfio_platform_set_irq_mask() 49 if (!(vdev->irqs[index].flags & VFIO_IRQ_INFO_MASKABLE)) in vfio_platform_set_irq_mask() 56 return vfio_virqfd_enable((void *) &vdev->irqs[index], in vfio_platform_set_irq_mask() 59 &vdev->irqs[index].mask, fd); in vfio_platform_set_irq_mask() 61 vfio_virqfd_disable(&vdev->irqs[index].mask); in vfio_platform_set_irq_mask() 66 vfio_platform_mask(&vdev->irqs[index]); in vfio_platform_set_irq_mask() 72 vfio_platform_mask(&vdev->irqs[index]); in vfio_platform_set_irq_mask() 102 unsigned index, unsigned start, in vfio_platform_set_irq_unmask() 109 if (!(vdev->irqs[index].flags & VFIO_IRQ_INFO_MASKABLE)) in vfio_platform_set_irq_unmask() 116 return vfio_virqfd_enable((void *) &vdev->irqs[index], in vfio_platform_set_irq_unmask() 41 vfio_platform_set_irq_mask(struct vfio_platform_device *vdev, unsigned index, unsigned start, unsigned count, uint32_t flags, void *data) vfio_platform_set_irq_mask() argument 101 vfio_platform_set_irq_unmask(struct vfio_platform_device *vdev, unsigned index, unsigned start, unsigned count, uint32_t flags, void *data) vfio_platform_set_irq_unmask() argument 172 vfio_set_trigger(struct vfio_platform_device *vdev, int index, int fd, irq_handler_t handler) vfio_set_trigger() argument 218 vfio_platform_set_irq_trigger(struct vfio_platform_device *vdev, unsigned index, unsigned start, unsigned count, uint32_t flags, void *data) vfio_platform_set_irq_trigger() argument 256 vfio_platform_set_irqs_ioctl(struct vfio_platform_device *vdev, uint32_t flags, unsigned index, unsigned start, unsigned count, void *data) vfio_platform_set_irqs_ioctl() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | client.c | 90 nvkm_client_notify_put(struct nvkm_client *client, int index) in nvkm_client_notify_put() argument 92 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_put() 93 if (client->notify[index]) { in nvkm_client_notify_put() 94 nvkm_notify_put(&client->notify[index]->n); in nvkm_client_notify_put() 102 nvkm_client_notify_get(struct nvkm_client *client, int index) in nvkm_client_notify_get() argument 104 if (index < ARRAY_SIZE(client->notify)) { in nvkm_client_notify_get() 105 if (client->notify[index]) { in nvkm_client_notify_get() 106 nvkm_notify_get(&client->notify[index]->n); in nvkm_client_notify_get() 114 nvkm_client_notify_del(struct nvkm_client *client, int index) in nvkm_client_notify_del() argument 116 if (index < ARRAY_SIZ in nvkm_client_notify_del() 136 u8 index, reply; nvkm_client_notify_new() local 238 nvkm_client_child_get(struct nvkm_object *object, int index, struct nvkm_oclass *oclass) nvkm_client_child_get() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/ |
H A D | trace.h | 147 TP_PROTO(u16 index, struct vring_rx_desc *d), 148 TP_ARGS(index, d), 150 __field(u16, index) 161 __entry->index = index; 171 TP_printk("index %d len %d mid %d cid (%%8) %d tid %d mcs %d seq 0x%03x" 172 " type 0x%1x subtype 0x%1x", __entry->index, __entry->len, 212 TP_PROTO(u8 vring, u16 index, unsigned int len, u8 frags), 213 TP_ARGS(vring, index, len, frags), 217 __field(u16, index) [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/ |
H A D | rxe.h | 45 "uc#%d %s: " fmt, (uc)->elem.index, __func__, ##__VA_ARGS__) 47 "pd#%d %s: " fmt, (pd)->elem.index, __func__, ##__VA_ARGS__) 49 "ah#%d %s: " fmt, (ah)->elem.index, __func__, ##__VA_ARGS__) 51 "srq#%d %s: " fmt, (srq)->elem.index, __func__, ##__VA_ARGS__) 53 "qp#%d %s: " fmt, (qp)->elem.index, __func__, ##__VA_ARGS__) 55 "cq#%d %s: " fmt, (cq)->elem.index, __func__, ##__VA_ARGS__) 57 "mr#%d %s: " fmt, (mr)->elem.index, __func__, ##__VA_ARGS__) 59 "mw#%d %s: " fmt, (mw)->elem.index, __func__, ##__VA_ARGS__) 66 "uc#%d %s: " fmt, (uc)->elem.index, __func__, ##__VA_ARGS__) 68 "pd#%d %s: " fmt, (pd)->elem.index, __func_ [all...] |