/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_dataflow_deadcode.c | 111 static unsigned char * get_used_ptr(struct deadcode_state *s, rc_register_file file, unsigned int index) in get_used_ptr() argument 114 if (index >= RC_REGISTER_MAX_INDEX) { in get_used_ptr() 115 rc_error(s->C, "%s: index %i is out of bounds for file %i\n", __FUNCTION__, index, file); in get_used_ptr() 120 return &s->R.Output[index]; in get_used_ptr() 122 return &s->R.Temporary[index]; in get_used_ptr() 126 if (index >= RC_NUM_SPECIAL_REGISTERS) { in get_used_ptr() 127 rc_error(s->C, "%s: special file index %i out of bounds\n", __FUNCTION__, index); in get_used_ptr() 131 return &s->R.Special[index]; in get_used_ptr() 137 mark_used(struct deadcode_state * s, rc_register_file file, unsigned int index, unsigned int mask) mark_used() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | card.c | 98 pa_subscription_post(core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_CHANGE, c->card->index); in pa_card_profile_set_available() 250 pa_assert_se(pa_idxset_put(card->core->cards, card, &card->index) >= 0); in pa_card_put() 253 pa_log_info("Created %u \"%s\"", card->index, card->name); in pa_card_put() 255 pa_subscription_post(card->core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_NEW, card->index); in pa_card_put() 271 pa_log_info("Freed %u \"%s\"", c->index, c->name); in pa_card_free() 272 pa_subscription_post(c->core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_REMOVE, c->index); in pa_card_free() 305 pa_subscription_post(c->core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_CHANGE, c->index); in pa_card_add_profile() 344 pa_subscription_post(c->core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_CHANGE, c->index); in card_set_profile_is_sticky() 358 pa_log_debug("set_profile() operation not implemented for card %u \"%s\"", c->index, c->name); in pa_card_set_profile() 389 pa_subscription_post(c->core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_CHANGE, c->index); in pa_card_set_profile() [all...] |
H A D | core-scache.c | 81 pa_subscription_post(e->core, PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE|PA_SUBSCRIPTION_EVENT_REMOVE, e->index); in free_entry() 108 pa_subscription_post(c, PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE|PA_SUBSCRIPTION_EVENT_CHANGE, e->index); in scache_add_item() 122 pa_idxset_put(c->scache, e, &e->index); in scache_add_item() 124 pa_subscription_post(c, PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE|PA_SUBSCRIPTION_EVENT_NEW, e->index); in scache_add_item() 196 *idx = e->index; in pa_scache_add_item() 199 name, e->index, (unsigned long) e->memchunk.length, in pa_scache_add_item() 269 *idx = e->index; in pa_scache_add_file_lazy() 330 pa_subscription_post(c, PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE|PA_SUBSCRIPTION_EVENT_CHANGE, e->index); in pa_scache_play_item() 415 return e->index; in pa_scache_get_id_by_name() 458 pa_subscription_post(c, PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE|PA_SUBSCRIPTION_EVENT_CHANGE, e->index); in pa_scache_unload_unused() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_obfuscate_constants.cpp | 106 for (uint32_t index : {0u, 1u}) { in ObfuscateBoolConstantViaConstantPair() 111 binary_operator_instruction->GetSingleWordInOperand(index), in ObfuscateBoolConstantViaConstantPair() 114 index); in ObfuscateBoolConstantViaConstantPair() 359 // Make sure the module has OpConstant instructions for each index used to in ObfuscateScalarConstant() 361 for (auto index : uniform_descriptor.index()) { in ObfuscateScalarConstant() 362 FindOrCreateIntegerConstant({index}, 32, true, false); in ObfuscateScalarConstant() 379 uniform_descriptor.index()); in ObfuscateScalarConstant() 507 // constant use at a random index. in Apply() 509 auto index in Apply() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_obfuscate_constants.cpp | 106 for (uint32_t index : {0u, 1u}) { in ObfuscateBoolConstantViaConstantPair() 111 binary_operator_instruction->GetSingleWordInOperand(index), in ObfuscateBoolConstantViaConstantPair() 114 index); in ObfuscateBoolConstantViaConstantPair() 359 // Make sure the module has OpConstant instructions for each index used to in ObfuscateScalarConstant() 361 for (auto index : uniform_descriptor.index()) { in ObfuscateScalarConstant() 362 FindOrCreateIntegerConstant({index}, 32, true, false); in ObfuscateScalarConstant() 379 uniform_descriptor.index()); in ObfuscateScalarConstant() 507 // constant use at a random index. in Apply() 509 auto index in Apply() local [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jcmarker.c | 149 emit_dqt(j_compress_ptr cinfo, int index) in emit_dqt() argument 153 JQUANT_TBL *qtbl = cinfo->quant_tbl_ptrs[index]; in emit_dqt() 158 ERREXIT1(cinfo, JERR_NO_QUANT_TABLE, index); in emit_dqt() 171 emit_byte(cinfo, index + (prec << 4)); in emit_dqt() 189 emit_dht(j_compress_ptr cinfo, int index, boolean is_ac) in emit_dht() argument 196 htbl = cinfo->ac_huff_tbl_ptrs[index]; in emit_dht() 197 index += 0x10; /* output index has AC bit set */ in emit_dht() 199 htbl = cinfo->dc_huff_tbl_ptrs[index]; in emit_dht() 203 ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, index); in emit_dht() [all...] |
/third_party/skia/src/sksl/ |
H A D | SkSLMain.cpp | 431 String sampleShader(int index, String coords) override { in processCommand() 432 return "child_" + SkSL::to_string(index) + ".eval(" + coords + ")"; in processCommand() 435 String sampleColorFilter(int index, String color) override { in processCommand() 436 return "child_" + SkSL::to_string(index) + ".eval(" + color + ")"; in processCommand() 439 String sampleBlender(int index, String src, String dst) override { in processCommand() 440 return "child_" + SkSL::to_string(index) + ".eval(" + src + ", " + in processCommand() 450 // by index, not name - so all children here are just "child_N". in processCommand() 556 for (int index=0; index<argc; ++index) { [all...] |
/third_party/skia/src/pathops/ |
H A D | SkPathOpsCurve.h | 31 for (int index = 0; index < SkDQuad::kPointCount; ++index) { in set() 32 fPts[index] = quad[index].asSkPoint(); in set() 39 for (int index = 0; index < SkDCubic::kPointCount; ++index) { in set() 40 fPts[index] = cubic[index] in set() [all...] |
/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | infblock.c | 235 s->sub.trees.index = 0; in inflate_blocks() 240 while (s->sub.trees.index < 4 + (s->sub.trees.table >> 10)) in inflate_blocks() 243 s->sub.trees.blens[border[s->sub.trees.index++]] = (uInt)b & 7; in inflate_blocks() 246 while (s->sub.trees.index < 19) in inflate_blocks() 247 s->sub.trees.blens[border[s->sub.trees.index++]] = 0; in inflate_blocks() 261 s->sub.trees.index = 0; in inflate_blocks() 267 s->sub.trees.index < 258 + (t & 0x1f) + ((t >> 5) & 0x1f)) in inflate_blocks() 280 s->sub.trees.blens[s->sub.trees.index++] = c; in inflate_blocks() 290 i = s->sub.trees.index; in inflate_blocks() 305 s->sub.trees.index in inflate_blocks() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndexYAML.h | 274 static void mapping(IO &io, ModuleSummaryIndex& index) { in mapping() 275 io.mapOptional("GlobalValueMap", index.GlobalValueMap); in mapping() 276 io.mapOptional("TypeIdMap", index.TypeIdMap); in mapping() 278 index.WithGlobalValueDeadStripping); in mapping() 281 std::vector<std::string> CfiFunctionDefs(index.CfiFunctionDefs.begin(), in mapping() 282 index.CfiFunctionDefs.end()); in mapping() 284 std::vector<std::string> CfiFunctionDecls(index.CfiFunctionDecls.begin(), in mapping() 285 index.CfiFunctionDecls.end()); in mapping() 290 index.CfiFunctionDefs = {CfiFunctionDefs.begin(), CfiFunctionDefs.end()}; in mapping() 293 index in mapping() [all...] |
/third_party/vixl/src/aarch64/ |
H A D | operands-aarch64.cc | 36 int index = CountTrailingZeros(list); in PopLowestIndex() local 37 VIXL_ASSERT(((static_cast<RegList>(1) << index) & list) != 0); in PopLowestIndex() 38 Remove(index); in PopLowestIndex() 39 return CPURegister(index, size_, type_); in PopLowestIndex() 46 int index = CountLeadingZeros(list); in PopHighestIndex() local 47 index = kRegListSizeInBits - 1 - index; in PopHighestIndex() 48 VIXL_ASSERT(((static_cast<RegList>(1) << index) & list) != 0); in PopHighestIndex() 49 Remove(index); in PopHighestIndex() 50 return CPURegister(index, size in PopHighestIndex() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_xmp_sdk.cpp | 795 int32 index, in ComposeArrayItemPath() 804 SXMPUtils::ComposeArrayItemPath (ns, arrayName, index, &ss); in ComposeArrayItemPath() 928 XMP_Index index = 1; in ValidateStringList() local 934 index++, in ValidateStringList() 973 XMP_Index index = 1; in GetStringList() local 979 index++, in GetStringList() 1199 for (uint32 index = 0; index < list.Count (); index++) in SetStringList() 1202 dng_string s (list [index]); in SetStringList() 793 ComposeArrayItemPath(const char *ns, const char *arrayName, int32 index, dng_string &s) const ComposeArrayItemPath() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_linecache.py | 60 for index, line in enumerate(fp): 64 cached_line = linecache.getline(self.file_name, index + 1) 120 for index, line in enumerate(file): 121 self.assertEqual(line, getline(filename, index + 1)) 163 for index, line in enumerate(source): 164 self.assertEqual(line, getline(source_name, index + 1)) 174 for index, line in enumerate(source_list): 175 self.assertEqual(line, getline(source_name, index + 1)) 180 for index, line in enumerate(source): 181 self.assertEqual(line, getline(source_name, index [all...] |
/third_party/rust/crates/minimal-lexical/src/ |
H A D | bigint.rs | 119 fn index(&self, index: usize) -> &T { in index() functions 121 &(*self.inner)[len - index - 1] in index() 161 // We don't care if this wraps: the index is bounds-checked. in normalize() 175 // We don't care if this wraps: the index is bounds-checked. in is_normalized() 431 let mut index = start; in small_add_from() variables 433 while carry != 0 && index < x.len() { in small_add_from() 434 let result = scalar_add(x[index], carry); in small_add_from() 435 x[index] = result.0; in small_add_from() 437 index in small_add_from() [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_obfuscate_constants.cpp | 106 for (uint32_t index : {0u, 1u}) { in ObfuscateBoolConstantViaConstantPair() 111 binary_operator_instruction->GetSingleWordInOperand(index), in ObfuscateBoolConstantViaConstantPair() 114 index); in ObfuscateBoolConstantViaConstantPair() 361 // Make sure the module has OpConstant instructions for each index used to in ObfuscateScalarConstant() 363 for (auto index : uniform_descriptor.index()) { in ObfuscateScalarConstant() 364 FindOrCreateIntegerConstant({index}, 32, true, false); in ObfuscateScalarConstant() 381 uniform_descriptor.index()); in ObfuscateScalarConstant() 509 // constant use at a random index. in Apply() 511 auto index in Apply() local [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | loop_fission.cpp | 259 for (size_t index = 0; index < sets.size() / 2; ++index) { in GroupInstructionsByUseDef() 260 cloned_loop_instructions_.insert(sets[index].begin(), sets[index].end()); in GroupInstructionsByUseDef() 262 for (size_t index = sets.size() / 2; index < sets.size(); ++index) { in GroupInstructionsByUseDef() 263 original_loop_instructions_.insert(sets[index].begin(), sets[index] in GroupInstructionsByUseDef() [all...] |
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/ |
H A D | concat_builder.cpp | 70 LOGE("[Concat] Build failed, The number of index of outputs not equal to 1."); in Build() 82 LOGE("[Concat] Build failed, passed invalid param index."); in Build() 114 bool isOverTensorSize = std::any_of(inputsIndex.begin(), inputsIndex.end(), [allTensorsSize](uint32_t index) { in SetInputsAndOutputs() 115 return index >= allTensorsSize; in SetInputsAndOutputs() 118 LOGE("[Concat] Invalid input index, it is out of range %zu.", allTensorsSize); in SetInputsAndOutputs() 122 isOverTensorSize = std::any_of(outputsIndex.begin(), outputsIndex.end(), [allTensorsSize](uint32_t index) { in SetInputsAndOutputs() 123 return index >= allTensorsSize; in SetInputsAndOutputs() 126 LOGE("[Concat] Invalid output index, it is out of range %zu.", allTensorsSize); in SetInputsAndOutputs()
|
H A D | unstack_builder.cpp | 64 LOGE("[Unstack] The number of index of inputs don't equal to %d.", INPUT_NUM);
in Build() 69 LOGE("[Unstack] The number of index of outputs don't larger than %d.", OUTPUT_MIN_NUM);
in Build() 74 bool isOverTensorSize = std::any_of(inputsIndex.begin(), inputsIndex.end(), [allTensorsSize](uint32_t index) {
in Build() 75 return index >= allTensorsSize;
in Build() 78 LOGE("[Unstack] The index of inputs is out of range.");
in Build() 82 isOverTensorSize = std::any_of(outputsIndex.begin(), outputsIndex.end(), [allTensorsSize](uint32_t index) {
in Build() 83 return index >= allTensorsSize;
in Build() 86 LOGE("[Unstack] The index of outputs is out of range.");
in Build() 95 LOGE("[Unstack] Passed invalid param index.");
in Build()
|
/foundation/ai/neural_network_runtime/test/system_test/common/ |
H A D | nnrt_test.h | 60 virtual OH_NN_ReturnCode SetInput(uint32_t index, 64 virtual OH_NN_ReturnCode SetOutput(uint32_t index, void* buffer, size_t length); 65 virtual OH_NN_ReturnCode SetInputFromMemory(uint32_t index, 70 virtual OH_NN_ReturnCode SetOutputFromMemory(uint32_t index, size_t length, OH_NN_Memory** pMemory);
|
/foundation/CastEngine/castengine_wifi_display/services/utils/ |
H A D | circular_buffer.h | 129 T &at(size_t index) in at() argument 131 return circular_buffer_[index]; in at() 154 T &operator[](int32_t index) in operator []() argument 156 return circular_buffer_[index]; in operator []()
|
/foundation/CastEngine/castengine_wifi_display/services/codec/include/ |
H A D | video_source_encoder.h | 63 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<MediaAVCodec::AVSharedMemory> buffer); 64 void OnOutputBufferAvailable(uint32_t index, MediaAVCodec::AVCodecBufferInfo info, 83 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<MediaAVCodec::AVSharedMemory> buffer); 84 void OnOutputBufferAvailable(uint32_t index, MediaAVCodec::AVCodecBufferInfo info,
|
/foundation/ability/ability_base/interfaces/inner_api/base/src/ |
H A D | zchar_wrapper.cpp | 115 int index) in GetChar() 117 if (str.empty() || index < 0) { in GetChar() 130 if (index == 0) { in GetChar() 134 index -= 1; in GetChar() 114 GetChar(const std::string &str, int index) GetChar() argument
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_child_process_param.cpp | 67 for (uint32_t index = 0; index < keyCount; index++) { in UnwrapChildProcessFds() 68 NAPI_CALL_BASE(env, napi_get_element(env, jsKeyList, index, &jsKey), false); in UnwrapChildProcessFds()
|
/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/ |
H A D | tool_bar_item_element.cpp | 84 popup_->SetOptionClickedCallback([weak = WeakClaim(this)](std::size_t index) { in InitSelectPopup() 89 refPtr->OnOptionCallback(index); in InitSelectPopup() 94 void ToolBarItemElement::OnOptionCallback(std::size_t index) in OnOptionCallback() argument 97 auto option = popup_->GetSelectOption(index); in OnOptionCallback() 99 LOGE("option of the index is null."); in OnOptionCallback()
|
/foundation/arkui/ace_engine/frameworks/core/components/menu/ |
H A D | menu_element.cpp | 36 popup->SetOptionClickedCallback([weak = WeakClaim(this)](std::size_t index) { in PerformBuild() 41 refPtr->OnOptionCallback(index); in PerformBuild() 149 void MenuElement::OnOptionCallback(std::size_t index) in OnOptionCallback() argument 161 auto option = popup->GetSelectOption(index); in OnOptionCallback() 163 LOGE("option of the index is null."); in OnOptionCallback()
|