/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | binary.cpp | 94 // the header has been parsed, the endian has been set, and the word index is 164 uint32_t peekAt(size_t index) const { in peekAt() 165 assert(index < _.num_words); in peekAt() 166 return spvFixWord(_.words[index], _.endian); in peekAt()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | eliminate_dead_members_pass.cpp | 226 // For a pointer access chain, we need to skip the |element| index. It is not in MarkMembersAsLiveForAccessChain() 240 uint32_t index = in MarkMembersAsLiveForAccessChain() local 242 used_members_[type_id].insert(index); in MarkMembersAsLiveForAccessChain() 243 type_id = type_inst->GetSingleWordInOperand(index); in MarkMembersAsLiveForAccessChain() 501 // index. in UpdateAccessChain() 574 // index. in UpdateCompsiteExtract() 635 // index. in UpdateCompositeInsert()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | binary.cpp | 94 // the header has been parsed, the endian has been set, and the word index is 164 uint32_t peekAt(size_t index) const { in peekAt() 165 assert(index < _.num_words); in peekAt() 166 return spvFixWord(_.words[index], _.endian); in peekAt()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | eliminate_dead_members_pass.cpp | 226 // For a pointer access chain, we need to skip the |element| index. It is not in MarkMembersAsLiveForAccessChain() 240 uint32_t index = in MarkMembersAsLiveForAccessChain() local 242 used_members_[type_id].insert(index); in MarkMembersAsLiveForAccessChain() 243 type_id = type_inst->GetSingleWordInOperand(index); in MarkMembersAsLiveForAccessChain() 501 // index. in UpdateAccessChain() 574 // index. in UpdateCompsiteExtract() 635 // index. in UpdateCompositeInsert()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | listformatter.cpp | 614 // (We prepend in reverse order because prepending at index 0 is fast.) in append() 654 int32_t index, in format() 661 if (index >= 0) { in format() 663 cfpos.constrainField(UFIELD_CATEGORY_LIST_SPAN, index); in format() 650 format( const UnicodeString items[], int32_t nItems, UnicodeString& appendTo, int32_t index, int32_t &offset, UErrorCode& errorCode) const format() argument
|
H A D | ucol_res.cpp | 541 ucol_getAvailable(int32_t index) in ucol_getAvailable() argument 545 if (loc != NULL && index < count) { in ucol_getAvailable() 546 return loc[index].getName(); in ucol_getAvailable()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-uniscribe.cc | 391 unsigned int index; in _hb_rename_font() local 392 if (face.find_table_index (HB_OT_TAG_name, &index)) in _hb_rename_font() 394 OT::TableRecord &record = const_cast<OT::TableRecord &> (face.get_table (index)); in _hb_rename_font()
|
/third_party/spirv-tools/source/ |
H A D | binary.cpp | 104 // the header has been parsed, the endian has been set, and the word index is 174 uint32_t peekAt(size_t index) const { in peekAt() 175 assert(index < _.num_words); in peekAt() 176 return spvFixWord(_.words[index], _.endian); in peekAt()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | serv.cpp | 502 int32_t index = startIndex; in getKey() local 503 while (index < limit) { in getKey() 504 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(index++); in getKey()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | inlined_vector.h | 624 size_type index = std::distance(cbegin(), pos); in insert() local 625 for (size_type i = index; first != last; ++i, static_cast<void>(++first)) { in insert() 629 return iterator(data() + index); in insert()
|
/third_party/skia/modules/canvaskit/ |
H A D | matrix.js | 519 var index = 0; 522 m[index++] = outer[j + 0] * inner[i + 0] + 527 m[index++] = outer[j + 0] * inner[4] +
|
/third_party/vk-gl-cts/framework/platform/null/ |
H A D | tcuNullRenderContext.cpp | 484 GLW_APICALL const glw::GLubyte* GLW_APIENTRY glGetStringi (GLenum name, GLuint index) in glGetStringi() argument 490 if ((size_t)index < ctx->extensionList.size()) in glGetStringi() 491 return (const glw::GLubyte*)ctx->extensionList[index].c_str(); in glGetStringi()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_state_common.c | 461 /* This sets 1-bit for states with index >= count. */ in r600_bind_sampler_states() 656 /* This sets 1-bit for textures with index >= count. */ in r600_set_sampler_views() 661 /* Set textures with index >= count to NULL. */ in r600_set_sampler_views() 1040 unsigned index = sel->info.output_semantic_index[i]; in r600_create_shader_state() local 1047 1ull << r600_get_lds_unique_index(name, index); in r600_create_shader_state() 1051 1ull << r600_get_lds_unique_index(name, index); in r600_create_shader_state() 1269 enum pipe_shader_type shader, uint index, in r600_set_constant_buffer() 1282 state->enabled_mask &= ~(1 << index); in r600_set_constant_buffer() 1283 state->dirty_mask &= ~(1 << index); in r600_set_constant_buffer() 1284 pipe_resource_reference(&state->cb[index] in r600_set_constant_buffer() 1268 r600_set_constant_buffer(struct pipe_context *ctx, enum pipe_shader_type shader, uint index, bool take_ownership, const struct pipe_constant_buffer *input) r600_set_constant_buffer() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_context.cpp | 1389 enum pipe_shader_type shader, uint index, 1394 struct d3d12_resource *old_buf = d3d12_resource(ctx->cbufs[shader][index].buffer); 1403 buf->user_buffer, &offset, &ctx->cbufs[shader][index].buffer); 1405 d3d12_resource(ctx->cbufs[shader][index].buffer)); 1412 pipe_resource_reference(&ctx->cbufs[shader][index].buffer, NULL); 1413 ctx->cbufs[shader][index].buffer = buffer; 1415 pipe_resource_reference(&ctx->cbufs[shader][index].buffer, buffer); 1419 ctx->cbufs[shader][index].buffer_offset = offset; 1420 ctx->cbufs[shader][index].buffer_size = buf->buffer_size; 1421 ctx->cbufs[shader][index] [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | MultisampledRenderToTextureTest.cpp | 75 for (unsigned int index = 0; index < 8; index++) in setupUniformColorProgramMultiRenderTarget() 77 if (bufferEnabled[index]) in setupUniformColorProgramMultiRenderTarget() 79 fs << " gl_FragData[" << index << "] = " << essl1_shaders::ColorUniform() in setupUniformColorProgramMultiRenderTarget() 761 // break of the render pass, and must work correctly with respect to the subpass index that's used. 1575 // should use the correct subpass index. 3548 for (unsigned int index = 0; index < 2; ++index) in drawCopyThenBlendAllAttachmentsMixed() [all...] |
/third_party/toybox/toys/pending/ |
H A D | ip.c | 205 int index = idx & (size-1); in parseRPDB() local 206 if (list[index]) free(list[index]->name); in parseRPDB() 207 else list[index] = xzalloc(sizeof(struct arglist)); in parseRPDB() 208 list[index]->idx = idx; in parseRPDB() 209 list[index]->name = xstrdup(toybuf); in parseRPDB() 505 int index = -1; in get_ifaceindex() local 512 index = i->if_index; in get_ifaceindex() 516 if (index == -1 && ext) perror_exit("can't find device '%s'", name); in get_ifaceindex() 517 return index; in get_ifaceindex() 966 uint32_t index = 0; link_show() local [all...] |
/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_service_stub_test.cpp | 476 for (size_t index = 0; index < printerInfos.size(); index++) { in HWTEST_F() 477 printerInfos[index].Marshalling(data); in HWTEST_F() 605 for (size_t index = 0; index < printerInfos.size(); index++) { in HWTEST_F() 606 printerInfos[index].Marshalling(data); in HWTEST_F()
|
/base/request/request/services/src/cxx/ |
H A D | c_request_database.cpp | 50 for (int index = 0; index < 10; ++index) { in BuildDatabase() 461 REQUEST_HILOGE("add uid index failed, ret: %{public}d", ret); in RequestDBUpgradeFrom41() 779 insertValues.PutLong("idx", info->progress.commonData.index); in WriteUpdateData() 845 info.progress.commonData.index = static_cast<uint8_t>(GetLong(set, 20)); // Line 20 here is 'idx' in FillOtherTaskInfo() 922 config.commonData.index = static_cast<uint32_t>(GetLong(set, 11)); // Line 11 is 'config_idx' in BuildRequestTaskConfigWithLong() 1007 insertValues.PutLong("config_idx", taskConfig->commonData.index); in RecordRequestTask() 1051 values.PutLong("idx", updateInfo->progress.commonData.index); in UpdateRequestTask()
|
/base/security/access_token/services/privacymanager/src/record/ |
H A D | permission_record_manager.cpp | 1380 void PermissionRecordManager::ModifyMuteStatus(const std::string& permissionName, int32_t index, bool isMute) in ModifyMuteStatus() argument 1384 if (index == EDM) { in ModifyMuteStatus() 1391 if (index == EDM) { in ModifyMuteStatus() 1397 ACCESSTOKEN_LOG_INFO(LABEL, "permissionName: %{public}s, isMute: %{public}d, index: %{public}d.", in ModifyMuteStatus() 1398 permissionName.c_str(), isMute, index); in ModifyMuteStatus() 1401 bool PermissionRecordManager::GetMuteStatus(const std::string& permissionName, int32_t index) in GetMuteStatus() argument 1406 isMute = (index == EDM) ? isMicEdmMute_ : isMicMixMute_; in GetMuteStatus() 1409 isMute = (index == EDM) ? isCamEdmMute_ : isCamMixMute_; in GetMuteStatus() 1413 ACCESSTOKEN_LOG_INFO(LABEL, "perm: %{public}s, isMute: %{public}d, index: %{public}d.", in GetMuteStatus() 1414 permissionName.c_str(), isMute, index); in GetMuteStatus() [all...] |
/base/telephony/core_service/services/sim/test/ |
H A D | test.cpp | 682 int index = item->GetIndex(); in TestQueryIccDiallingNumbers() local 684 std::cout << ++id << " " << index << " " << name << " " << number << " " << diallingNumbertype << std::endl; in TestQueryIccDiallingNumbers() 736 int index = 0; in TestDelIccDiallingNumbers() local 742 std::cin >> index; in TestDelIccDiallingNumbers() local 754 diallingNumber->index_ = index; in TestDelIccDiallingNumbers() 772 int index = 0; in TestUpdateIccDiallingNumbers() local 777 std::cin >> index; in TestUpdateIccDiallingNumbers() local 796 diallingNumber->index_ = index; in TestUpdateIccDiallingNumbers()
|
/third_party/ffmpeg/libavcodec/ |
H A D | dca_xll.c | 81 unsigned int index; in parse_dmix_coeffs() local 87 index = (code & 0xff) - FF_DCA_DMIXTABLE_OFFSET; in parse_dmix_coeffs() 88 if (index >= FF_DCA_INV_DMIXTABLE_SIZE) { in parse_dmix_coeffs() 89 av_log(s->avctx, AV_LOG_ERROR, "Invalid XLL downmix scale index\n"); in parse_dmix_coeffs() 92 scale = ff_dca_dmixtable[index + FF_DCA_DMIXTABLE_OFFSET]; in parse_dmix_coeffs() 93 scale_inv = ff_dca_inv_dmixtable[index]; in parse_dmix_coeffs() 102 index = code & 0xff; in parse_dmix_coeffs() 103 if (index >= FF_DCA_DMIXTABLE_SIZE) { in parse_dmix_coeffs() 104 av_log(s->avctx, AV_LOG_ERROR, "Invalid XLL downmix coefficient index\n"); in parse_dmix_coeffs() 107 coeff = ff_dca_dmixtable[index]; in parse_dmix_coeffs() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | mux.c | 510 "Fix your code to set the timestamps properly\n", st->index); in compute_muxer_pkt_fields() 551 st->index, av_ts2str(sti->cur_dts), av_ts2str(pkt->dts)); in compute_muxer_pkt_fields() 558 st->index); in compute_muxer_pkt_fields() 748 av_log(s, AV_LOG_ERROR, "Invalid packet stream index: %d\n", in check_packet() 780 "Timestamps are unset in a packet for stream %d\n", st->index); in prepare_input_packet() 792 st->index, sti->cur_dts, pkt->dts); in prepare_input_packet() 798 pkt->pts, pkt->dts, st->index); in prepare_input_packet() 1144 bsfc->filter->name, st->index); in write_packets_from_bsfs() 1154 "packet for stream #%d: %s\n", st->index, av_err2str(ret)); in write_packets_from_bsfs()
|
/third_party/alsa-lib/src/topology/ |
H A D | ctl.c | 179 ref->id, SND_TPLG_TYPE_TLV, elem->index); in tplg_build_mixer_control() 229 ref->id, SND_TPLG_TYPE_TEXT, elem->index); in tplg_build_enum_control() 574 if (err >= 0 && elem->index > 0) in tplg_save_control_bytes() 575 err = tplg_save_printf(dst, pfx, "\tindex %u\n", elem->index); in tplg_save_control_bytes() 714 if (err >= 0 && elem->index > 0) in tplg_save_control_enum() 715 err = tplg_save_printf(dst, pfx, "\tindex %u\n", elem->index); in tplg_save_control_enum() 875 if (err >= 0 && elem->index > 0) in tplg_save_control_mixer() 876 err = tplg_save_printf(dst, pfx, "\tindex %u\n", elem->index); in tplg_save_control_mixer()
|
/third_party/icu/icu4c/source/common/ |
H A D | unistr.cpp | 840 UnicodeString::moveIndex32(int32_t index, int32_t delta) const { in moveIndex32() argument 841 // pin index in moveIndex32() 843 if(index<0) { in moveIndex32() 844 index=0; in moveIndex32() 845 } else if(index>len) { in moveIndex32() 846 index=len; in moveIndex32() 851 U16_FWD_N(array, index, len, delta); in moveIndex32() 853 U16_BACK_N(array, 0, index, -delta); in moveIndex32() 856 return index; in moveIndex32()
|
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | qpu_schedule.c | 1998 bool add, bool magic, uint32_t index) in alu_reads_register() 2015 if (i == 0 && mux_a == index) in alu_reads_register() 2017 if (i == 1 && mux_b == index) in alu_reads_register() 2021 inst->raddr_a == index) { in alu_reads_register() 2025 inst->raddr_b == index) { in alu_reads_register() 2029 inst->raddr_a == index) { in alu_reads_register() 2033 inst->raddr_b == index) { in alu_reads_register() 2255 /* Update the uniform index for the rewritten location -- in schedule_instructions() 2257 * c->uniform_data[] using this index. in schedule_instructions() 2479 fprintf(stderr, "BLOCK %d\n", block->index); in v3d_qpu_schedule_instructions() 1997 alu_reads_register(struct v3d_qpu_instr *inst, bool add, bool magic, uint32_t index) alu_reads_register() argument [all...] |