/third_party/skia/third_party/externals/libgifcodec/ |
H A D | SkGifImageReader.cpp | 102 // -1 is a signal that there is no transparent index. in is_palette_index_valid() 104 // valid since a GIF may use an index outside of the palette to be in is_palette_index_valid() 387 sk_sp<SkColorTable> SkGifImageReader::getColorTable(SkColorType colorType, int index) { in getColorTable() argument 388 if (index < 0 || index >= m_frames.count()) { in getColorTable() 392 const SkGIFFrameContext* frameContext = m_frames[index].get(); in getColorTable() 899 // checking whether each pixel used the transparent index. in onReportedAlpha()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | tzrule.cpp | 483 TimeArrayTimeZoneRule::getStartTimeAt(int32_t index, UDate& result) const { 484 if (index >= fNumStartTimes || index < 0) { 487 result = fStartTimes[index];
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsQuad.cpp | 93 /* bit twiddling for finding the off curve index (x&~m is the pair in [0,1,2] excluding oddMan) 112 for (int index = 0; index < realRoots; ++index) { in AddValidTs() 113 double tValue = s[index]; in AddValidTs()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLSwizzle.cpp | 123 // Look up the argument for the constructor at each index. This is typically simple but for in optimize_constructor_swizzle() 164 for (int index = 0; index < numConstructorArgs; ++index) { in optimize_constructor_swizzle() 165 int8_t constructorArgIndex = argMap[index].fArgIndex; in optimize_constructor_swizzle()
|
/third_party/skia/third_party/externals/harfbuzz/test/shape/ |
H A D | hb_test_tools.py | 95 i = self.symbols.index (l[0]) 114 i = self.symbols.index (l[0]) 238 i = l.index (':') 266 return l[1:l.index (':')]
|
/third_party/pulseaudio/src/modules/rtp/ |
H A D | rtp-native.c | 336 c->memchunk.index = 0; in pa_rtp_recv() 344 chunk->index = c->memchunk.index; in pa_rtp_recv() 347 c->memchunk.index += audio_length; in pa_rtp_recv()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | YAMLTraits.cpp | 243 bool Input::preflightFlowElement(unsigned index, void *&SaveInfo) { in preflightFlowElement() argument 248 CurrentNode = SQ->Entries[index].get(); in preflightFlowElement() 540 bool Output::preflightDocument(unsigned index) { in preflightDocument() argument 541 if (index > 0) in preflightDocument()
|
/third_party/skia/tools/viewer/ |
H A D | ParticlesSlide.cpp | 178 int index = fArrayCounterStack.back()++; in item() local 180 fScratchLabel = SkStringPrintf("[%d]", index); in item() 182 ImGui::PushID(index); in item() 186 edit.fIndex = index; in item()
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | uniset.h | 914 * @param start the start index in the string for the span operation 947 * @param limit the exclusive-end index in the string for the span operation 1021 * where last is the index of the last character to match. 1055 * Returns the index of the given character within this set, where 1059 * @return an index from 0..size()-1, or -1 1065 * Returns the character at the given index within this set, where 1066 * the set is ordered by ascending code point. If the index is 1069 * @param index an index from 0..size()-1 1070 * @return the character at the given index, o [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | parserRealSource9.js | 138 if (type.index) { 139 this.resolveSignatureGroup(type.index, scope, null); 340 if (type.index) {
341 this.resolveSignatureGroup(type.index, scope, null);
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | IsValidUtf8TestUtil.java | 168 final long index; field in IsValidUtf8TestUtil.Shard 173 public Shard(long index, long start, long lim, long expected) { in Shard() argument 175 this.index = index; in Shard()
|
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | pgen.py | 43 arcs.append((self.make_label(c, label), dfa.index(next))) 45 arcs.append((0, dfa.index(state))) 212 j = todo.index(next) 226 print(" %s -> %d" % (label, dfa.index(next)))
|
/third_party/python/Lib/test/ |
H A D | test_enumerate.py | 211 def __getitem__(self, index): 212 return index 221 def __getitem__(self, index): 222 return index
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
H A D | poisson_distribution_test.cc | 178 size_t index; member 194 absl::StrCat(c.index, ": pmf=", c.pmf, " cdf=", c.cdf)); in LogCDF() 388 if (!cutoffs_.empty() && cutoffs_.back() == result.index) { in InitChiSquaredTest() 392 cutoffs_.push_back(result.index); in InitChiSquaredTest()
|
/third_party/skia/bench/ |
H A D | MathBench.cpp | 261 IsFiniteBench(int index) { in IsFiniteBench() argument 268 if (index < 0) { in IsFiniteBench() 272 fProc = gRec[index].fProc; in IsFiniteBench() 273 fName = gRec[index].fName; in IsFiniteBench()
|
/third_party/spirv-tools/source/opt/ |
H A D | loop_dependence.h | 139 DistanceEntry& GetEntry(size_t index) { return entries[index]; } in GetEntry() argument 140 const DistanceEntry& GetEntry(size_t index) const { return entries[index]; } in GetEntry()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuWaiverUtil.cpp | 98 deUint32 parentIndex; // index in allComponents vector 99 std::vector<deUint32> childrenIndex; // index in allComponents vector 126 // helper method used in buildTreeFromPathList; returns index 129 deUint32 findComponentInBuildTree(const std::vector<std::string>& pathComponents, deUint32 index) const; 298 deUint32 WaiverTreeBuilder::findComponentInBuildTree(const std::vector<std::string>& pathComponents, deUint32 index) const in findComponentInBuildTree() 300 const std::string& checkedName = pathComponents[index]; in findComponentInBuildTree() 310 deUint32 reverseLevel = index; in findComponentInBuildTree()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluShaderProgram.hpp | 373 deUint32 index; member 376 SpecializationData (void) : index(0), value(0) {} in SpecializationData() 377 SpecializationData (const deUint32 index_, const deUint32 value_) : index(index_), value(value_) {} in SpecializationData() 414 specializationIndices.push_back(specData.index); in operator <<()
|
/base/sensors/miscdevice/frameworks/js/napi/vibrator/src/ |
H A D | vibrator_js.cpp | 217 static bool ParseVibratorCurvePoint(napi_env env, napi_value pointsArray, uint32_t index, VibratorCurvePoint &point) in ParseVibratorCurvePoint() argument 220 CHKCF((napi_get_element(env, pointsArray, index, &pointsElement) == napi_ok), "napi_get_element pointsArray fail"); in ParseVibratorCurvePoint() 253 static bool ParseVibrateEvent(napi_env env, napi_value eventArray, int32_t index, VibratorEvent &event) in ParseVibrateEvent() argument 257 CHKCF((napi_get_element(env, eventArray, index, &element) == napi_ok), "napi_get_element eventArray fail"); in ParseVibrateEvent() 266 CHKCF(GetPropertyInt32(env, element, "index", event.index), "Get index fail"); in ParseVibrateEvent() 333 intensity:%{public}d, frequency:%{public}d, index:%{public}d, pointNum:%{public}d", in PrintVibratorPattern() 336 vibratorPattern.events[i].frequency, vibratorPattern.events[i].index, vibratorPattern.events[i].pointNum); in PrintVibratorPattern() 388 if ((event.index < in CheckVibratorEvent() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_grid.cpp | 121 JSRef<JSFunc>::Cast(getSizeByIndex))](int32_t index) { in ParseGetGridItemSize() 123 JSRef<JSVal> itemIndex = JSRef<JSVal>::Make(ToJSValue(index)); in ParseGetGridItemSize() 141 JSRef<JSObject>(), JSRef<JSFunc>::Cast(getRectByIndex))](int32_t index) { in ParseGetGridItemRect() 143 JSRef<JSVal> itemIndex = JSRef<JSVal>::Make(ToJSValue(index)); in ParseGetGridItemRect() 174 JSRef<JSVal> index = array->GetValueAt(i); in SetGridLayoutOptions() local 175 if (!index->IsNumber()) { in SetGridLayoutOptions() 178 auto indexNum = index->ToNumber<int32_t>(); in SetGridLayoutOptions() 315 JSRef<JSFunc>::Cast(info[0]))](int32_t index, const Dimension& offset) { in JsOnScrollBarUpdate() 316 JSRef<JSVal> itemIndex = JSRef<JSVal>::Make(ToJSValue(index)); in JsOnScrollBarUpdate()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/container_modal/ |
H A D | container_modal_test_ng.cpp | 63 void ClickBtn(int32_t index); 64 OnHoverEventFunc GetHovertEvent(int32_t index); 65 OnMouseEventFunc GetMouseEvent(int32_t index); 174 void ContainerModelTestNg::ClickBtn(int32_t index) in ClickBtn() argument 177 auto btn = AceType::DynamicCast<FrameNode>(container_modal_control_buttons->GetChildAtIndex(index)); in ClickBtn() 189 OnHoverEventFunc ContainerModelTestNg::GetHovertEvent(int32_t index) in GetHovertEvent() argument 192 auto btn = AceType::DynamicCast<FrameNode>(container_modal_control_buttons->GetChildAtIndex(index)); in GetHovertEvent() 198 OnMouseEventFunc ContainerModelTestNg::GetMouseEvent(int32_t index) in GetMouseEvent() argument 201 auto btn = AceType::DynamicCast<FrameNode>(container_modal_control_buttons->GetChildAtIndex(index)); in GetMouseEvent()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | installd_host.cpp | 379 for (int32_t index = 0; index < createDirParamSize; ++index) { in HandleCreateBundleDataDirWithVector() 473 for (int32_t index = 0; index < uidSize; ++index) { in HandleGetAllBundleStats() 732 for (int32_t index = 0; index < size; ++index) { in HandExtractDriverSoFiles()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/ |
H A D | offload_audio_renderer_sink.cpp | 482 for (uint32_t index = 0; index < size; index++) { in SwitchAdapterRender() 483 struct AudioAdapterDescriptor *desc = &descs[index]; in SwitchAdapterRender() 487 AUDIO_DEBUG_LOG("index %{public}u, adapterName %{public}s", index, desc->adapterName); in SwitchAdapterRender() 495 return index; in SwitchAdapterRender() 612 int32_t index = in Init() local 614 CHECK_AND_RETURN_RET_LOG(index >= 0, ERR_NOT_STARTED, "Switch Adapter Fail."); in Init() 616 adapterDesc_ = descs[index]; in Init() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/multichannel/ |
H A D | multichannel_audio_renderer_sink.cpp | 199 for (uint32_t index = 0; index < size; index++) { in SwitchAdapterRender() 200 struct AudioAdapterDescriptor *desc = &descs[index]; in SwitchAdapterRender() 204 AUDIO_DEBUG_LOG("index %{public}u, adapterName %{public}s", index, desc->adapterName); in SwitchAdapterRender() 212 return index; in SwitchAdapterRender() 1110 int32_t index = in InitAdapter() local 1112 CHECK_AND_RETURN_RET_LOG((index >= 0), ERR_NOT_STARTED, "Switch Adapter failed"); in InitAdapter() 1114 adapterDesc_ = descs[index]; in InitAdapter() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_assets_operation_sync_test.cpp | 290 int index = 0; in CheckAssetsCount() local 296 index++; in CheckAssetsCount() 302 LOGI("[DistributedDBCloudAssetsOperationSyncTest] Check data index %d", index); in CheckAssetsCount() 303 EXPECT_EQ(assets.size(), expectCount[index]); in CheckAssetsCount() 308 index++; in CheckAssetsCount() 1213 int index = 0; in HWTEST_F() local 1214 virtualCloudDb_->ForkUpload([&index](const std::string &tableName, VBucket &extend) { in HWTEST_F() 1215 if (extend.count(CloudDbConstant::DELETE_FIELD) != 0 && index % 2 == 0 && in HWTEST_F() 1219 index in HWTEST_F() [all...] |