/third_party/glslang/glslang/MachineIndependent/ |
H A D | Scan.h | 215 return loc[std::max(0, std::min(currentSource, numSources - finale - 1))]; in getSourceLoc() 219 int getLastValidSourceIndex() const { return std::min(currentSource, numSources - 1); } in getLastValidSourceIndex()
|
/third_party/gn/src/base/files/ |
H A D | file_util.h | 112 bool ReadFileToString(const FilePath& path, std::string* contents); 124 std::string* contents, 323 const std::set<gid_t>& group_gids);
|
/third_party/gn/src/base/ |
H A D | sha1.cc | 198 std::string SHA1HashString(const std::string& str) { in SHA1HashString() 202 return std::string(hash, SecureHashAlgorithm::kDigestSizeBytes); in SHA1HashString()
|
/third_party/gn/src/gn/ |
H A D | action_target_generator.cc | 190 if (std::any_of(widestr.begin(), widestr.end(), base::IsUnicodeWhitespace)) { in FillMnemonic() 195 target_->action_values().mnemonic() = std::move(s); in FillMnemonic() 214 target_->set_pool(std::move(pair)); in FillPool()
|
H A D | toolchain.cc | 23 tools_.emplace(phony_name, std::make_unique<BuiltinTool>(phony_name)); in Toolchain() 110 void Toolchain::SetTool(std::unique_ptr<Tool> t) { in SetTool() 114 tools_[t->name()] = std::move(t); in SetTool()
|
/third_party/cups-filters/filter/pdftopdf/ |
H A D | pdftopdf_jcl.cc | 183 std::vector<std::string> output; in emitComment() 191 output.push_back(std::string("%%PDFTOPDFNumCopies : ")+buf); in emitComment()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | units_router.cpp | 53 this->init(std::move(inputUnit), locale, usage, status); in UnitsRouter() 103 preference->geq, std::move(precision), in init() 117 if (converterPreference->converter.greaterThanOrEqual(std::abs(quantity) * (1 + DBL_EPSILON), in route()
|
/third_party/libabigail/tests/ |
H A D | test-read-dwarf.cc | 21 using std::vector; 22 using std::string; 23 using std::cerr;
|
/third_party/node/src/crypto/ |
H A D | crypto_sig.h | 55 std::unique_ptr<v8::BackingStore> signature; 59 std::unique_ptr<v8::BackingStore>&& sig = nullptr) in SignResult() 60 : error(err), signature(std::move(sig)) {} in SignResult()
|
H A D | crypto_spkac.cc | 25 length = std::string(input.data()).find_last_not_of(" \n\r\t") + 1; in VerifySpkac() 61 length = std::string(input.data()).find_last_not_of(" \n\r\t") + 1; in ExportPublicKey() 96 length = std::string(input.data()).find_last_not_of(" \n\r\t") + 1; in ExportChallenge()
|
/third_party/node/src/ |
H A D | node_realm-inl.h | 70 static_assert(binding_index < std::tuple_size_v<BindingDataStore>); in GetBindingData() 90 static_assert(binding_index < std::tuple_size_v<BindingDataStore>); in AddBindingData() 103 cleanup_queue_.ForEachBaseObject(std::forward<T>(iterator));
|
/third_party/nghttp2/src/ |
H A D | shrpx_router_test.cc | 40 auto patterns = std::vector<Pattern>{ in test_shrpx_router_match() 103 constexpr auto patterns = std::array<Pattern, 6>{{ in test_shrpx_router_match_wildcard() 147 auto patterns = std::vector<Pattern>{ in test_shrpx_router_match_prefix()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | units_router.cpp | 53 this->init(std::move(inputUnit), locale, usage, status); in UnitsRouter() 103 preference->geq, std::move(precision), in init() 117 if (converterPreference->converter.greaterThanOrEqual(std::abs(quantity) * (1 + DBL_EPSILON), in route()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | frame.h | 144 int actual_width = std::max({width, AlignedSlotAllocator::kSlotSize}); in AllocateSpillSlot() 146 std::max({alignment, AlignedSlotAllocator::kSlotSize}); in AllocateSpillSlot() 171 return_slot_count_ = std::max(return_slot_count_, count); in EnsureReturnSlots()
|
/third_party/node/deps/v8/include/v8-include/cppgc/internal/ |
H A D | persistent-node.h | 78 using PersistentNodeSlots = std::array<PersistentNode, 256u>; 127 std::vector<std::unique_ptr<PersistentNodeSlots>> nodes_;
|
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-statistics.h | 70 const std::vector<std::pair<Local<Context>, size_t>>& 84 static std::unique_ptr<MeasureMemoryDelegate> Default(
|
/third_party/node/deps/v8/include/ |
H A D | v8-statistics.h | 70 const std::vector<std::pair<Local<Context>, size_t>>& 84 static std::unique_ptr<MeasureMemoryDelegate> Default(
|
/third_party/node/deps/v8/include/cppgc/internal/ |
H A D | persistent-node.h | 80 using PersistentNodeSlots = std::array<PersistentNode, 256u>; 129 std::vector<std::unique_ptr<PersistentNodeSlots>> nodes_;
|
/third_party/node/deps/v8/src/base/ |
H A D | lazy-instance.h | 98 typename std::aligned_storage<sizeof(T), alignof(T)>::type; 235 new (&storage_) T(std::forward<Args>(args)...); in LeakyObject() 244 typename std::aligned_storage<sizeof(T), alignof(T)>::type storage_;
|
/third_party/node/deps/v8/src/heap/ |
H A D | concurrent-allocator.cc | 77 auto task = std::make_unique<StressConcurrentAllocatorTask>(isolate); in Schedule() 79 V8::GetCurrentPlatform()->CallDelayedOnWorkerThread(std::move(task), in Schedule() 146 LocalAllocationBuffer saved_lab = std::move(lab_); in EnsureLab()
|
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | gc-invoker.cc | 40 std::make_unique<GCInvoker::GCInvokerImpl::GCTask>(collector, config); in Post() 42 runner->PostNonNestableTask(std::move(task)); in Post() 132 : impl_(std::make_unique<GCInvoker::GCInvokerImpl>(collector, platform, in GCInvoker()
|
H A D | marker.h | 171 std::shared_ptr<cppgc::TaskRunner> foreground_task_runner_; 173 std::unique_ptr<IncrementalMarkingAllocationObserver> 182 std::unique_ptr<ConcurrentMarkerBase> concurrent_marker_{nullptr};
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-array-iterator.h | 117 std::pair<Register, Register> GetRegisterPairOperand(int operand_index) const; 148 std::ostream& PrintTo(std::ostream& os) const;
|
/third_party/node/deps/v8/src/libplatform/tracing/ |
H A D | trace-object.cc | 38 std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables, in Initialize() 61 arg_convertables_[i] = std::move(arg_convertables[i]); in Initialize() 115 std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables, in InitializeForTesting()
|
/third_party/node/deps/v8/src/snapshot/ |
H A D | code-serializer.h | 68 std::vector<Handle<Script>> scripts; 69 std::unique_ptr<PersistentHandles> persistent_handles; 150 SerializedCodeData(const std::vector<byte>* payload,
|