Home
last modified time | relevance | path

Searched refs:index (Results 526 - 550 of 11953) sorted by relevance

1...<<21222324252627282930>>...479

/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/fuse_manager/
H A Dcloud_daemon_statistic.cpp47 uint32_t index = 0; in GetRangeIndex() local
48 for (; index < rangeVector.size(); index++) { in GetRangeIndex()
49 if (value <= rangeVector[index]) { in GetRangeIndex()
53 return index; in GetRangeIndex()
58 uint32_t index = GetRangeIndex(size / FILE_SIZE_BYTE_TO_KB, OPEN_SIZE_RANGE_VECTOR); in UpdateOpenSizeStat() local
59 if (index >= OPEN_SIZE_MAX) { in UpdateOpenSizeStat()
60 LOGE("update open size stat fail, index overflow, index = %{public}u.", index); in UpdateOpenSizeStat()
68 uint32_t index = GetRangeIndex(time, OPEN_TIME_RANGE_VECTOR); UpdateOpenTimeStat() local
78 uint32_t index = GetRangeIndex(size / FILE_SIZE_BYTE_TO_KB, READ_SIZE_RANGE_VECTOR); UpdateReadSizeStat() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_struct.c118 LLVMValueRef index) in lp_build_array_get_ptr()
125 indices[1] = index; in lp_build_array_get_ptr()
129 LLVMGetValueName(ptr), LLVMGetValueName(index)); in lp_build_array_get_ptr()
138 LLVMValueRef index) in lp_build_array_get()
144 element_ptr = lp_build_array_get_ptr(gallivm, ptr, index); in lp_build_array_get()
147 lp_build_name(res, "%s[%s]", LLVMGetValueName(ptr), LLVMGetValueName(index)); in lp_build_array_get()
156 LLVMValueRef index, in lp_build_array_set()
162 element_ptr = lp_build_array_get_ptr(gallivm, ptr, index); in lp_build_array_set()
170 LLVMValueRef index) in lp_build_pointer_get()
172 return lp_build_pointer_get_unaligned(builder, ptr, index, in lp_build_pointer_get()
116 lp_build_array_get_ptr(struct gallivm_state *gallivm, LLVMValueRef ptr, LLVMValueRef index) lp_build_array_get_ptr() argument
136 lp_build_array_get(struct gallivm_state *gallivm, LLVMValueRef ptr, LLVMValueRef index) lp_build_array_get() argument
154 lp_build_array_set(struct gallivm_state *gallivm, LLVMValueRef ptr, LLVMValueRef index, LLVMValueRef value) lp_build_array_set() argument
168 lp_build_pointer_get(LLVMBuilderRef builder, LLVMValueRef ptr, LLVMValueRef index) lp_build_pointer_get() argument
177 lp_build_pointer_get_unaligned(LLVMBuilderRef builder, LLVMValueRef ptr, LLVMValueRef index, unsigned alignment) lp_build_pointer_get_unaligned() argument
197 lp_build_pointer_set(LLVMBuilderRef builder, LLVMValueRef ptr, LLVMValueRef index, LLVMValueRef value) lp_build_pointer_set() argument
209 lp_build_pointer_set_unaligned(LLVMBuilderRef builder, LLVMValueRef ptr, LLVMValueRef index, LLVMValueRef value, unsigned alignment) lp_build_pointer_set_unaligned() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationGL41_autogen.h24 bool ValidateDepthRangeIndexed(const Context *context, GLuint index, GLdouble n, GLdouble f);
27 GLuint index,
29 bool ValidateGetFloati_v(const Context *context, GLenum target, GLuint index, const GLfloat *data);
31 GLuint index,
132 GLuint index,
137 bool ValidateScissorIndexedv(const Context *context, GLuint index, const GLint *v);
138 bool ValidateVertexAttribL1d(const Context *context, GLuint index, GLdouble x);
139 bool ValidateVertexAttribL1dv(const Context *context, GLuint index, const GLdouble *v);
140 bool ValidateVertexAttribL2d(const Context *context, GLuint index, GLdouble x, GLdouble y);
141 bool ValidateVertexAttribL2dv(const Context *context, GLuint index, cons
[all...]
/third_party/typescript/tests/baselines/reference/tscWatch/incremental/
H A DjsxImportSource-option-changed-incremental.js17 //// [/users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts]
34 //// [/users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts]
51 //// [/users/username/projects/project/index.tsx]
62 node_modules/react/jsx-runtime/index.d.ts
63 Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions
64 index.tsx
68 Program root files: ["/users/username/projects/project/index.tsx"]
73 /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts
74 /users/username/projects/project/index
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dmock_tk.py99 index of actual lines start at 1, as with Tk. The methods never see this.
115 def index(self, index): member in Text
116 "Return string version of index decoded according to current text."
117 return "%s.%s" % self._decode(index, endflag=1)
119 def _decode(self, index, endflag=0):
122 This implements .index without converting the result back to a string.
126 The input index may have any of several possible forms:
135 if isinstance(index, (float, bytes)):
136 index
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dmemblockq.c111 while (PA_UNLIKELY(bq->current_read->index > bq->read_index)) in fix_current_read()
119 while (PA_LIKELY(bq->current_read != NULL) && PA_UNLIKELY(bq->current_read->index + (int64_t) bq->current_read->chunk.length <= bq->read_index)) in fix_current_read()
139 while (PA_UNLIKELY(bq->current_write->index + (int64_t) bq->current_write->chunk.length <= bq->write_index)) in fix_current_write()
147 while (PA_LIKELY(bq->current_write != NULL) && PA_UNLIKELY(bq->current_write->index > bq->write_index)) in fix_current_write()
169 end = bq->blocks_tail ? bq->blocks_tail->index + (int64_t) bq->blocks_tail->chunk.length : bq->write_index; in can_push()
218 pa_assert(uchunk->index + uchunk->length <= pa_memblock_get_length(uchunk->memblock)); in pa_memblockq_push()
221 pa_assert(uchunk->index % bq->base == 0); in pa_memblockq_push()
236 while (bq->write_index + (int64_t) chunk.length > q->index) in pa_memblockq_push()
251 if (bq->write_index >= q->index + (int64_t) q->chunk.length) in pa_memblockq_push()
254 else if (bq->write_index + (int64_t) chunk.length <= q->index) { in pa_memblockq_push()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dutils.h76 int32_t index = 0; in GetValFromColumn() local
77 err = resultSet->GetColumnIndex(columnName, index); in GetValFromColumn()
85 data = GetStringValFromColumn(index, resultSet); in GetValFromColumn()
89 data = GetIntValFromColumn(index, resultSet); in GetValFromColumn()
93 data = GetLongValFromColumn(index, resultSet); in GetValFromColumn()
97 data = GetDoubleValFromColumn(index, resultSet); in GetValFromColumn()
110 static inline std::string GetStringValFromColumn(int index, T &resultSet) in GetStringValFromColumn() argument
113 if (resultSet->GetString(index, stringVal)) { in GetStringValFromColumn()
120 static inline int32_t GetIntValFromColumn(int index, T &resultSet) in GetIntValFromColumn() argument
123 if (resultSet->GetInt(index, integerVa in GetIntValFromColumn()
130 GetLongValFromColumn(int index, T &resultSet) GetLongValFromColumn() argument
140 GetDoubleValFromColumn(int index, T &resultSet) GetDoubleValFromColumn() argument
[all...]
/foundation/arkui/ace_engine_lite/frameworks/tools/snapshot/
H A Dframework2char.py85 index = 1
90 if index != max_count:
91 if index % 16 == 0:
96 if index % 16 == 0:
101 index = index + 1
125 index = 0
133 if index != (max_count - 1):
134 if (index != 0 and index
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_pod.cpp71 PLUGIN_ASSERT(offsetToData.index + offsetToData.byteSize <= (uint32_t)dataStore_.size()); in DestroyPod()
72 const auto first = dataStore_.cbegin() + static_cast<int32_t>(offsetToData.index); in DestroyPod()
76 // move the index of pods after the destroyed pod by the size of the pod in DestroyPod()
78 if (nameToOffset.second.index > offsetToData.index) { in DestroyPod()
79 nameToOffset.second.index -= offsetToData.byteSize; in DestroyPod()
101 const uint32_t index = iter->second.index; in Set() local
103 PLUGIN_ASSERT(index + byteSize <= (uint32_t)dataStore_.size()); in Set()
108 uint8_t* dst = &dataStore_[index]; in Set()
124 const uint32_t index = iter->second.index; Get() local
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_dns_txt_record.cpp31 const std::vector<unsigned char> &keyBytes, const std::vector<unsigned char> &valBytes, int index) in InsertData()
38 for (int i = 0; i < index && insertIndex < data.size(); ++i) { in InsertData()
81 for (int index = 0; aDataStart < data.size(); ++index) { in RemoveData()
93 return index; in RemoveData()
106 for (unsigned long index = 0; index < val.length(); ++index) { in SetRecord()
107 valBytes.push_back(static_cast<unsigned char>(*(val.c_str() + index))); in SetRecord()
109 for (unsigned long index in SetRecord()
30 InsertData( const std::vector<unsigned char> &keyBytes, const std::vector<unsigned char> &valBytes, int index) InsertData() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/
H A Dmulti_ver_sync_task_context.cpp97 void MultiVerSyncTaskContext::SetCommitIndex(int index) in SetCommitIndex() argument
99 commitsIndex_ = index; in SetCommitIndex()
107 void MultiVerSyncTaskContext::SetEntriesIndex(int index) in SetEntriesIndex() argument
109 entriesIndex_ = index; in SetEntriesIndex()
117 void MultiVerSyncTaskContext::SetValueSlicesIndex(int index) in SetValueSlicesIndex() argument
119 valueSlicesIndex_ = index; in SetValueSlicesIndex()
132 void MultiVerSyncTaskContext::GetCommit(int index, MultiVerCommitNode &commit) const in GetCommit() argument
134 commit = commits_[index]; in GetCommit()
137 void MultiVerSyncTaskContext::SetCommit(int index, const MultiVerCommitNode &commit) in SetCommit() argument
139 commits_[index] in SetCommit()
164 GetEntry(int index, MultiVerKvEntry *&entry) GetEntry() argument
199 GetValueSliceHashNode(int index, ValueSliceHash &hashNode) const GetValueSliceHashNode() argument
[all...]
/test/testfwk/developer_test/src/core/command/
H A Ddisplay.py221 for index, element in enumerate(productform_list):
222 print("%d. %s" % (index + 1, element))
288 for index, element in enumerate(productform_list):
289 print(" %d. %s" % (index + 1, element))
299 for index, element in enumerate(testtype_list):
300 print(" %d. %s" % (index + 1, element))
314 for index, element in enumerate(subsystem_name_list):
315 print(" %d. %s" % (index + 1, element))
326 for index, element in enumerate(sub_list):
327 print(" %d. %s" % (index
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmpegvideodsp.c63 int index; in ff_gmc_c() local
74 index = src_x + src_y * stride; in ff_gmc_c()
76 ((src[index] * (s - frac_x) + in ff_gmc_c()
77 src[index + 1] * frac_x) * (s - frac_y) + in ff_gmc_c()
78 (src[index + stride] * (s - frac_x) + in ff_gmc_c()
79 src[index + stride + 1] * frac_x) * frac_y + in ff_gmc_c()
82 index = src_x + av_clip(src_y, 0, height) * stride; in ff_gmc_c()
84 ((src[index] * (s - frac_x) + in ff_gmc_c()
85 src[index + 1] * frac_x) * s + in ff_gmc_c()
90 index in ff_gmc_c()
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_liveness.c42 memcpy(tmp_live, live->live_out[block->index], in compute_block_liveness()
74 memcpy(live->live_in[block->index], tmp_live, in compute_block_liveness()
81 if (tmp_live[j] & ~live->live_out[pred->index][j]) in compute_block_liveness()
83 live->live_out[pred->index][j] |= tmp_live[j]; in compute_block_liveness()
93 if (!BITSET_TEST(live->live_out[pred->index], name)) { in compute_block_liveness()
95 BITSET_SET(live->live_out[pred->index], name); in compute_block_liveness()
107 if (!BITSET_TEST(live->live_out[pred->index], name)) { in compute_block_liveness()
109 BITSET_SET(live->live_out[pred->index], name); in compute_block_liveness()
130 block->index = block_count++; in ir3_calc_liveness()
147 block->index in ir3_calc_liveness()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dbitfield_method_mangling.rs24 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 Ddivide-by-zero-in-struct-layout.rs24 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 Dbitfield-method-same-name.rs24 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 Dbitfield-linux-32.rs24 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 Dderive-bitfield-method-same-name.rs24 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 Dderive-debug-bitfield.rs24 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 Dderive-debug-bitfield-core.rs26 pub fn get_bit(&self, index: usize) -> bool { in get_bit()
27 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit()
28 let byte_index = index / 8; in get_bit()
31 7 - (index % 8) in get_bit()
33 index % 8 in get_bit()
39 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit()
40 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit()
41 let byte_index = index / 8; in set_bit()
44 7 - (index % 8) in set_bit()
46 index in set_bit()
[all...]
H A Donly_bitfields.rs24 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/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_AUDOUT.c67 //CU_ASSERT_EQUAL(audioout.index, ?); in test_VIDIOC_G_AUDOUT()
84 audioout2.index = audioout.index; in test_VIDIOC_G_AUDOUT()
92 dprintf("\taudioout = {.index=%u, .name=\"%s\", " in test_VIDIOC_G_AUDOUT()
95 audioout.index, in test_VIDIOC_G_AUDOUT()
122 /* check whether the "index" field is ignored by VIDIOC_G_AUDOUT */ in test_VIDIOC_G_AUDOUT_ignore_index()
132 audioout2.index = U32_MAX; in test_VIDIOC_G_AUDOUT_ignore_index()
193 __u32 index; in test_VIDIOC_S_AUDOUT() local
223 index = 0; in test_VIDIOC_S_AUDOUT()
226 audioout_enum.index in test_VIDIOC_S_AUDOUT()
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module-builder.h178 void EmitGetLocal(uint32_t index);
179 void EmitSetLocal(uint32_t index);
180 void EmitTeeLocal(uint32_t index);
191 void EmitDirectCallIndex(uint32_t index);
267 uint32_t index; member
268 Entry(Kind kind, uint32_t index) : kind(kind), index(index) {} in Entry()
269 Entry() : kind(kRefNullEntry), index(0) {} in Entry()
284 // index o
384 GetTableType(uint32_t index) GetTableType() argument
386 IsSignature(uint32_t index) IsSignature() argument
390 GetSignature(uint32_t index) GetSignature() argument
395 IsStructType(uint32_t index) IsStructType() argument
398 GetStructType(uint32_t index) GetStructType() argument
402 IsArrayType(uint32_t index) IsArrayType() argument
405 GetArrayType(uint32_t index) GetArrayType() argument
409 GetFunction(uint32_t index) GetFunction() argument
418 GetExceptionType(int index) GetExceptionType() argument
439 int index; // Can be negative for re-exported imports. global() member
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DPixelProgram.cpp270 for(int index = 0; index < MAX_COLOR_BUFFERS; index++) in blendColor()
272 if(!state.colorWriteActive(index)) in blendColor()
277 auto format = state.colorFormat[index]; in blendColor()
301 Pointer<Byte> buffer = cBuffer[index] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[index])); in blendColor()
303 Vector4f colorf = alphaBlend(index, buffer, c[index], x); in blendColor()
310 writeColor(index, buffe in blendColor()
[all...]

Completed in 10 milliseconds

1...<<21222324252627282930>>...479