/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/smoke/ |
H A D | pthread_rwlock_test_001.cpp | 110 for (int index = 0; index < WRITE_THREAD_COUNT; index++) { in ThreadReadFunc() 111 ICUNIT_GOTO_EQUAL(g_isWriting[index], 0, g_isWriting[index], EXIT); in ThreadReadFunc() 227 int index = 0; in Testcase() local 241 while (index < 2) { // 2, Set the cycle number. in Testcase() 273 index++; in Testcase()
|
/third_party/ffmpeg/libavutil/x86/ |
H A D | cpu.c | 33 #define cpuid(index, eax, ebx, ecx, edx) \ 34 ff_cpu_cpuid(index, &eax, &ebx, &ecx, &edx) 36 #define xgetbv(index, eax, edx) \ 37 ff_cpu_xgetbv(index, &eax, &edx) 42 #define cpuid(index, eax, ebx, ecx, edx) \ 48 : "0" (index), "2"(0)) 50 #define xgetbv(index, eax, edx) \ 51 __asm__ (".byte 0x0f, 0x01, 0xd0" : "=a"(eax), "=d"(edx) : "c" (index))
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | DateNumberFormat.java | 162 int index = limit - 1; in format() 164 decimalBuf[index] = digits[(number % 10)]; in format() 166 if (index == 0 || number == 0) { in format() 169 index--; in format() 171 int padding = minIntDigits - (limit - index); in format() 173 decimalBuf[--index] = digits[0]; in format() 175 int length = limit - index; in format() 176 toAppendTo.append(decimalBuf, index, length); in format()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CompactCharArray.java | 28 * A compact array is composed of a index array and value array. The index 87 * @exception IllegalArgumentException If the index is out of range. 99 char index = indexArray[i]; in CompactCharArray() 100 if (index >= newValues.length+BLOCKCOUNT) in CompactCharArray() 114 * @throws IllegalArgumentException if the index or value array is 129 * @param index the character to get the mapped value with 135 public char elementAt(char index) in elementAt() argument 137 int ix = (indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 138 + (index in elementAt() 151 setElementAt(char index, char value) setElementAt() argument [all...] |
H A D | CompactByteArray.java | 26 * A compact array is composed of a index array and value array. The index 86 * @exception IllegalArgumentException If the index is out of range. 98 char index = indexArray[i]; in CompactByteArray() 99 if (index >= newValues.length+BLOCKCOUNT) in CompactByteArray() 113 * @throws IllegalArgumentException if the index or value array is 128 * @param index the character to get the mapped value with 134 public byte elementAt(char index) in elementAt() argument 136 return (values[(indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 137 + (index in elementAt() 149 setElementAt(char index, byte value) setElementAt() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | UnicodeNormalizerConformanceTest.java | 223 int index = 0; in hexsplit() 225 while(index< len){ in hexsplit() 226 if(toHex.charAt(index)==' '){ in hexsplit() 227 index++; in hexsplit() 229 int spacePos = toHex.indexOf(' ', index); in hexsplit() 231 appendInt(buf,toHex.substring(index,len),s); in hexsplit() 234 appendInt(buf,toHex.substring(index, spacePos),s); in hexsplit() 236 index = spacePos+1; in hexsplit()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CompactCharArray.java | 29 * A compact array is composed of a index array and value array. The index 89 * @exception IllegalArgumentException If the index is out of range. 101 char index = indexArray[i]; in CompactCharArray() 102 if (index >= newValues.length+BLOCKCOUNT) in CompactCharArray() 116 * @throws IllegalArgumentException if the index or value array is 131 * @param index the character to get the mapped value with 137 public char elementAt(char index) in elementAt() argument 139 int ix = (indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 140 + (index in elementAt() 153 setElementAt(char index, char value) setElementAt() argument [all...] |
H A D | CompactByteArray.java | 27 * A compact array is composed of a index array and value array. The index 88 * @exception IllegalArgumentException If the index is out of range. 100 char index = indexArray[i]; in CompactByteArray() 101 if (index >= newValues.length+BLOCKCOUNT) in CompactByteArray() 115 * @throws IllegalArgumentException if the index or value array is 130 * @param index the character to get the mapped value with 136 public byte elementAt(char index) in elementAt() argument 138 return (values[(indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 139 + (index in elementAt() 151 setElementAt(char index, byte value) setElementAt() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | DateNumberFormat.java | 166 int index = limit - 1; in format() 168 decimalBuf[index] = digits[(number % 10)]; in format() 170 if (index == 0 || number == 0) { in format() 173 index--; in format() 175 int padding = minIntDigits - (limit - index); in format() 177 decimalBuf[--index] = digits[0]; in format() 179 int length = limit - index; in format() 180 toAppendTo.append(decimalBuf, index, length); in format()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | UnicodeNormalizerConformanceTest.java | 220 int index = 0; in hexsplit() 222 while(index< len){ in hexsplit() 223 if(toHex.charAt(index)==' '){ in hexsplit() 224 index++; in hexsplit() 226 int spacePos = toHex.indexOf(' ', index); in hexsplit() 228 appendInt(buf,toHex.substring(index,len),s); in hexsplit() 231 appendInt(buf,toHex.substring(index, spacePos),s); in hexsplit() 233 index = spacePos+1; in hexsplit()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-function-prototype.c | 133 uint32_t index = 0; in ecma_builtin_function_prototype_object_apply() local 136 for (index = 0; index < length; index++) in ecma_builtin_function_prototype_object_apply() 138 ecma_value_t get_value = ecma_op_object_get_by_uint32_index (obj_p, index); in ecma_builtin_function_prototype_object_apply() 146 arguments_list_p[index] = get_value; in ecma_builtin_function_prototype_object_apply() 151 JERRY_ASSERT (index == length); in ecma_builtin_function_prototype_object_apply() 158 for (uint32_t remove_index = 0; remove_index < index; remove_index++) in ecma_builtin_function_prototype_object_apply()
|
/third_party/node/test/node-api/test_reference_by_node_api_version/ |
H A D | test_reference_by_node_api_version.c | 29 uint32_t* index) { in GetArgValueAsIndex() 38 return napi_get_value_uint32(env, argValue, index); in GetArgValueAsIndex() 44 uint32_t index; in GetRef() local 45 NODE_API_CHECK_STATUS(GetArgValueAsIndex(env, info, &index)); in GetRef() 51 *ref = refValues[index]; in GetRef() 81 uint32_t index = (uint32_t)valueType; in CreateRef() local 86 napi_create_reference(env, argValue, 1, valueRefs + index)); in CreateRef() 88 return ToUInt32Value(env, index); in CreateRef() 27 GetArgValueAsIndex(napi_env env, napi_callback_info info, uint32_t* index) GetArgValueAsIndex() argument
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-debug.h | 49 int index; member 59 if (index != other.index) return false; in operator ==() 99 return changed_value.index < stack_index; in FindChangedValue() 101 return it != changed_values_.end() && it->index == stack_index ? &*it in FindChangedValue() 183 WasmValue GetStackValue(int index, Address pc, Address fp, 186 // Returns the name of the entity (with the given |index| and |kind|) derived 189 WireBytesRef GetExportName(ImportExportKindCode kind, uint32_t index); 191 // Returns the module and field name of the entity (with the given |index| 195 uint32_t index); [all...] |
/third_party/node/deps/npm/node_modules/cacache/lib/ |
H A D | get.js | 7 const index = require('./entry-index') 23 const entry = await index.find(cache, key, opts) 25 throw new index.NotFoundError(cache, key) 77 const entry = await index.find(cache, key) 79 throw new index.NotFoundError(cache, key) 143 return index.find(cache, key) 149 const entry = await index.find(cache, key, opts) 151 throw new index.NotFoundError(cache, key)
|
/third_party/node/deps/v8/src/ast/ |
H A D | variables.h | 210 int index() const { return index_; } in index() function in v8::internal::final 220 DCHECK_NE(index(), 0); in IsExport() 221 return index() > 0; in IsExport() 224 void AllocateTo(VariableLocation location, int index) { in AllocateTo() argument 226 (this->location() == location && this->index() == index)); in AllocateTo() 227 DCHECK_IMPLIES(location == VariableLocation::MODULE, index != 0); in AllocateTo() 230 index_ = index; in AllocateTo()
|
/third_party/node/deps/v8/src/base/ |
H A D | small-vector.h | 110 T& operator[](size_t index) { in operator []() argument 111 DCHECK_GT(size(), index); in operator []() local 112 return begin_[index]; in operator []() 115 const T& at(size_t index) const { in at() 116 DCHECK_GT(size(), index); in at() local 117 return begin_[index]; in at() 120 const T& operator[](size_t index) const { return at(index); } in operator []()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
H A D | DigitSequence.java | 51 // class will also need to be considered carefully and details like the "index()" value will have 67 // A table of adjustment values to convert a digit sequence into an absolute index in the 73 // ("", "00"-"09", "000"-"099"), so its index is {@code 123 + 111 = 234}. 141 return end.index() - start.index(); in distance() 225 * Returns the digit at index {@code n} in this digit sequence, starting from the most 281 /** Returns the absolute index of this digit sequence within the integer domain. */ 282 private long index() { in index() method in DigitSequence 288 return Long.signum(index() - other.index()); in compareTo() [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | stdin-util.c | 97 if (m->items[i].index == PA_INVALID_INDEX) in unload_one_module() 100 pa_log_debug("Unloading module #%i", m->items[i].index); in unload_one_module() 101 pa_module_unload_by_index(u->core, m->items[i].index, true); in unload_one_module() 102 m->items[i].index = PA_INVALID_INDEX; in unload_one_module() 136 if (m->items[i].index != PA_INVALID_INDEX && in load_module() 148 m->items[i].index = PA_INVALID_INDEX; in load_module() 155 m->items[i].index = mod->index; in load_module()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | SlotIndexes.cpp | 33 "Slot index numbering", false, false) 53 // Grab an iterator to the start of the index list. in runOnMachineFunction() 57 // At each iteration assert that the instruction pointed to in the index in runOnMachineFunction() 74 unsigned index = 0; in runOnMachineFunction() local 78 indexList.push_back(createEntry(nullptr, index)); in runOnMachineFunction() 82 // Insert an index for the MBB start. in runOnMachineFunction() 89 // Insert a store index for the instr. in runOnMachineFunction() 90 indexList.push_back(createEntry(&MI, index += SlotIndex::InstrDist)); in runOnMachineFunction() 92 // Save this base index in the maps. in runOnMachineFunction() 98 indexList.push_back(createEntry(nullptr, index in runOnMachineFunction() 165 unsigned index = startItr->getIndex(); renumberIndexes() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cTextureStorageMultisampleGetMultisamplefvTests.cpp | 51 "Verifies GetMultisamplefv() rejects index equal to GL_SAMPLES value") in MultisampleTextureGetMultisamplefvIndexEqualGLSamplesRejectedTest() 70 /* Issue call with valid parameters, but invalid index equal to GL_SAMPLES value */ in iterate() 93 "Verifies GetMultisamplefv() rejects index greater than GL_SAMPLES value") in MultisampleTextureGetMultisamplefvIndexGreaterGLSamplesRejectedTest() 112 /* Issue call with valid parameters, but invalid index greater than GL_SAMPLES value */ in iterate() 265 /* Iterate through valid index values */ in iterate() 266 for (glw::GLint index = 0; index < gl_samples_value; ++index) in iterate() 269 gl.getMultisamplefv(GL_SAMPLE_POSITION, index, val); in iterate() 273 } /* for (all valid index argumen in iterate() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
H A D | TextureNULL.h | 25 const gl::ImageIndex &index, 34 const gl::ImageIndex &index, 43 const gl::ImageIndex &index, 50 const gl::ImageIndex &index, 58 const gl::ImageIndex &index, 63 const gl::ImageIndex &index, 69 const gl::ImageIndex &index, 78 const gl::ImageIndex &index,
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | FramebufferAttachmentPerfTest.cpp | 132 for (size_t index = 0; index < textureCount; index++) in drawBenchmark() 134 size_t textureIndex = mTextures.size() - (index + 1); in drawBenchmark() 180 for (size_t index = 0; index < mTextures.size(); index++) in destroyBenchmark() 182 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + index, GL_TEXTURE_2D, 0, in destroyBenchmark()
|
/third_party/skia/samplecode/ |
H A D | SampleChineseFling.cpp | 59 int index = fIndex; variable 63 canvas->drawTextBlob(fBlobs[index], 0, y, paint); 66 ++index; 67 index %= kNumBlobs; 172 for (int index = 0; index < kNumBlobs; ++index) { 174 canvas->drawTextBlob(fBlobs[index], 0, y, paint);
|
/third_party/skia/tests/ |
H A D | PathOpsCubicLineIntersectionTest.cpp | 181 for (size_t index = 0; index < failLineCubicTests_count; ++index) { in DEF_TEST() 182 int iIndex = static_cast<int>(index); in DEF_TEST() 189 for (size_t index = 0; index < lineCubicTests_count; ++index) { in DEF_TEST() 190 int iIndex = static_cast<int>(index); in DEF_TEST()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-map.hh | 50 unsigned int index[2]; /* GSUB/GPOS */ member 65 unsigned short index; member 75 return a->index < b->index ? -1 : a->index > b->index ? 1 : 0; in cmp() 131 return map ? map->index[table_index] : HB_OT_LAYOUT_NO_FEATURE_INDEX; in get_feature_index() 260 unsigned int index; member
|