| /third_party/skia/infra/bots/recipe_modules/flavor/ |
| H A D | ios.py | 133 def _run_ios_script(self, script, first, *rest): 138 name = '%s %s' % (script, first), 139 cmd = [full, first] + list(rest),
|
| /third_party/spirv-tools/source/opt/ |
| H A D | replace_invalid_opc.cpp | 49 bool first = true; in GetExecutionModel() local 51 if (first) { in GetExecutionModel() 54 first = false; in GetExecutionModel()
|
| /third_party/spirv-tools/test/ |
| H A D | enum_string_mapping_test.cpp | 41 const Extension extension = param.first; in TEST_P() 50 const Extension extension = param.first; in TEST_P() 63 const spv::Capability capability = param.first; in TEST_P()
|
| /third_party/spirv-tools/test/val/ |
| H A D | val_extension_spv_khr_integer_dot_product_test.cpp | 46 bool first = true; in operator <<() local 48 if (!first) { in operator <<() 51 first = false; in operator <<()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
| H A D | vktSparseResourcesBase.cpp | 162 queuePriorities[queueFamilyIter->first].push_back(1.0f); in createDeviceSupportingQueues() 169 queueFamilyIter->first, // uint32_t queueFamilyIndex; in createDeviceSupportingQueues() 171 &queuePriorities[queueFamilyIter->first][0], // const float* pQueuePriorities; in createDeviceSupportingQueues()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
| H A D | swiper_pattern.cpp | 557 auto leftTargetIndex = GetLoopIndex(itemPosition_.rbegin()->first); in UpdateTargetCapture() 558 auto rightTargetIndex = GetLoopIndex(itemPosition_.begin()->first); in UpdateTargetCapture() 560 leftTargetIndex = GetLoopIndex(itemPosition_.begin()->first); in UpdateTargetCapture() 561 rightTargetIndex = GetLoopIndex(itemPosition_.rbegin()->first); in UpdateTargetCapture() 928 auto index = GetLoopIndex(item.first); in CheckAndFireCustomAnimation() 995 turnPageRateCallback(firstItem.first, -firstItem.second.startPos / translateLength); in OnDirtyLayoutWrapperSwap() 1095 bool isNeedOffset = (GetLoopIndex(iter->first) == TotalCount() - 1) && in OnDirtyLayoutWrapperSwap() 1103 nextIndex = iter->first]() { in OnDirtyLayoutWrapperSwap() 1111 currentOffset_, currentOffset_ - targetPos, iter->first, false, velocity_.value_or(0.0f)); in OnDirtyLayoutWrapperSwap() 1116 (targetIndexValue - firstItem.first) * (placeItemWidth in OnDirtyLayoutWrapperSwap() [all...] |
| /foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
| H A D | neural_network_core.cpp | 171 compilation->offlineModelBuffer.first = const_cast<void*>(modelBuffer); in OH_NNCompilation_ConstructWithOfflineModelBuffer() 249 compilationImpl->offlineModelBuffer.first = const_cast<void*>(buffer); in OH_NNCompilation_ImportCacheFromBuffer() 514 } else if ((compilation->offlineModelBuffer.first != nullptr) && \ in CheckExceedRamLimit() 517 compilation->offlineModelBuffer.first, compilation->offlineModelBuffer.second, isExceedRamLimit); in CheckExceedRamLimit() 518 } else if ((compilation->cacheBuffer.first != nullptr) && \ in CheckExceedRamLimit() 521 compilation->cacheBuffer.first, compilation->cacheBuffer.second, isExceedRamLimit); in CheckExceedRamLimit() 634 } else if ((compilationImpl->offlineModelBuffer.first != nullptr) && \ in GetNnrtModelId() 637 compilationImpl->offlineModelBuffer.first, compilationImpl->offlineModelBuffer.second); in GetNnrtModelId() 638 } else if ((compilationImpl->cacheBuffer.first != nullptr) && \ in GetNnrtModelId() 641 compilationImpl->cacheBuffer.first, compilationImp in GetNnrtModelId() [all...] |
| /foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
| H A D | avscreen_capture_napi.cpp | 266 if (result.Value().first != MSERR_EXT_API9_OK) { in AsyncJsReportAVScreenCaptureUserChoice() 267 asyncCtx->SignError(result.Value().first, result.Value().second); in AsyncJsReportAVScreenCaptureUserChoice() 308 if (result.Value().first != MSERR_EXT_API9_OK) { in JsInit() 309 asyncCtx->SignError(result.Value().first, result.Value().second); in JsInit() 384 if (result.Value().first != MSERR_EXT_API9_OK) { in JsSkipPrivacyMode() 385 asyncCtx->SignError(result.Value().first, result.Value().second); in JsSkipPrivacyMode() 441 if (result.Value().first != MSERR_EXT_API9_OK) { in JsSetMicrophoneEnabled() 442 asyncCtx->SignError(result.Value().first, result.Value().second); in JsSetMicrophoneEnabled() 905 if (result.Value().first != MSERR_EXT_API9_OK) { 906 asyncCtx->SignError(result.Value().first, resul [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
| H A D | flatbuffer_schema.cpp | 209 if (inValue.first == nullptr) { // Unlikely in CheckSizePrefixRawValue() 216 auto realSize = flatbuffers::ReadScalar<flatbuffers::uoffset_t>(inValue.first); in CheckSizePrefixRawValue() 236 if (!flatbuffers::Verify(*schema, *rootTable, inValue.first + SIZE_PREFIX_SIZE, in VerifyFlatBufferValue() 411 outExtract.first = MapFieldType(type->base_type()); in ExtractFlatBufferValueFinal() 449 auto valueRealBegin = inValue.first + SIZE_PREFIX_SIZE; in ExtractFlatBufferValue() 722 std::vector<std::string> indexStrArray{entry.first}; // Entry.first is fieldName at root that was checked valid in ParseCheckIndexes() 730 description_ += ("INDEX=" + entry.first + ";"); in ParseCheckIndexes() 751 description_ += ("INDEX=" + entry.first + ";"); in ParseCheckIndexes() 844 auto selfFields = bothObject.first in CompareExtraField() [all...] |
| /kernel/linux/linux-5.10/arch/arm64/crypto/ |
| H A D | aes-glue.c | 94 int first); 97 int first); 511 int err, first, rounds = 6 + ctx->key1.key_length / 4; in xts_encrypt() local 542 for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) { in xts_encrypt() 551 ctx->key2.key_enc, walk.iv, first); in xts_encrypt() 573 ctx->key2.key_enc, walk.iv, first); in xts_encrypt() 583 int err, first, rounds = 6 + ctx->key1.key_length / 4; in xts_decrypt() local 614 for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first in xts_decrypt() [all...] |
| /kernel/linux/linux-6.6/arch/arm64/crypto/ |
| H A D | aes-glue.c | 100 int first); 103 int first); 545 int err, first, rounds = 6 + ctx->key1.key_length / 4; in xts_encrypt() local 576 for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first = 0) { in xts_encrypt() 585 ctx->key2.key_enc, walk.iv, first); in xts_encrypt() 607 ctx->key2.key_enc, walk.iv, first); in xts_encrypt() 617 int err, first, rounds = 6 + ctx->key1.key_length / 4; in xts_decrypt() local 648 for (first = 1; walk.nbytes >= AES_BLOCK_SIZE; first in xts_decrypt() [all...] |
| /kernel/linux/linux-5.10/net/can/j1939/ |
| H A D | socket.c | 152 struct j1939_session *first; in j1939_sk_queue_activate_next_locked() local 164 first = list_first_entry_or_null(&jsk->sk_session_queue, in j1939_sk_queue_activate_next_locked() 169 if (first != session) in j1939_sk_queue_activate_next_locked() 173 list_del_init(&first->sk_session_queue_entry); in j1939_sk_queue_activate_next_locked() 174 j1939_session_put(first); in j1939_sk_queue_activate_next_locked() 175 first = list_first_entry_or_null(&jsk->sk_session_queue, in j1939_sk_queue_activate_next_locked() 178 if (!first) in j1939_sk_queue_activate_next_locked() 181 if (j1939_session_activate(first)) { in j1939_sk_queue_activate_next_locked() 182 netdev_warn_once(first->priv->ndev, in j1939_sk_queue_activate_next_locked() 184 __func__, first); in j1939_sk_queue_activate_next_locked() [all...] |
| /kernel/linux/linux-6.6/net/can/j1939/ |
| H A D | socket.c | 152 struct j1939_session *first; in j1939_sk_queue_activate_next_locked() local 164 first = list_first_entry_or_null(&jsk->sk_session_queue, in j1939_sk_queue_activate_next_locked() 169 if (first != session) in j1939_sk_queue_activate_next_locked() 173 list_del_init(&first->sk_session_queue_entry); in j1939_sk_queue_activate_next_locked() 174 j1939_session_put(first); in j1939_sk_queue_activate_next_locked() 175 first = list_first_entry_or_null(&jsk->sk_session_queue, in j1939_sk_queue_activate_next_locked() 178 if (!first) in j1939_sk_queue_activate_next_locked() 181 if (j1939_session_activate(first)) { in j1939_sk_queue_activate_next_locked() 182 netdev_warn_once(first->priv->ndev, in j1939_sk_queue_activate_next_locked() 184 __func__, first); in j1939_sk_queue_activate_next_locked() [all...] |
| /third_party/ffmpeg/libpostproc/ |
| H A D | postprocess.c | 291 const int first= FFABS(dst[-1] - dst[0]) < c->QP ? dst[-1] : dst[0]; in doHorizLowPass_C() local 295 sums[0] = 4*first + dst[0] + dst[1] + dst[2] + 4; in doHorizLowPass_C() 296 sums[1] = sums[0] - first + dst[3]; in doHorizLowPass_C() 297 sums[2] = sums[1] - first + dst[4]; in doHorizLowPass_C() 298 sums[3] = sums[2] - first + dst[5]; in doHorizLowPass_C() 299 sums[4] = sums[3] - first + dst[6]; in doHorizLowPass_C() 425 const int first= FFABS(src[-1*step] - src[0]) < QP ? src[-1*step] : src[0]; in do_a_deblock_C() local 429 sums[0] = 4*first + src[0*step] + src[1*step] + src[2*step] + 4; in do_a_deblock_C() 430 sums[1] = sums[0] - first + src[3*step]; in do_a_deblock_C() 431 sums[2] = sums[1] - first in do_a_deblock_C() [all...] |
| /third_party/glslang/SPIRV/ |
| H A D | SPVRemapper.cpp | 727 for (const char c : name.first) in mapNames() 744 // Initial approach: go through some high priority opcodes first and assign them in mapFnBodies() 942 blockmap_t blockMap; // Map of IDs to blocks they first appear in in optLoadStore() 1054 spv::Id id = idPair.first; in optLoadStore() 1058 idMap[idPair.first] = id; // replace with final result in optLoadStore() 1098 if (fn->first == entryPoint) { // don't DCE away the entry point! in dceFuncs() 1103 const auto call_it = fnCalls.find(fn->first); in dceFuncs() 1123 fn->second.first, in dceFuncs() 1251 for (int x=range.first; x<std::min(range.second, wordCount); ++x) in matchType() 1263 return std::equal(spir.begin() + typeStart + range.first, in matchType() [all...] |
| /third_party/mesa3d/src/amd/compiler/ |
| H A D | aco_assembler.cpp | 678 /* first emit the instruction without the DPP operand */ in emit_instruction() 700 /* first emit the instruction without the DPP operand */ in emit_instruction() 714 /* first emit the instruction without the SDWA operand */ in emit_instruction() 848 /* Find first branch after the inserted code */ in insert_code() 851 { return (unsigned)branch.first >= insert_before; }); in insert_code() 855 branch_it->first += insert_count; in insert_code() 879 return ((int)ctx.program->blocks[branch.second->block].offset - branch.first - 1) == in fix_branches_gfx10() 888 insert_code(ctx, out, buggy_branch_it->first + 1, 1, &s_nop_0); in fix_branches_gfx10() 956 int offset = (int)ctx.program->blocks[branch.second->block].offset - branch.first - 1; in fix_branches() 960 ctx.program->blocks[branch.second->block].offset < (unsigned)branch.first; in fix_branches() [all...] |
| /third_party/node/deps/v8/src/debug/ |
| H A D | liveedit.cc | 35 // element from the first array and element from the second array. 554 // furthest (i.e. largest) end position to be first. in LessThan() 558 // If they also end in the same position, we want the first in order of in LessThan() 559 // literal ids to be first. in LessThan() 564 // nearest (i.e. largest) start position to be first. in LessThan() 569 // literal ids to be first. in LessThan() 621 DCHECK_EQ(literal_stack.top().first, event.literal); in CalculateFunctionLiteralChanges() 636 literal_stack.empty() ? nullptr : literal_stack.top().first))); in CalculateFunctionLiteralChanges() 704 FunctionLiteral* literal = change_pair.first; in MapLiterals() 728 if (change_state[mapping.first] in MapLiterals() [all...] |
| /third_party/skia/tests/ |
| H A D | PathOpsDebug.cpp | 577 const SkOpAngle* first = this; in dumpTo() local 594 } while (next && next != first); in dumpTo() 598 const SkOpAngle* first = this; in dumpCurves() local 603 } while (next && next != first); in dumpCurves() 607 const SkOpAngle* first = this; in dumpLoop() local 613 } while (next && next != first); in dumpLoop() 617 const SkOpAngle* first = this; in dumpTest() local 626 } while (next && next != first); in dumpTest() 1069 const SkOpSegment* segment = contour->first(); in debugAngle() 1106 const SkOpSegment* segment = contour->first(); in debugPtT() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | Core.h | 190 const auto &Name = Symbols[I].first; in remove_if() 211 const auto &Name = Symbols[I].first; 234 const auto &Name = Symbols[I].first; 253 Names.push_back(KV.first); in getSymbolNames() 262 return LHS.first < RHS.first; in sortByAddress() 270 return *LHS.first < *RHS.first; in sortByName() 290 if (Symbols[I].first == Symbols[I - 1].first) in containsDuplicates() [all...] |
| /kernel/linux/linux-5.10/fs/gfs2/ |
| H A D | bmap.c | 253 * metaptr1 - Return the first possible metadata pointer in a metapath buffer 378 /* find the first buffer we need to look up. */ in fillup_metapath() 428 const __be64 *first = ptr; in gfs2_extent_length() local 440 return ptr - first; in gfs2_extent_length() 798 const __be64 *first, *ptr, *end; in gfs2_alloc_size() local 803 * first time needs to be large enough to get the reservation and in gfs2_alloc_size() 817 first = metapointer(ip->i_height - 1, mp); in gfs2_alloc_size() 819 if (end - first > size) in gfs2_alloc_size() 820 end = first + size; in gfs2_alloc_size() 821 for (ptr = first; pt in gfs2_alloc_size() 1669 __be64 *first, *ptr, *end; find_nonnull_ptr() local 1706 __be64 *first; metapointer_range() local [all...] |
| /kernel/linux/linux-6.6/fs/gfs2/ |
| H A D | bmap.c | 253 * metaptr1 - Return the first possible metadata pointer in a metapath buffer 377 /* find the first buffer we need to look up. */ in fillup_metapath() 427 const __be64 *first = ptr; in gfs2_extent_length() local 439 return ptr - first; in gfs2_extent_length() 796 const __be64 *first, *ptr, *end; in gfs2_alloc_size() local 801 * first time needs to be large enough to get the reservation and in gfs2_alloc_size() 815 first = metapointer(ip->i_height - 1, mp); in gfs2_alloc_size() 817 if (end - first > size) in gfs2_alloc_size() 818 end = first + size; in gfs2_alloc_size() 819 for (ptr = first; pt in gfs2_alloc_size() 1626 __be64 *first, *ptr, *end; find_nonnull_ptr() local 1663 __be64 *first; metapointer_range() local [all...] |
| /kernel/linux/linux-6.6/kernel/ |
| H A D | resource.c | 770 struct resource *first, *next; in __insert_resource() local 772 for (;; parent = first) { in __insert_resource() 773 first = __request_resource(parent, new); in __insert_resource() 774 if (!first) in __insert_resource() 775 return first; in __insert_resource() 777 if (first == parent) in __insert_resource() 778 return first; in __insert_resource() 779 if (WARN_ON(first == new)) /* duplicated insertion */ in __insert_resource() 780 return first; in __insert_resource() 782 if ((first in __insert_resource() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
| H A D | LTO.cpp | 160 auto ModHash = Index.getModuleHash(Entry.first()); in computeLTOCacheKey() 170 Hasher.update(ArrayRef<uint8_t>((const uint8_t *)&Entry.first, in computeLTOCacheKey() 215 AddUnsigned(ET.first.isDSOLocal()); in computeLTOCacheKey() 216 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey() 227 AddUsedCfiGlobal(GS.first); in computeLTOCacheKey() 235 GlobalValueSummary *S = Index.findSummaryInModule(ImpF, ImpM.first()); in computeLTOCacheKey() 256 AddUnsigned(WPD.first); in computeLTOCacheKey() 262 AddUint64(ByArg.first.size()); in computeLTOCacheKey() 263 for (uint64_t Arg : ByArg.first) in computeLTOCacheKey() 276 for (auto It = TidIter.first; I in computeLTOCacheKey() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
| H A D | MemoryDependenceAnalysis.cpp | 791 NonLocalDepInfo &Cache = CacheP.first; in getNonLocalCallDependency() 1086 /// This has special behavior for the first block queries (when SkipFirstBlock 1092 /// as a clobber dependence on the first instruction in the predecessor block. 1113 NonLocalPointerInfo *CacheInfo = &Pair.first->second; in getNonLocalPointerDepFromBB() 1255 // Skip the first block if we have it. in getNonLocalPointerDepFromBB() 1296 if (InsertRes.first->second != Pointer.getAddr()) { in getNonLocalPointerDepFromBB() 1347 // pointer the block was first analyzed with. in getNonLocalPointerDepFromBB() 1357 if (InsertRes.first->second == PredPtrVal) in getNonLocalPointerDepFromBB() 1367 Visited.erase(PredList[i].first); in getNonLocalPointerDepFromBB() 1379 BasicBlock *Pred = PredList[i].first; in getNonLocalPointerDepFromBB() [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/util/ |
| H A D | u_threaded_context.c | 423 * equivalent to "we're the first user" here. (It's equally important not in tc_touch_buffer() 551 * This is called by the first draw call in a batch when we want to inherit 577 * This is called by the first compute call in a batch when we want to inherit 1825 tc_set_global_binding(struct pipe_context *_pipe, unsigned first, in tc_set_global_binding() argument 1833 pipe->set_global_binding(pipe, first, count, resources, handles); in tc_set_global_binding() 2102 /* Note that callers must've called tc_touch_buffer first before 3158 is_next_call_a_mergeable_draw(struct tc_draw_single *first, in is_next_call_a_mergeable_draw() argument 3172 return memcmp((uint32_t*)&first->info, (uint32_t*)&next->info, in is_next_call_a_mergeable_draw() 3180 struct tc_draw_single *first = to_call(call, tc_draw_single); in tc_call_draw_single() local 3182 struct tc_draw_single *next = get_next_call(first, tc_draw_singl in tc_call_draw_single() 3543 is_next_call_a_mergeable_draw_vstate(struct tc_draw_vstate_single *first, struct tc_draw_vstate_single *next) is_next_call_a_mergeable_draw_vstate() argument 3559 struct tc_draw_vstate_single *first = to_call(call, tc_draw_vstate_single); tc_call_draw_vstate_single() local [all...] |