/third_party/skia/third_party/externals/angle2/include/GLSLANG/ |
H A D | ShaderVars.h | 227 int index; member 306 int &operator[](size_t index); 307 int operator[](size_t index) const;
|
/third_party/skia/experimental/xps_to_png/ |
H A D | xps_to_png.cs | 37 int index = 0; in convert() 60 string filename = string.Format("{0}_{1}.png", out_path, index); in convert() 66 ++index; in convert()
|
/third_party/skia/modules/pathkit/tests/ |
H A D | pathops.spec.js | 59 return `Command index ${idx} differs in num arguments. Expected had ${eCmd.length}, Actual had ${aCmd.length}`; 63 return `Command index ${idx} differs. Expected had ${eVerb}, Actual had ${aVerb}`; 67 return `Command index ${idx} has different argument for verb ${eVerb} at position ${arg}. Expected had ${eCmd[arg]}, Actual had ${aCmd[arg]}`
|
/third_party/skia/bench/ |
H A D | FontCacheBench.cpp | 87 int index = proc(array[i]) & hashMask; in count_collisions() local 88 collisions += table[index]; in count_collisions() 89 table[index] = 1; in count_collisions()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 74 // |use_index| is the absolute index of the operand. We require in Apply() 75 // the index of the operand restricted to input operands only. in Apply() 166 fuzzerutil::RepeatedFieldToVector(synonym_to_try->index()))); in Apply() 196 GetIRContext(), base_object_type_id_1, dd1.index()); in DataDescriptorsHaveCompatibleTypes() 198 GetIRContext(), base_object_type_id_2, dd2.index()); in DataDescriptorsHaveCompatibleTypes()
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | pcreader.hpp | 56 // getPipelineIndexEntry(index) - return the pipeline index entry for a specified index in the header 58 // getPipelineIndexEntry(UUID) - return the pipeline index entry for a specified pipeline identifier 60 // getJson - get a pointer to the json for a specfied pipeline index entry 62 // getStageIndexEntry - return the stage index entry for a specified pipeline index entry and stage 64 // getSPIRV - get a pointer to the SPIRV code for a specified stage index entry 141 // return the number of pipelines in the index 156 // return the stride between pipeline index entrie [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | bytecode-graph-builder.cc | 74 // Get or create the node for this parameter index. If such a node is 77 Node* GetParameter(int index, const char* debug_name_hint = nullptr); 100 Node* BuildLoadFeedbackCell(int index); 103 Node* BuildLoadNativeContextField(int index); 260 Node* receiver, Node* cache_array, Node* cache_type, Node* index, 432 void set_current_exception_handler(int index) { in set_current_exception_handler() argument 433 current_exception_handler_ = index; in set_current_exception_handler() 714 return the_register.index() + register_base(); in RegisterToValuesIndex() 809 int index = register_base() + i; in Merge() local 818 DCHECK_NE(values_[index], builde in Merge() 873 int index = register_base() + i; PrepareForLoop() local 1081 int index = Linkage::kJSCallClosureParamIndex; GetFunctionClosure() local 1092 const size_t index = GetParameter() local 1113 BuildLoadFeedbackCell(int index) BuildLoadFeedbackCell() argument 1122 BuildLoadNativeContextField(int index) BuildLoadNativeContextField() argument 1581 Node* index = VisitStaInArrayLiteral() local 3587 Node* index = VisitForInContinue() local 3601 Node* index = VisitForInNext() local 3628 Node* index = VisitForInStep() local 4055 TryBuildSimplifiedForInNext(Node* receiver, Node* cache_array, Node* cache_type, Node* index, FeedbackSlot slot) TryBuildSimplifiedForInNext() argument [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_source_napi.cpp | 102 uint32_t index = 0; member 123 uint32_t index = 0; member 608 for (size_t index = 0; index < recordParameters.size(); ++index) { in SetRecordParametersInfo() 609 status = SetValueString(env, recordParameters[index].first, recordParameters[index].second, result); in SetRecordParametersInfo() 629 uint32_t index = 0; in CreateModifyErrorArray() local 648 status = napi_set_element(env, result, index, errMsgVal); in CreateModifyErrorArray() 653 ++index; in CreateModifyErrorArray() 669 uint32_t index = 0; CreateObtainErrorArray() local 1479 uint32_t index = 0; GetImageInfoSync() local 1512 CreatePixelMapInner(ImageSourceNapi *thisPtr, std::shared_ptr<ImageSource> imageSource, uint32_t index, DecodeOptions decodeOpts, uint32_t &status) CreatePixelMapInner() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | TransformFeedbackTest.cpp | 2448 ASSERT_EQ(mapPtrFloat[floatIndex], vertices[vertIndex]) << "at float index " << floatIndex; in VerifyVertexFloats() 2454 ASSERT_EQ(mapPtrFloat[floatIndex], 0) << "at float index " << floatIndex; in VerifyVertexFloats() 2781 for (size_t index = 0; index < kXfbInitData.size(); ++index) in TEST_P() 2783 EXPECT_EQ(xfbOutput[index], kAttribInitData[index] * 2); in TEST_P() 3011 for (uint32_t index = 0; index < kBufferSize; ++index) in TEST_P() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationES2.cpp | 3725 GLuint index, in ValidateBindAttribLocation() 3728 if (index >= MAX_VERTEX_ATTRIBS) in ValidateBindAttribLocation() 4197 GLuint index) in ValidateDisableVertexAttribArray() 4199 if (index >= MAX_VERTEX_ATTRIBS) in ValidateDisableVertexAttribArray() 4210 GLuint index) in ValidateEnableVertexAttribArray() 4212 if (index >= MAX_VERTEX_ATTRIBS) in ValidateEnableVertexAttribArray() 4249 GLuint index, in ValidateGetActiveAttrib() 4269 if (index >= static_cast<GLuint>(programObject->getActiveAttributeCount())) in ValidateGetActiveAttrib() 4281 GLuint index, in ValidateGetActiveUniform() 4301 if (index > in ValidateGetActiveUniform() 3722 ValidateBindAttribLocation(const Context *context, angle::EntryPoint entryPoint, ShaderProgramID program, GLuint index, const GLchar *name) ValidateBindAttribLocation() argument 4195 ValidateDisableVertexAttribArray(const Context *context, angle::EntryPoint entryPoint, GLuint index) ValidateDisableVertexAttribArray() argument 4208 ValidateEnableVertexAttribArray(const Context *context, angle::EntryPoint entryPoint, GLuint index) ValidateEnableVertexAttribArray() argument 4246 ValidateGetActiveAttrib(const Context *context, angle::EntryPoint entryPoint, ShaderProgramID program, GLuint index, GLsizei bufsize, const GLsizei *length, const GLint *size, const GLenum *type, const GLchar *name) ValidateGetActiveAttrib() argument 4278 ValidateGetActiveUniform(const Context *context, angle::EntryPoint entryPoint, ShaderProgramID program, GLuint index, GLsizei bufsize, const GLsizei *length, const GLint *size, const GLenum *type, const GLchar *name) ValidateGetActiveUniform() argument 5080 ValidateVertexAttrib1f(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLfloat x) ValidateVertexAttrib1f() argument 5088 ValidateVertexAttrib1fv(const Context *context, angle::EntryPoint entryPoint, GLuint index, const GLfloat *values) ValidateVertexAttrib1fv() argument 5096 ValidateVertexAttrib2f(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLfloat x, GLfloat y) ValidateVertexAttrib2f() argument 5105 ValidateVertexAttrib2fv(const Context *context, angle::EntryPoint entryPoint, GLuint index, const GLfloat *values) ValidateVertexAttrib2fv() argument 5113 ValidateVertexAttrib3f(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLfloat x, GLfloat y, GLfloat z) ValidateVertexAttrib3f() argument 5123 ValidateVertexAttrib3fv(const Context *context, angle::EntryPoint entryPoint, GLuint index, const GLfloat *values) ValidateVertexAttrib3fv() argument 5131 ValidateVertexAttrib4f(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ValidateVertexAttrib4f() argument 5142 ValidateVertexAttrib4fv(const Context *context, angle::EntryPoint entryPoint, GLuint index, const GLfloat *values) ValidateVertexAttrib4fv() argument 5663 ValidateGetVertexAttribfv(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLenum pname, const GLfloat *params) ValidateGetVertexAttribfv() argument 5672 ValidateGetVertexAttribiv(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLenum pname, const GLint *params) ValidateGetVertexAttribiv() argument 5681 ValidateGetVertexAttribPointerv(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLenum pname, void *const *pointer) ValidateGetVertexAttribPointerv() argument 6072 ValidateVertexAttribDivisorANGLE(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLuint divisor) ValidateVertexAttribDivisorANGLE() argument 6106 ValidateVertexAttribDivisorEXT(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLuint divisor) ValidateVertexAttribDivisorEXT() argument [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | parserharness.js | 335 public runChild(index: number, done: IDone) { 336 return this.call(<any>((done) => this.children[index].run(done)), done); 441 public runChildren(done: IDone, index = 0) { 445 for (; index < this.children.length; index++) { 446 async = this.runChild(index, <any>function (e) { 447 that.passed = that.passed && that.children[index].passed; 450 that.runChildren(done, index + 1); 475 public runChildren(index = 0) { 479 for (; index < thi [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | node_impl.cpp | 144 size_t index = SIZE_MAX; in Activate() local 148 index = GetChildIndex(*parent, *this); in Activate() 152 [path, index, e = ecsObject_->GetEntity(), weak_sh = BASE_NS::weak_ptr(sceneHolder)] { in Activate() 156 sh->ReparentEntity(e, path, index); in Activate() 437 void NodeImpl::RemoveIndex(size_t index) in RemoveIndex() argument 439 SCENE_PLUGIN_VERBOSE_LOG("remove node from %zu", index); in RemoveIndex() 440 removeIndex_ = index; in RemoveIndex() 443 void NodeImpl::SetIndex(size_t index) in SetIndex() argument 445 if (removeIndex_ == index) { in SetIndex() 449 if (removeIndex_ != SIZE_MAX && removeIndex_ < index) { in SetIndex() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/src/ |
H A D | ge_mesa_blur_shader_filter.cpp | 126 int index; in SetBlurParamsFivePassSmall() local 132 index = 0; in SetBlurParamsFivePassSmall() 137 index = (BLUR_RADIUS_21 - BLUR_RADIUS_20) / 8; in SetBlurParamsFivePassSmall() 142 index = floor(findex); in SetBlurParamsFivePassSmall() 143 w1 = findex - index; in SetBlurParamsFivePassSmall() 147 bParam.offsets[stride * i] = scale * offsetTableFivePasses[index][stride * i]; in SetBlurParamsFivePassSmall() 148 bParam.offsets[stride * i + 1] = scale * offsetTableFivePasses[index][stride * i + 1]; in SetBlurParamsFivePassSmall() 153 bParam.offsets[stride * i] = w2 * offsetTableFivePasses[index][stride * i] + in SetBlurParamsFivePassSmall() 154 w1 * offsetTableFivePasses[index + 1][stride * i]; in SetBlurParamsFivePassSmall() 155 bParam.offsets[stride * i + 1] = w2 * offsetTableFivePasses[index][strid in SetBlurParamsFivePassSmall() 176 int index = (BLUR_RADIUS_21 - BLUR_RADIUS_20) / 8; SetBlurParamsFivePassLarge() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/ |
H A D | param_check_test.cpp | 862 * @tc.name : FreeOutputData - index param check 871 uint32_t index; in HWTEST_F() local 882 index = aDecBufferDemo->GetInputIndex(); in HWTEST_F() 883 index = 8; in HWTEST_F() 884 result0 = aDecBufferDemo->PushInputData(codec, index); in HWTEST_F() 886 index = aDecBufferDemo->GetOutputIndex(); in HWTEST_F() 887 index = -1; in HWTEST_F() 888 result0 = aDecBufferDemo->FreeOutputData(codec, index); in HWTEST_F() 897 * @tc.name : PushInputDataEOS - index param check 906 uint32_t index; in HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/ |
H A D | NativeParamCheckTest.cpp | 451 * @tc.name : OH_AudioEncoder_PushInputData - index check 488 uint32_t index = encoderDemo->NativeGetInputIndex(); in HWTEST_F() local 489 ret = encoderDemo->NativePushInputData(handle, index, info); in HWTEST_F() 539 uint32_t index = encoderDemo->NativeGetInputIndex(); in HWTEST_F() local 540 ret = encoderDemo->NativePushInputData(handle, index, info); in HWTEST_F() 543 index = encoderDemo->NativeGetInputIndex(); in HWTEST_F() 545 ret = encoderDemo->NativePushInputData(handle, index, info); in HWTEST_F() 592 uint32_t index = encoderDemo->NativeGetInputIndex(); in HWTEST_F() local 593 ret = encoderDemo->NativePushInputData(handle, index, info); in HWTEST_F() 596 index in HWTEST_F() 645 uint32_t index = encoderDemo->NativeGetInputIndex(); HWTEST_F() local [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/ |
H A D | plugin_mgr.cpp | 109 for (int index = 0; index < configStrsSize; index++) {
in ParseConfigReader() 110 if (configStrs[index].empty()) {
in ParseConfigReader() 113 if (!configReader_->LoadFromConfigContent(configStrs[index])) {
in ParseConfigReader() 114 RESSCHED_LOGW("%{public}s, PluginMgr load config file index:%{public}d failed!", __func__, index);
in ParseConfigReader() 121 RESSCHED_LOGI("PluginMgr load config file index:%{public}d success!", index);
in ParseConfigReader() 134 for (int32_t index in ParsePluginSwitch() [all...] |
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_dm_deviceprofile_connector.cpp | 344 uint32_t index = 0; in HWTEST_F() local 345 DeviceProfileConnector::GetInstance().ProcessBindType(profiles, paramInfo, sinkBindType, bindTypeIndex, index); in HWTEST_F() 357 uint32_t index = 0; in HWTEST_F() local 358 DeviceProfileConnector::GetInstance().ProcessBindType(profiles, paramInfo, sinkBindType, bindTypeIndex, index); in HWTEST_F() 374 uint32_t index = 0; in HWTEST_F() local 375 DeviceProfileConnector::GetInstance().ProcessBindType(profiles, paramInfo, sinkBindType, bindTypeIndex, index); in HWTEST_F() 391 uint32_t index = 0; in HWTEST_F() local 392 DeviceProfileConnector::GetInstance().ProcessBindType(profiles, paramInfo, sinkBindType, bindTypeIndex, index); in HWTEST_F() 404 uint32_t index = 0; in HWTEST_F() local 405 DeviceProfileConnector::GetInstance().ProcessBindType(profiles, paramInfo, sinkBindType, bindTypeIndex, index); in HWTEST_F() 421 uint32_t index = 0; HWTEST_F() local 438 uint32_t index = 0; HWTEST_F() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/ |
H A D | gap_hci_receive.c | 738 int index; in GapRecvLeAdvertisingReportEvent() local 749 for (index = 0; index < hciParam.numReports; index++) { in GapRecvLeAdvertisingReportEvent() 750 hciParam.reports[index].data = MEM_MALLOC.alloc(hciParam.reports[index].lengthData); in GapRecvLeAdvertisingReportEvent() 751 if (hciParam.reports[index].data == NULL) { in GapRecvLeAdvertisingReportEvent() 755 (void)memcpy_s(hciParam.reports[index].data, in GapRecvLeAdvertisingReportEvent() 756 hciParam.reports[index].lengthData, in GapRecvLeAdvertisingReportEvent() 757 eventParam->reports[index] in GapRecvLeAdvertisingReportEvent() [all...] |
/test/xts/acts/multimedia/av_codec/audio_decoder/src/ |
H A D | param_check_test.cpp | 862 * @tc.name : FreeOutputData - index param check 871 uint32_t index; in HWTEST_F() local 882 index = aDecBufferDemo->GetInputIndex(); in HWTEST_F() 883 index = 8; in HWTEST_F() 884 result0 = aDecBufferDemo->PushInputData(codec, index); in HWTEST_F() 886 index = aDecBufferDemo->GetOutputIndex(); in HWTEST_F() 887 index = -1; in HWTEST_F() 888 result0 = aDecBufferDemo->FreeOutputData(codec, index); in HWTEST_F() 897 * @tc.name : PushInputDataEOS - index param check 906 uint32_t index; in HWTEST_F() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_bm3d.c | 276 int i, index = sc->nb_match_blocks; in do_block_matching_multi() local 288 if (index >= s->group_size && score >= sc->match_blocks[index - 1].score) { in do_block_matching_multi() 292 if (index >= s->group_size) in do_block_matching_multi() 293 index = s->group_size - 1; in do_block_matching_multi() 295 sc->match_blocks[index].score = score; in do_block_matching_multi() 296 sc->match_blocks[index].y = pos.y; in do_block_matching_multi() 297 sc->match_blocks[index].x = pos.x; in do_block_matching_multi() 298 index++; in do_block_matching_multi() 299 qsort(sc->match_blocks, index, sizeo in do_block_matching_multi() 319 int j, i, index = 0; block_matching_multi() local [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-objects.h | 90 inline ImportedFunctionEntry(Handle<WasmInstanceObject>, int index); 140 // Get the function name of the function identified by the given index. 148 // given index. 194 uint32_t index, Handle<Object> entry); 198 uint32_t index); 220 Handle<WasmTableObject> table, int index); 489 Isolate* isolate, Handle<WasmInstanceObject> instance, int index); 501 int index, 517 // Get the FixedArray and the index in that FixedArray for the given global, 684 V8_EXPORT_PRIVATE void Set(uint32_t index, in [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_etc.c | 151 etc2_base_color1_t_mode(const uint8_t *in, GLuint index) in etc2_base_color1_t_mode() argument 155 switch(index) { in etc2_base_color1_t_mode() 167 /* invalid index */ in etc2_base_color1_t_mode() 174 etc2_base_color2_t_mode(const uint8_t *in, GLuint index) in etc2_base_color2_t_mode() argument 178 switch(index) { in etc2_base_color2_t_mode() 189 /* invalid index */ in etc2_base_color2_t_mode() 196 etc2_base_color1_h_mode(const uint8_t *in, GLuint index) in etc2_base_color1_h_mode() argument 200 switch(index) { in etc2_base_color1_h_mode() 212 /* invalid index */ in etc2_base_color1_h_mode() 219 etc2_base_color2_h_mode(const uint8_t *in, GLuint index) in etc2_base_color2_h_mode() argument 241 etc2_base_color_o_planar(const uint8_t *in, GLuint index) etc2_base_color_o_planar() argument 264 etc2_base_color_h_planar(const uint8_t *in, GLuint index) etc2_base_color_h_planar() argument 286 etc2_base_color_v_planar(const uint8_t *in, GLuint index) etc2_base_color_v_planar() argument [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | objects-inl.h | 43 #include "src/objects/tagged-index.h" 647 uint32_t index) { in GetElement() 648 LookupIterator it(isolate, object, index); in GetElement() 654 uint32_t index, Handle<Object> value, in SetElement() 656 LookupIterator it(isolate, object, index); in SetElement() 967 bool Object::ToArrayLength(uint32_t* index) const { in ToArrayLength() 968 return Object::ToUint32(index); in ToArrayLength() 971 bool Object::ToArrayIndex(uint32_t* index) const { in ToArrayIndex() 972 return Object::ToUint32(index) && *index ! in ToArrayIndex() 646 GetElement(Isolate* isolate, Handle<Object> object, uint32_t index) GetElement() argument 653 SetElement(Isolate* isolate, Handle<Object> object, uint32_t index, Handle<Object> value, ShouldThrow should_throw) SetElement() argument 1245 MakeEntryPair(Isolate* isolate, size_t index, Handle<Object> value) MakeEntryPair() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | ir2_nir.c | 246 res.num = src.reg.reg->index; in make_src() 250 assert(ctx->ssa_map[src.ssa->index] >= 0); in make_src() 251 res.num = ctx->ssa_map[src.ssa->index]; in make_src() 266 ctx->ssa_map[dst->ssa.index] = instr->idx; in set_index() 269 reg = &ctx->reg[dst->reg.reg->index]; in set_index() 904 ctx->block_idx = block->index; in emit_block() 909 if (!succs || !succs->index) in emit_block() 914 * loops (succs index lower) in emit_block() 917 if (succs->index > block->index in emit_block() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | layout_mbuf.rs | 24 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...] |