| /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...] |
| /kernel/linux/linux-5.10/drivers/spi/ |
| H A D | spi-bcm63xx.c | 227 static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, in bcm63xx_txrx_bufs() argument 234 struct spi_transfer *t = first; in bcm63xx_txrx_bufs() 254 if (t != first) in bcm63xx_txrx_bufs() 261 if (t == first) in bcm63xx_txrx_bufs() 309 t = first; in bcm63xx_txrx_bufs() 315 if (t != first || prepend_len == 0) in bcm63xx_txrx_bufs() 329 struct spi_transfer *t, *first = NULL; in bcm63xx_spi_transfer_one() local 342 if (!first) in bcm63xx_spi_transfer_one() 343 first = t; in bcm63xx_spi_transfer_one() 348 if (n_transfers == 2 && !first in bcm63xx_spi_transfer_one() [all...] |
| /kernel/linux/linux-6.6/drivers/spi/ |
| H A D | spi-bcm63xx.c | 217 static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, in bcm63xx_txrx_bufs() argument 224 struct spi_transfer *t = first; in bcm63xx_txrx_bufs() 244 if (t != first) in bcm63xx_txrx_bufs() 251 if (t == first) in bcm63xx_txrx_bufs() 299 t = first; in bcm63xx_txrx_bufs() 305 if (t != first || prepend_len == 0) in bcm63xx_txrx_bufs() 319 struct spi_transfer *t, *first = NULL; in bcm63xx_spi_transfer_one() local 332 if (!first) in bcm63xx_spi_transfer_one() 333 first = t; in bcm63xx_spi_transfer_one() 338 if (n_transfers == 2 && !first in bcm63xx_spi_transfer_one() [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...] |
| /kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
| H A D | qib_tx.c | 55 * @first: the first PIO buffer to cancel 61 void qib_disarm_piobufs(struct qib_devdata *dd, unsigned first, unsigned cnt) in qib_disarm_piobufs() argument 67 last = first + cnt; in qib_disarm_piobufs() 69 for (i = first; i < last; i++) { in qib_disarm_piobufs() 96 * separately, first, then remaining subctxt, if any in qib_disarm_piobufs_ifneeded() 148 * separately, first, then remaining subctxt, if any in find_ctxt() 282 u32 first, u32 last) in qib_getsendbuf_range() 293 nbufs = last - first + 1; /* number in range to check */ in qib_getsendbuf_range() 304 i = first; in qib_getsendbuf_range() 281 qib_getsendbuf_range(struct qib_devdata *dd, u32 *pbufnum, u32 first, u32 last) qib_getsendbuf_range() argument [all...] |
| /kernel/linux/linux-5.10/sound/isa/gus/ |
| H A D | gus_mem.c | 36 pblock = alloc->first; in snd_gf1_mem_xalloc() 42 if (pblock == alloc->first) in snd_gf1_mem_xalloc() 43 alloc->first = nblock; in snd_gf1_mem_xalloc() 54 alloc->first = alloc->last = nblock; in snd_gf1_mem_xalloc() 70 if (alloc->first == block) { in snd_gf1_mem_xfree() 71 alloc->first = block->next; in snd_gf1_mem_xfree() 98 for (block = alloc->first; block; block = block->next) { in snd_gf1_mem_look() 114 for (block = alloc->first; block; block = block->next) in snd_gf1_mem_share() 140 for (pblock = alloc->first, idx = 0; pblock; pblock = pblock->next) { in snd_gf1_mem_find() 229 alloc->first in snd_gf1_mem_init() [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_qos.c | 211 u32 idx, u32 *prev, u32 *next, u32 *first) in sparx5_lg_get_adjacent() 215 *first = sparx5_lg_get_first(sparx5, layer, group); in sparx5_lg_get_adjacent() 216 *prev = *first; in sparx5_lg_get_adjacent() 217 *next = *first; in sparx5_lg_get_adjacent() 218 itr = *first; in sparx5_lg_get_adjacent() 255 /* Set the first element. */ in sparx5_lg_conf_set() 268 u32 first, next, prev; in sparx5_lg_del() local 273 &first) < 0); in sparx5_lg_del() 282 /* idx is removed and points to itself, first is next */ in sparx5_lg_del() 283 first in sparx5_lg_del() 210 sparx5_lg_get_adjacent(struct sparx5 *sparx5, u32 layer, u32 group, u32 idx, u32 *prev, u32 *next, u32 *first) sparx5_lg_get_adjacent() argument 297 u32 first, next, old_group; sparx5_lg_add() local [all...] |
| /kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
| H A D | qib_tx.c | 55 * @first: the first PIO buffer to cancel 61 void qib_disarm_piobufs(struct qib_devdata *dd, unsigned first, unsigned cnt) in qib_disarm_piobufs() argument 67 last = first + cnt; in qib_disarm_piobufs() 69 for (i = first; i < last; i++) { in qib_disarm_piobufs() 95 * separately, first, then remaining subctxt, if any in qib_disarm_piobufs_ifneeded() 145 * separately, first, then remaining subctxt, if any in find_ctxt() 279 u32 first, u32 last) in qib_getsendbuf_range() 290 nbufs = last - first + 1; /* number in range to check */ in qib_getsendbuf_range() 301 i = first; in qib_getsendbuf_range() 278 qib_getsendbuf_range(struct qib_devdata *dd, u32 *pbufnum, u32 first, u32 last) qib_getsendbuf_range() argument [all...] |
| /kernel/linux/linux-6.6/sound/isa/gus/ |
| H A D | gus_mem.c | 43 pblock = alloc->first; in snd_gf1_mem_xalloc() 49 if (pblock == alloc->first) in snd_gf1_mem_xalloc() 50 alloc->first = nblock; in snd_gf1_mem_xalloc() 61 alloc->first = alloc->last = nblock; in snd_gf1_mem_xalloc() 77 if (alloc->first == block) { in snd_gf1_mem_xfree() 78 alloc->first = block->next; in snd_gf1_mem_xfree() 105 for (block = alloc->first; block; block = block->next) { in snd_gf1_mem_look() 121 for (block = alloc->first; block; block = block->next) in snd_gf1_mem_share() 147 for (pblock = alloc->first, idx = 0; pblock; pblock = pblock->next) { in snd_gf1_mem_find() 236 alloc->first in snd_gf1_mem_init() [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...] |