| /foundation/ability/ability_runtime/services/appmgr/src/ |
| H A D | app_state_observer_manager.cpp | 95 if (it->first->AsObject() == observer->AsObject()) { in UnregisterApplicationStateObserver() 486 if ((it->second.empty() || iter != it->second.end()) && it->first != nullptr) { in HandleOnAppStarted() 487 it->first->OnAppStarted(data); in HandleOnAppStarted() 506 if ((it->second.empty() || iter != it->second.end()) && it->first != nullptr) { in HandleOnAppStopped() 507 it->first->OnAppStopped(data); in HandleOnAppStopped() 542 bool valid = (it->second.empty() || iter != it->second.end()) && it->first != nullptr; in HandleAppStateChanged() 544 it->first->OnForegroundApplicationChanged(data); in HandleAppStateChanged() 547 it->first->OnAppStateChanged(data); in HandleAppStateChanged() 562 if ((it->second.empty() || iter != it->second.end()) && it->first != nullptr) { in HandleAppStateChanged() 563 it->first in HandleAppStateChanged() [all...] |
| /third_party/typescript/tests/baselines/reference/tsbuild/outfile-concat/ |
| H A D | stripInternal-when-few-members-of-enum-are-internal.js | 17 //// [/src/first/first_PART1.ts]
53 //// [/src/first/first_part2.ts]
57 //// [/src/first/first_part3.ts]
62 //// [/src/first/tsconfig.json]
71 "outFile": "./bin/first-output.js",
147 { "path": "../first", "prepend": true },
158 * src/first/tsconfig.json
162 [[90m12:00:09 AM[0m] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
| H A D | list_layout_algorithm.cpp | 122 // use parent max size first. in Measure() 205 itemPosition_.begin()->first, itemPosition_.rbegin()->first, cacheStart, cacheEnd, show); in SetActiveChildRange() 230 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first, false); in GetChildMaxCrossSize() 252 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(pos.first); in ClearAllItemPosition() 275 int32_t startIndex = itemPosition_.begin()->first; in GetStartPositionWithChainOffset() 497 groupItemPosition.begin()->first, groupItemPosition.rbegin()->first); in CheckNoNeedJumpListItemGroup() 621 int32_t targetIndex = itemPosition_.begin()->first; in CheckJumpToIndex() 780 startIndex = res.first; in MeasureList() [all...] |
| /arkcompiler/runtime_core/libpandabase/utils/ |
| H A D | bit_vector.h | 35 inline void fill(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, bool value); 238 friend void std::fill(panda::BitVectorIterator<_IsConst> first, panda::BitVectorIterator<_IsConst> last, 634 inline void FillBitVector(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, bool value) in FillBitVector() argument 636 for (; first != last; ++first) { in FillBitVector() 637 *first = value; in FillBitVector() 653 inline void fill(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, bool value) in fill() argument 655 if (first.data_ != last.data_) { in fill() 657 std::fill(first.data_ + 1, last.data_, value ? ~0LLU : 0); in fill() 659 panda::internal::FillBitVector(first, pand in fill() [all...] |
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| H A D | bit_vector.h | 36 inline void fill(ark::BitVectorIterator<IS_CONST> first, ark::BitVectorIterator<IS_CONST> last, bool value); 248 friend void std::fill(ark::BitVectorIterator<IS_CONST_ITER> first, ark::BitVectorIterator<IS_CONST_ITER> last, 670 inline void FillBitVector(ark::BitVectorIterator<IS_CONST> first, ark::BitVectorIterator<IS_CONST> last, bool value) in FillBitVector() argument 672 for (; first != last; ++first) { in FillBitVector() 673 *first = value; in FillBitVector() 690 inline void fill(ark::BitVectorIterator<IS_CONST> first, ark::BitVectorIterator<IS_CONST> last, bool value) in fill() argument 692 if (first.data_ != last.data_) { in fill() 694 std::fill(first.data_ + 1, last.data_, value ? ~0LLU : 0); in fill() 696 ark::internal::FillBitVector(first, ar in fill() [all...] |
| /foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/ |
| H A D | pan_service.cpp | 120 Disconnect(RawAddress(it->first)); in ShutDown() 189 event.dev_ = it->first; in SetTethering() 219 (it->first != device)) { in CloseNetwork() 244 && (it->first != address)) { in WriteNetworkData() 245 PanSendData(it->first, head, data, len); in WriteNetworkData() 256 PanSendData(it->first, head, data, len); in WriteNetworkData() 279 (isBroadcast || (destAddr == it->first) || (srcAddr == it->first))) { in PanSendData() 280 PanSendData(it->first, head, data, len); in PanSendData() 333 RawAddress device(it->first); in GetDevicesByStates() [all...] |
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| H A D | sys_sparc_64.c | 334 SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second, in SYSCALL_DEFINE6() 346 err = ksys_semtimedop(first, ptr, in SYSCALL_DEFINE6() 350 err = ksys_semtimedop(first, ptr, (unsigned int)second, in SYSCALL_DEFINE6() 355 err = ksys_semget(first, (int)second, (int)third); in SYSCALL_DEFINE6() 358 err = ksys_old_semctl(first, second, in SYSCALL_DEFINE6() 371 err = ksys_msgsnd(first, ptr, (size_t)second, in SYSCALL_DEFINE6() 375 err = ksys_msgrcv(first, ptr, (size_t)second, fifth, in SYSCALL_DEFINE6() 379 err = ksys_msgget((key_t)first, (int)second); in SYSCALL_DEFINE6() 382 err = ksys_old_msgctl(first, (int)second | IPC_64, ptr); in SYSCALL_DEFINE6() 393 err = do_shmat(first, pt in SYSCALL_DEFINE6() [all...] |
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| H A D | sys_sparc_64.c | 334 SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second, in SYSCALL_DEFINE6() 346 err = ksys_semtimedop(first, ptr, in SYSCALL_DEFINE6() 350 err = ksys_semtimedop(first, ptr, (unsigned int)second, in SYSCALL_DEFINE6() 355 err = ksys_semget(first, (int)second, (int)third); in SYSCALL_DEFINE6() 358 err = ksys_old_semctl(first, second, in SYSCALL_DEFINE6() 371 err = ksys_msgsnd(first, ptr, (size_t)second, in SYSCALL_DEFINE6() 375 err = ksys_msgrcv(first, ptr, (size_t)second, fifth, in SYSCALL_DEFINE6() 379 err = ksys_msgget((key_t)first, (int)second); in SYSCALL_DEFINE6() 382 err = ksys_old_msgctl(first, (int)second | IPC_64, ptr); in SYSCALL_DEFINE6() 393 err = do_shmat(first, pt in SYSCALL_DEFINE6() [all...] |
| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| H A D | videobuf-dma-sg.c | 154 unsigned long first, last; in videobuf_dma_init_user_locked() local 170 first = (data & PAGE_MASK) >> PAGE_SHIFT; in videobuf_dma_init_user_locked() 174 dma->nr_pages = last-first+1; in videobuf_dma_init_user_locked() 595 unsigned int first, last, size = 0, i; in __videobuf_mmap_mapper() local 603 /* look for first buffer to map */ in __videobuf_mmap_mapper() 604 for (first = 0; first < VIDEO_MAX_FRAME; first++) { in __videobuf_mmap_mapper() 605 if (buf == q->bufs[first]) { in __videobuf_mmap_mapper() 606 size = PAGE_ALIGN(q->bufs[first] in __videobuf_mmap_mapper() [all...] |
| /kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
| H A D | videobuf-dma-sg.c | 155 unsigned long first, last; in videobuf_dma_init_user_locked() local 169 first = (data & PAGE_MASK) >> PAGE_SHIFT; in videobuf_dma_init_user_locked() 173 dma->nr_pages = last-first+1; in videobuf_dma_init_user_locked() 590 unsigned int first, last, size = 0, i; in __videobuf_mmap_mapper() local 598 /* look for first buffer to map */ in __videobuf_mmap_mapper() 599 for (first = 0; first < VIDEO_MAX_FRAME; first++) { in __videobuf_mmap_mapper() 600 if (buf == q->bufs[first]) { in __videobuf_mmap_mapper() 601 size = PAGE_ALIGN(q->bufs[first] in __videobuf_mmap_mapper() [all...] |
| /third_party/cups-filters/fontembed/ |
| H A D | embed_sfnt.c | 229 int first=len,last=0; in emb_otf_get_pdf_widths() local 236 if (first>iA) { // first is a character index in emb_otf_get_pdf_widths() 237 first=iA; in emb_otf_get_pdf_widths() 245 first=0; in emb_otf_get_pdf_widths() 248 if (last<first) { in emb_otf_get_pdf_widths() 263 EMB_PDF_FONTWIDTHS *ret=emb_pdf_fw_new(last-first+1); in emb_otf_get_pdf_widths() 267 ret->first=first; in emb_otf_get_pdf_widths() 270 for (iA=0;first< in emb_otf_get_pdf_widths() [all...] |
| /third_party/cups-filters/cupsfilters/ |
| H A D | image.c | 83 for (current = img->first, next = NULL; current != NULL; current = next) in cupsImageClose() 633 if(img==NULL||img->first==NULL||img->first->tile==NULL) in flush_tile() 637 tile = img->first->tile; in flush_tile() 744 ic = img->first; in get_tile() 757 DEBUG_printf(("Flushing old cache tile (%p)...\n", img->first)); in get_tile() 764 ic = img->first; in get_tile() 788 if (ic == img->first) in get_tile() 793 img->first = ic->next; in get_tile() 797 else if (img->first in get_tile() [all...] |
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
| H A D | RBBIAPITest.java | 135 String str1 = "first string."; in TestGetSetText() 162 for (int pos = lineIter.first(); pos != BreakIterator.DONE; pos = lineIter.next()) { in TestGetSetText() 169 * Testing the methods first(), next(), next(int) and following() of RuleBasedBreakIterator 177 logln("Testing first() and next(), following() with custom rules"); in TestFirstNextFollowing() 181 p = wordIter1.first(); in TestFirstNextFollowing() 183 errln("ERROR: first() returned" + p + "instead of 0"); in TestFirstNextFollowing() 209 p = charIter1.first(); in TestFirstNextFollowing() 211 errln("ERROR: first() returned" + p + "instead of 0"); in TestFirstNextFollowing() 235 p = sentIter1.first(); in TestFirstNextFollowing() 237 errln("ERROR: first() returne in TestFirstNextFollowing() [all...] |
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
| H A D | RBBIAPITest.java | 132 String str1 = "first string."; in TestGetSetText() 159 for (int pos = lineIter.first(); pos != BreakIterator.DONE; pos = lineIter.next()) { in TestGetSetText() 166 * Testing the methods first(), next(), next(int) and following() of RuleBasedBreakIterator 174 logln("Testing first() and next(), following() with custom rules"); in TestFirstNextFollowing() 178 p = wordIter1.first(); in TestFirstNextFollowing() 180 errln("ERROR: first() returned" + p + "instead of 0"); in TestFirstNextFollowing() 206 p = charIter1.first(); in TestFirstNextFollowing() 208 errln("ERROR: first() returned" + p + "instead of 0"); in TestFirstNextFollowing() 232 p = sentIter1.first(); in TestFirstNextFollowing() 234 errln("ERROR: first() returne in TestFirstNextFollowing() [all...] |
| /third_party/json/include/nlohmann/detail/conversions/ |
| H A D | to_chars.hpp | 1053 @brief generates a decimal representation of the floating-point number value in [first, last). 1065 char* to_chars(char* first, const char* last, FloatType value) 1074 *first++ = '-'; 1083 *first++ = '0'; 1085 *first++ = '.'; 1086 *first++ = '0'; 1087 return first; 1093 JSON_ASSERT(last - first >= std::numeric_limits<FloatType>::max_digits10); 1101 dtoa_impl::grisu2(first, len, decimal_exponent, value); 1110 JSON_ASSERT(last - first > [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
| H A D | MachineRegisterInfo.cpp | 60 VRegInfo[Reg].first = RC; in setRegClass() 65 VRegInfo[Reg].first = &RegBank; in setRegBank() 166 VRegInfo[Reg].first = RegClass; in createVirtualRegister() 175 VRegInfo[Reg].first = VRegInfo[VReg].first; in cloneVirtualRegister() 192 VRegInfo[Reg].first = static_cast<RegisterBank *>(nullptr); in createGenericVirtualRegister() 270 // Head points to the first list element. in addRegOperandToUseList() 401 // Since we are in SSA form, we can use the first definition. in getVRegDef() 444 if (I->first == Reg || I->second == Reg) in isLiveIn() 454 return I->first; in getLiveInPhysReg() [all...] |
| /third_party/python/Lib/ |
| H A D | tokenize.py | 264 token, which is the first token sequence output by tokenize. 290 # Only care about the first 12 characters. 367 first = read_or_stop() 368 if first.startswith(BOM_UTF8): 370 first = first[3:] 372 if not first: 375 encoding = find_cookie(first) 377 return encoding, [first] 378 if not blank_re.match(first) [all...] |
| /third_party/zlib/examples/ |
| H A D | gzlog.c | 46 When appending data, the information in the first three items above plus the 59 When compressing data, the information in the first two items above plus the 83 gain exclusive access to the log files, first a foo.lock file must be 105 the extra field is within the first 52 bytes of the file, which is smaller 110 - Pointer to first stored block length -- this points to the two-byte length 111 of the first stored block, which is followed by the two-byte, one's 117 Initially this is the same as the first stored block length pointer. 120 is different from the first stored block length pointer. When they are 121 different, the first bit of the last stored block header is eight bits, or 135 block first lengt 294 off_t first; /* offset of first stored block first length byte */ global() member [all...] |
| /third_party/json/include/nlohmann/ |
| H A D | json.hpp | 896 // check if each element is an array with two elements whose first in basic_json() 1020 basic_json(InputIT first, InputIT last) in basic_json() argument 1022 JSON_ASSERT(first.m_object != nullptr); in basic_json() 1026 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object)) in basic_json() 1031 // copy type from first iterator in basic_json() 1032 m_type = first.m_object->m_type; in basic_json() 1043 if (JSON_HEDLEY_UNLIKELY(!first.m_it.primitive_iterator.is_begin() in basic_json() 1046 JSON_THROW(invalid_iterator::create(204, "iterators out of range", first.m_object)); in basic_json() 1064 m_value.number_integer = first.m_object->m_value.number_integer; in basic_json() 1070 m_value.number_unsigned = first in basic_json() 2487 erase(IteratorType first, IteratorType last) erase() argument 3324 insert(const_iterator pos, const_iterator first, const_iterator last) insert() argument 3375 insert(const_iterator first, const_iterator last) insert() argument 3407 update(const_iterator first, const_iterator last, bool merge_objects = false) update() argument [all...] |
| /third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
| H A D | explicit-padding.h | 8 uint8_t first; member 14 uint8_t first; member
|
| /base/notification/distributed_notification_service/services/ans/test/unittest/ |
| H A D | notification_preferences_database_test.cpp | 465 entry.first = "ans_bundle_bundleKey_name"; in HWTEST_F() 482 entry.first = "ans_bundle_bundleKey_importance"; in HWTEST_F() 499 entry.first = "ans_bundle_bundleKey_showBadge"; in HWTEST_F() 516 entry.first = "ans_bundle_bundleKey_badgeTotalNum"; in HWTEST_F() 533 entry.first = "ans_bundle_bundleKey_privateAllowed"; in HWTEST_F() 550 entry.first = "ans_bundle_bundleKey_enabledNotification"; in HWTEST_F() 567 entry.first = "ans_bundle_bundleKey_poppedDialog"; in HWTEST_F() 584 entry.first = "ans_bundle_bundleKey_uid"; in HWTEST_F() 601 entry.first = "ans_bundle_bundleKey_slot_type_1_id"; in HWTEST_F() 618 entry.first in HWTEST_F() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 85 cl::desc("Only import first N functions if N>=0 (default -1)")); 169 /// FIXME: select "best" instead of first that fits. But what is "best"? 373 ValueInfo VI = Edge.first; in computeImportForFunction() 408 auto &ProcessedThreshold = std::get<0>(IT.first->second); in computeImportForFunction() 409 auto &CalleeSummary = std::get<1>(IT.first->second); in computeImportForFunction() 410 auto &FailureInfo = std::get<2>(IT.first->second); in computeImportForFunction() 502 // This is the first time this function was exported from its source in computeImportForFunction() 509 ExportList.insert(Edge.first); in computeImportForFunction() 553 auto VI = Index.getValueInfo(GVSummary.first); in ComputeImportForModule() 658 IsReadOrWriteOnlyVar(ExportPerModule.first(), V in checkVariableImport() [all...] |
| /third_party/protobuf/src/google/protobuf/ |
| H A D | descriptor_database.cc | 166 // symbol name. Since upper_bound() returns the *first* key that sorts 220 if (IsSubSymbol(iter->first, name)) { in AddSymbol() 224 << iter->first << "\"."; in AddSymbol() 230 // be so is the first symbol that is greater than the new symbol. Since in AddSymbol() 235 if (iter != by_symbol_.end() && IsSubSymbol(name, iter->first)) { in AddSymbol() 239 << iter->first << "\"."; in AddSymbol() 303 return (iter != by_symbol_.end() && IsSubSymbol(iter->first, name)) in FindSymbol() 322 for (; it != by_extension_.end() && it->first.first == containing_type; in FindAllExtensionNumbers() 324 output->push_back(it->first in FindAllExtensionNumbers() [all...] |
| /arkcompiler/runtime_core/assembler/ |
| H A D | mangling.h | 69 bool first = true; in GetFunctionSignatureFromName() local 71 name += (first) ? "" : SIGNATURE_TYPES_SEPARATOR; in GetFunctionSignatureFromName() 72 first = false; in GetFunctionSignatureFromName()
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| H A D | mangling.h | 69 bool first = true; in GetFunctionSignatureFromName() local 71 name += (first) ? "" : SIGNATURE_TYPES_SEPARATOR; in GetFunctionSignatureFromName() 72 first = false; in GetFunctionSignatureFromName()
|