| /foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/ |
| H A D | statistics_callback_observer.cpp | 32 pair->first = iface; in NetIfaceStatsChanged() 46 pair->first = iface; in NetUidStatsChanged() 57 NapiUtils::SetStringPropertyUtf8(env, obj, KEY_IFACE, pair->first); in CreateNetIfaceStatsChangedParam() 66 NapiUtils::SetStringPropertyUtf8(env, obj, KEY_IFACE, pair->first); in CreateNetUidStatsChangedParam()
|
| /foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/include/ |
| H A D | stream_adaptor.h | 36 if (sessionKey_.first != nullptr) { in ~StreamAdaptor() 37 (void)memset_s(sessionKey_.first, sessionKey_.second, 0, sessionKey_.second); in ~StreamAdaptor() 38 delete [] sessionKey_.first; in ~StreamAdaptor() 40 sessionKey_.first = nullptr; in ~StreamAdaptor()
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/dump/ |
| H A D | dump_manager.cpp | 34 if (it.first) { in GetConfig() 38 if (itIndex.first) { in GetConfig() 61 if (it.first) { in GetHandler() 68 if (itIndex.first) { in GetHandler()
|
| /third_party/benchmark/src/ |
| H A D | counter.cc | 52 auto it = r.find(c.first); in Increment() 59 auto it = l->find(tc.first); in Increment() 61 (*l)[tc.first] = tc.second; in Increment() 72 if (r.find(c.first) == r.end()) { in SameNames()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| H A D | IndexRangeCache.cpp | 64 size_t rangeStart = i->first.offset; in invalidateRange() 66 i->first.offset + (GetDrawElementsTypeSize(i->first.type) * i->first.count); in invalidateRange()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
| H A D | RegisterUsageInfo.cpp | 85 return A->first->getName() < B->first->getName(); in print() 89 OS << FPRMPair->first->getName() << " " in print() 92 = TM->getSubtarget<TargetSubtargetInfo>(*(FPRMPair->first)) in print()
|
| /third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
| H A D | mutator_cache.cc | 43 Remove(*entries_.back().first); in Put() 49 entries_.front().first = &pair.first->first; in Put()
|
| /third_party/toybox/toys/lsb/ |
| H A D | seq.c | 1 /* seq.c - Count from first to last, by increment. 14 usage: seq [-w|-f fmt_str] [-s sep_str] [first] [increment] last 16 Count from first to last, by increment. Omitted arguments default 17 to 1. Two arguments are used as first and last. Arguments can be 59 double first = 1, increment = 1, last, dd; in seq_main() local 65 case 2: first = parsef(*toys.optargs); in seq_main() 78 dd = (double []){first, increment, last}[i]; in seq_main() 84 // Other implementations output nothing if increment is 0 and first > last, in seq_main() 85 // but loop forever if first < last or even first in seq_main() [all...] |
| /third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
| H A D | hash.h | 312 const unsigned char* first, size_t size) { in combine_contiguous() 313 hash_state.combine_contiguous_(hash_state.state_, first, size); in combine_contiguous() 322 static void CombineContiguousImpl(void* p, const unsigned char* first, in CombineContiguousImpl() argument 325 state = T::combine_contiguous(std::move(state), first, size); in CombineContiguousImpl() 311 combine_contiguous(HashState hash_state, const unsigned char* first, size_t size) combine_contiguous() argument
|
| /third_party/spirv-tools/test/opt/ |
| H A D | freeze_spec_const_test.cpp | 117 EXPECT_TRUE(FindAndReplace(&expected_disassembly, p.first, p.second)) in TEST_F() 121 << p.first << "\n" in TEST_F() 162 EXPECT_TRUE(FindAndReplace(&expected_disassembly, p.first, p.second)) in TEST_F() 166 << p.first << "\n" in TEST_F()
|
| /third_party/zlib/ |
| H A D | zlib2ansi | 69 my $first = shift @bits; 70 $first =~ s/^\s*//; 71 push @outParams, $first; 72 $first =~ /^(\w+\s*)/;
|
| /third_party/node/deps/npm/node_modules/jsonparse/ |
| H A D | bench.js | 13 var first = Date.now() - start; 23 console.log("JSON.parse took %s", first); 25 console.log("streaming is %s times slower", second / first);
|
| /third_party/python/Tools/c-analyzer/c_common/ |
| H A D | iterutil.py | 30 first = next(items) 42 yield first, False 45 yield first, True
|
| /third_party/python/Tools/scripts/ |
| H A D | lll.py | 18 first = 1 21 if not first: print() 22 first = 0
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
| H A D | MCAsmMacro.cpp | 23 bool first = true; in dump() local 25 if (!first) in dump() 27 first = false; in dump()
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | genericInstantiationEquivalentToObjectLiteral.js | 2 interface Pair<T1, T2> { first: T1; second: T2; } 4 var y: { first: string; second: number; } 10 declare function f2<T, U>(x: { first: T; second: U; });
|
| /third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
| H A D | UninitializedMessageException.java | 85 boolean first = true; in buildDescription() 87 if (first) { in buildDescription() 88 first = false; in buildDescription()
|
| /base/useriam/pin_auth/test/unittest/src/ |
| H A D | pin_auth_all_in_one_hdi_unit_test.cpp | 111 return static_cast<int32_t>(pair.first); in HWTEST_F() 137 .authType = pair.first, in HWTEST_F() 147 EXPECT_TRUE(info.authType == pair.second.first); in HWTEST_F() 170 .executorRole = pair.first, in HWTEST_F() 181 EXPECT_TRUE(info.executorRole == pair.second.first); in HWTEST_F() 208 .esl = pair.first, in HWTEST_F() 217 EXPECT_TRUE(info.esl == pair.second.first); in HWTEST_F() 239 const std::vector<uint8_t> &extraInfo) { return pair.first; }); in HWTEST_F() 263 { return pair.first; }); in HWTEST_F() 285 const sptr<IExecutorCallback> &callbackObj) { return pair.first; }); in HWTEST_F() [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
| H A D | lazy_for_each_builder.h | 140 if (static_cast<size_t>(child.first) == index) { in InvalidIndexOfChangedData() 141 child.first = -1; in InvalidIndexOfChangedData() 167 auto pair = expiringItem_.try_emplace(node.first, LazyForEachCacheChild(index, std::move(node.second))); in RemoveAllChild() 192 auto keyIter = expiringItem_.find(node.first); in SetActiveChildRange() 211 auto pair = expiringItem_.try_emplace(node.first, LazyForEachCacheChild(index, std::move(node.second))); in SetActiveChildRange() 236 return node.first; in GetChildIndex() 262 cache.try_emplace(itemInfo.first, LazyForEachCacheChild(index, itemInfo.second)); in CacheItem() 276 cachedItems_[index] = LazyForEachChild(itemInfo.first, nullptr); in CacheItem() 369 const auto& key = expiringIter->first; in ProcessCachedIndex() 371 auto iter = idleIndexes.find(node.first); in ProcessCachedIndex() [all...] |
| /foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
| H A D | ffmpeg_converter.cpp | 234 [&ffHEVCLevel](const auto &item) -> bool { return item.first == ffHEVCLevel; }); in ConvertFFMpegToOHHEVCLevel() 245 [&ffHEVCProfile](const auto &item) -> bool { return item.first == ffHEVCProfile; }); in ConvertFFMpegToOHHEVCProfile() 256 [&ffColorPrimaries](const auto &item) -> bool { return item.first == ffColorPrimaries; }); in ConvertFFMpegToOHColorPrimaries() 267 [&ffColorTrans](const auto &item) -> bool { return item.first == ffColorTrans; }); in ConvertFFMpegToOHColorTrans() 278 [&ffColorSpace](const auto &item) -> bool { return item.first == ffColorSpace; }); in ConvertFFMpegToOHColorMatrix() 289 [&ffColorRange](const auto &item) -> bool { return item.first == ffColorRange; }); in ConvertFFMpegToOHColorRange() 300 [&ffChromaLocation](const auto &item) -> bool { return item.first == ffChromaLocation; }); in ConvertFFMpegToOHChromaLocation() 311 [&codecId](const auto &item) -> bool { return item.first == codecId; }); in ConvertFFMpegAVCodecIdToOHAudioFormat() 322 [&ffSampleFormat](const auto &item) -> bool { return item.first == ffSampleFormat; }); in ConvertFFMpegToOHAudioFormat() 338 return ite->first; in ConvertOHAudioFormatToFFMpeg() [all...] |
| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil_policy.c | 199 struct cil_cat *first = NULL, *last = NULL, *cat; in cil_cats_to_policy() local 204 if (first == NULL) { in cil_cats_to_policy() 205 first = cat; in cil_cats_to_policy() 207 if (cat->value == first->value + 1) { in cil_cats_to_policy() 210 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy() 212 first = cat; in cil_cats_to_policy() 217 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy() 219 if (last->value >= first->value + 1) { in cil_cats_to_policy() 225 first = cat; in cil_cats_to_policy() 229 if (first) { in cil_cats_to_policy() 283 cil_cond_expr_to_policy(FILE *out, struct cil_list *expr, int first) cil_cond_expr_to_policy() argument 1082 int first = CIL_TRUE; cil_typeattributes_to_policy() local 1109 unsigned int i, first = 0, last = 0; cil_xperms_to_policy() local 1498 int first = CIL_TRUE; cil_role_types_to_policy() local 1530 int first = CIL_TRUE; cil_roleattributes_to_policy() local [all...] |
| /foundation/multimedia/media_library/frameworks/utils/src/ |
| H A D | media_privacy_manager.cpp | 190 // first: offset, second: end in SendRangesToIoctl() 191 ranges->range[i].begin = static_cast<uint64_t>(rans[i].first); in SendRangesToIoctl() 262 MEDIA_DEBUG_LOG("Range: [%{public}u, %{public}u)", range.first, range.second); in ShowRanges() 268 return pairA.first < pairB.first; in CmpMode() 286 if (ranges[0].first >= ranges[0].second) { in SortRangesAndCheck() 288 ranges[0].first, ranges[0].second); in SortRangesAndCheck() 293 if ((ranges[i].first >= ranges[i].second) || (ranges[i].first < ranges[i - 1].second)) { in SortRangesAndCheck() 295 ranges[i].first, range in SortRangesAndCheck() [all...] |
| /third_party/libinput/src/ |
| H A D | evdev-mt-touchpad-thumb.c | 273 struct tp_touch *first = NULL, in tp_thumb_update_multifinger() local 282 /* Get the first and second bottom-most touches, the max speed exceeded in tp_thumb_update_multifinger() 300 if (!first) { in tp_thumb_update_multifinger() 301 first = t; in tp_thumb_update_multifinger() 305 if (t->point.y > first->point.y) { in tp_thumb_update_multifinger() 306 second = first; in tp_thumb_update_multifinger() 307 first = t; in tp_thumb_update_multifinger() 316 if (!first || !second) in tp_thumb_update_multifinger() 319 distance.x = abs(first->point.x - second->point.x); in tp_thumb_update_multifinger() 320 distance.y = abs(first in tp_thumb_update_multifinger() [all...] |
| /third_party/musl/Benchmark/musl/ |
| H A D | benchmark_framework.cpp | 271 BenchmarkFunc func = g_applyBenchmarks.at(funcName).first; in RegisterSingleBenchmark() 278 BenchmarkFunc func = g_allBenchmarks.at(funcName).first; in RegisterSingleBenchmark() 295 RegisterSingleBenchmark(bench_opts_t(), opts, entry.first, runArgs); in RegisterAllBenchmarks() 300 RegisterSingleBenchmark(bench_opts_t(), opts, entry.first, runArgs); in RegisterAllBenchmarks() 306 size_t first = str.find_first_not_of(' '); in Trim() local 307 if (std::string::npos == first) { in Trim() 311 return str.substr(first, (last - first + 1)); in Trim() 377 if (MatchFuncNameInJson(muslbenchmark.first, fnName)) { in RegisterJsonBenchmarks() 378 matchedFuncNames.push_back(muslbenchmark.first); in RegisterJsonBenchmarks() [all...] |
| /third_party/skia/third_party/externals/spirv-tools/source/util/ |
| H A D | small_vector.h | 260 iterator erase(const_iterator first, const_iterator last) { in erase() argument 262 size_t start_index = first - large_data_->data(); in erase() 272 iterator f = const_cast<iterator>(first); in erase() 276 size_t num_of_del_elements = last - first; in erase() 278 if (first == last) { in erase() 329 iterator insert(iterator pos, InputIt first, InputIt last) { in insert() argument 331 size_t num_of_new_elements = std::distance(first, last); in insert() 340 large_data_->insert(new_pos, first, last); in insert() 358 for (; first != last; ++p, ++first) { in insert() [all...] |