/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/ |
H A D | It_process_plimits_ipc_010.cpp | 57 int index = 0; in ItProcessPlimitsIpc010() local 78 mqSuccessCount = atoi(array[index++] + strlen("mq count: ")); in ItProcessPlimitsIpc010() 79 mqFailedCount = atoi(array[index++] + strlen("mq failed count: ")); in ItProcessPlimitsIpc010() 80 shmSuccessSize = atoi(array[index++] + strlen("shm size: ")); in ItProcessPlimitsIpc010() 81 shmFailedCount = atoi(array[index++] + strlen("shm failed count: ")); in ItProcessPlimitsIpc010()
|
/test/ostest/wukong/report/include/ |
H A D | statistics_componment.h | 40 * @return index 44 uint32_t index = componmentTypes_.size(); in ComponmentTypesIndex() local 45 TRACK_LOG_STR("componmentTypes_.size{%d}", index); in ComponmentTypesIndex() 49 index = findIndex; in ComponmentTypesIndex() 51 TRACK_LOG_STR("current componmentType find index{%d}", index); in ComponmentTypesIndex() 52 return index; in ComponmentTypesIndex()
|
/test/xts/hats/kernel/freelist/free_performance/ |
H A D | Malloc_free_performance.cpp | 214 size_t index = 0; in HWTEST_F() local 217 ptr[j] = malloc(g_sizes[index]); in HWTEST_F() 219 printf("Malloc size of %zu byte(s) failed: %s\n", g_sizes[index], strerror(errno)); in HWTEST_F() 221 ++index; in HWTEST_F() 222 index %= SIZE_ARR_SIZE; in HWTEST_F()
|
/third_party/elfio/examples/anonymizer/ |
H A D | anonymizer.cpp | 68 size_t index = 1; in process_string_table() local 69 while ( index < s->get_size() ) { in process_string_table() 70 auto str = std::string( s->get_data() + index ); in process_string_table() 73 overwrite_data( filename, s->get_offset() + index, str ); in process_string_table() 74 index += str.length() + 1; in process_string_table()
|
/third_party/ffmpeg/libavformat/ |
H A D | srtenc.c | 34 unsigned index; member 55 srt->index = 1; in srt_write_header() 78 "Insufficient timestamps in event number %d.\n", srt->index); in srt_write_packet() 83 srt->index, in srt_write_packet() 95 srt->index++; in srt_write_packet()
|
/third_party/glfw/src/ |
H A D | win32_thread.c | 43 tls->win32.index = TlsAlloc(); in _glfwPlatformCreateTls() 44 if (tls->win32.index == TLS_OUT_OF_INDEXES) in _glfwPlatformCreateTls() 46 _glfwInputError(GLFW_PLATFORM_ERROR, "Win32: Failed to allocate TLS index"); in _glfwPlatformCreateTls() 57 TlsFree(tls->win32.index); in _glfwPlatformDestroyTls() 64 return TlsGetValue(tls->win32.index); in _glfwPlatformGetTls() 70 TlsSetValue(tls->win32.index, value); in _glfwPlatformSetTls()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | nfrlist.h | 53 NFRule* operator[](uint32_t index) const { return fStuff != NULL ? fStuff[index] : NULL; } in operator []() 54 NFRule* remove(uint32_t index) { in remove() argument 58 NFRule* result = fStuff[index]; in remove() 60 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays in remove()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_opt_coalesce_ff_writes.c | 48 uint32_t temp = inst->src[i].index; in qir_opt_coalesce_ff_writes() 66 uint32_t temp = mov_inst->src[0].index; in qir_opt_coalesce_ff_writes() 94 c->defs[inst->dst.index] = NULL; in qir_opt_coalesce_ff_writes() 96 inst->dst.index = mov_inst->dst.index; in qir_opt_coalesce_ff_writes()
|
/third_party/node/deps/npm/node_modules/@colors/colors/lib/custom/ |
H A D | zalgo.js | 97 var index = arr[d]; 98 for (var i = 0; i <= counts[index]; i++) { 99 if (options[index]) { 100 result = result + soul[index][randomNumber(soul[index].length)];
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | nfrlist.h | 53 NFRule* operator[](uint32_t index) const { return fStuff != nullptr ? fStuff[index] : nullptr; } in operator []() 54 NFRule* remove(uint32_t index) { in remove() argument 58 NFRule* result = fStuff[index]; in remove() 60 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays in remove()
|
/third_party/icu/icu4c/source/layoutex/ |
H A D | LXUtilities.cpp | 60 le_int32 index = 0; in search() local 63 index = extra; in search() 69 if (value >= array[index + probe]) { in search() 70 index += probe; in search() 74 return index; in search()
|
/third_party/ltp/testcases/kernel/syscalls/msync/ |
H A D | msync04.c | 27 uint64_t pagemap_entry, pageflag_entry, pfn, index; in get_dirty_bit() local 30 index = (addr / pagesize) * sizeof(uint64_t); in get_dirty_bit() 32 SAFE_LSEEK(pagemap_fd, index, SEEK_SET); in get_dirty_bit() 39 index = pfn * sizeof(uint64_t); in get_dirty_bit() 40 SAFE_LSEEK(pageflags_fd, index, SEEK_SET); in get_dirty_bit()
|
/third_party/node/deps/v8/src/objects/ |
H A D | osr-optimized-code-cache.h | 84 MaybeObject RawGetForTesting(int index) const; 85 void RawSetForTesting(int index, MaybeObject value); 100 CodeT GetCodeFromEntry(int index); 101 SharedFunctionInfo GetSFIFromEntry(int index); 102 BytecodeOffset GetBytecodeOffsetFromEntry(int index);
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_query_sw.c | 126 etna_sw_get_driver_query_info(struct pipe_screen *pscreen, unsigned index, in etna_sw_get_driver_query_info() argument 132 if (index >= ARRAY_SIZE(list)) in etna_sw_get_driver_query_info() 135 *info = list[index]; in etna_sw_get_driver_query_info() 142 unsigned index, in etna_sw_get_driver_query_group_info() 148 if (index != 0) in etna_sw_get_driver_query_group_info() 141 etna_sw_get_driver_query_group_info(struct pipe_screen *pscreen, unsigned index, struct pipe_driver_query_group_info *info) etna_sw_get_driver_query_group_info() argument
|
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/ |
H A D | net_if_test.cpp | 15 * @tc.desc: Validate the functionality of the if_nametoindex function in retrieving the index of a network interface 23 unsigned index = if_nametoindex(ifAddr->ifa_name); in HWTEST_F() local 24 EXPECT_NE(index, 0U); in HWTEST_F() 31 * based on its index 38 unsigned index = if_nametoindex(ifAddr->ifa_name); in HWTEST_F() local 39 EXPECT_NE(index, 0U); in HWTEST_F() 42 char* name = if_indextoname(index, s); in HWTEST_F()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_query_sw.c | 80 if (q->index >= 5) { in nvc0_sw_begin_query() 81 sq->value = nvc0->screen->base.stats.v[q->index]; in nvc0_sw_begin_query() 94 sq->value = nvc0->screen->base.stats.v[q->index] - sq->value; in nvc0_sw_end_query() 119 nvc0_sw_create_query(struct nvc0_context *nvcO, unsigned type, unsigned index) in nvc0_sw_create_query() argument 134 q->index = type - NVC0_SW_QUERY_DRV_STAT(0); in nvc0_sw_create_query()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/ |
H A D | GlyphRenumberer.java | 88 int index = Offset.headerEnd.offset; in renumberCompositeGlyph() 91 flags = glyph.readUShort(index + Offset.compositeFlags.offset); in renumberCompositeGlyph() 92 int oldGlyphIndex = glyph.readUShort(index + Offset.compositeGlyphIndex.offset); in renumberCompositeGlyph() 94 result.writeUShort(index + Offset.compositeGlyphIndex.offset, newGlyphIndex); in renumberCompositeGlyph() 95 index += compositeReferenceSize(flags); in renumberCompositeGlyph()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_permute_phi_operands.cpp | 32 for (auto index : permutation) { in TransformationPermutePhiOperands() 33 message_.add_permutation(index); in TransformationPermutePhiOperands() 76 for (auto index : message_.permutation()) { in Apply() 77 permuted_operands.push_back(std::move(inst->GetInOperand(2 * index))); in Apply() 78 permuted_operands.push_back(std::move(inst->GetInOperand(2 * index + 1))); in Apply()
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
H A D | operand_to_dominating_id_reduction_opportunity_finder.cpp | 76 // We iterate through the operands using an explicit index (rather in GetOpportunitiesForDominatingInst() 77 // than using a lambda) so that we use said index in the construction in GetOpportunitiesForDominatingInst() 79 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetOpportunitiesForDominatingInst() 80 const auto& operand = inst.GetOperand(index); in GetOpportunitiesForDominatingInst() 101 &inst, index, candidate_dominator->result_id())); in GetOpportunitiesForDominatingInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_permute_phi_operands.cpp | 32 for (auto index : permutation) { in TransformationPermutePhiOperands() 33 message_.add_permutation(index); in TransformationPermutePhiOperands() 76 for (auto index : message_.permutation()) { in Apply() 77 permuted_operands.push_back(std::move(inst->GetInOperand(2 * index))); in Apply() 78 permuted_operands.push_back(std::move(inst->GetInOperand(2 * index + 1))); in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
H A D | operand_to_dominating_id_reduction_opportunity_finder.cpp | 76 // We iterate through the operands using an explicit index (rather in GetOpportunitiesForDominatingInst() 77 // than using a lambda) so that we use said index in the construction in GetOpportunitiesForDominatingInst() 79 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetOpportunitiesForDominatingInst() 80 const auto& operand = inst.GetOperand(index); in GetOpportunitiesForDominatingInst() 101 &inst, index, candidate_dominator->result_id())); in GetOpportunitiesForDominatingInst()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | nfrlist.h | 53 NFRule* operator[](uint32_t index) const { return fStuff != NULL ? fStuff[index] : NULL; } in operator []() 54 NFRule* remove(uint32_t index) { in remove() argument 58 NFRule* result = fStuff[index]; in remove() 60 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays in remove()
|
/third_party/skia/src/sksl/ |
H A D | SkSLLexer.cpp | 459 IndexEntry index = kIndices[state]; in get_transition() local 460 if (index.type == 0) { in get_transition() 463 if (index.type == 1) { in get_transition() 464 return kFull[index.pos].data[transition]; in get_transition() 466 const CompactEntry& entry = kCompact[index.pos]; in get_transition()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ms-feature-ranges.hh | 60 unsigned int index; member 68 return a->index < b->index ? -1 : a->index > b->index ? 1 : in cmp()
|
/third_party/skia/third_party/externals/tint/src/sem/ |
H A D | constant.h | 100 /// Calls `func(s)` with s being the current scalar value at `index`. 102 /// @param index the index of the scalar value 106 auto WithScalarAt(size_t index, Func&& func) const { in WithScalarAt() argument 109 return func(elems_[index].i32); in WithScalarAt() 112 return func(elems_[index].u32); in WithScalarAt() 115 return func(elems_[index].f32); in WithScalarAt() 118 return func(elems_[index].bool_); in WithScalarAt()
|