/third_party/gn/src/gn/ |
H A D | pointer_set_unittest.cc | 18 static const std::initializer_list<const Foo*> kFullList = {kFoo1, kFoo2, 53 TestPointerSet set2(std::move(set1)); in TEST() 178 EXPECT_NE(std::find(vector.begin(), vector.end(), kFoo1), vector.end()); in TEST() 179 EXPECT_NE(std::find(vector.begin(), vector.end(), kFoo2), vector.end()); in TEST() 180 EXPECT_NE(std::find(vector.begin(), vector.end(), kFoo3), vector.end()); in TEST()
|
/third_party/icu/icu4c/source/test/perf/normperf/ |
H A D | simplenormperf.cpp | 37 static int32_t *toUTF8WithOffsets(const UnicodeString &s16, std::string &s8, int32_t &numCodePoints) { in toUTF8WithOffsets() 59 result = std::move(twice); in extend() 276 std::string src; 280 std::string dest; 281 icu::StringByteSink<std::string> sink;
|
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | numberrangeformatter.h | 80 template struct U_I18N_API std::atomic< U_NAMESPACE_QUALIFIER number::impl::NumberRangeFormatterImpl*>; 549 std::atomic<impl::NumberRangeFormatterImpl*> fAtomicFormatter = {}; 620 * auto [ first, second ] = range.getDecimalNumbers<std::string>(status); 623 * for example, std::string. 629 inline std::pair<StringClass, StringClass> getDecimalNumbers(UErrorCode& status) const; 711 std::pair<StringClass, StringClass> FormattedNumberRange::getDecimalNumbers(UErrorCode& status) const { in getDecimalNumbers() 717 return std::make_pair(str1, str2); in getDecimalNumbers()
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | double-to-string.cc | 111 while(kMaxExponentLength - first_char_pos < std::min(min_exponent_width_, kMaxExponentLength)) { in CreateExponentialRepresentation() 195 (std::max)(0, decimal_rep_length - decimal_point), in ToShortestIeeeNumber() 337 int stop = as_exponential ? 1 : std::max(1, decimal_point); in ToPrecision() 342 precision = std::min(precision, decimal_rep_length); in ToPrecision() 358 (std::max)(0, precision - decimal_point), in ToPrecision()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-double-to-string.cpp | 126 while(kMaxExponentLength - first_char_pos < std::min(min_exponent_width_, kMaxExponentLength)) { 210 (std::max)(0, decimal_rep_length - decimal_point), 352 int stop = as_exponential ? 1 : std::max(1, decimal_point); 357 precision = std::min(precision, decimal_rep_length); 373 (std::max)(0, precision - decimal_point),
|
/third_party/json/tests/src/ |
H A D | unit-binary_formats.cpp | 22 json j = json::parse(std::ifstream(filename)); 61 json j = json::parse(std::ifstream(filename)); 100 json j = json::parse(std::ifstream(filename)); 139 json j = json::parse(std::ifstream(filename)); 178 json j = json::parse(std::ifstream(filename));
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_liverangeevaluator_helpers.cpp | 46 break_loop_line(std::numeric_limits<int>::max()), in ProgramScope() 259 first_read(std::numeric_limits<int>::max()), in RegisterCompAccess() 630 RegisterCompAccess::conditionality_untouched = std::numeric_limits<int>::max(); 633 RegisterCompAccess::write_is_unconditional = std::numeric_limits<int>::max() - 1; 636 RegisterAccess::RegisterAccess(const std::array<size_t, 4>& sizes) in RegisterAccess() argument
|
/third_party/node/src/crypto/ |
H A D | crypto_hmac.cc | 155 key(std::move(other.key)), 156 data(std::move(other.data)), 157 signature(std::move(other.signature)), 163 return *new (this) HmacConfig(std::move(other)); 255 *out = std::move(buf).release(len); in DeriveBits()
|
/third_party/node/src/ |
H A D | node_contextify.h | 19 const std::shared_ptr<v8::MicrotaskQueue>& microtask_queue() const; 33 std::shared_ptr<v8::MicrotaskQueue> microtask_queue_; 81 inline std::shared_ptr<v8::MicrotaskQueue> microtask_queue() const { in microtask_queue() 176 std::shared_ptr<v8::MicrotaskQueue> microtask_queue, 189 std::unique_ptr<v8::ScriptCompiler::CachedData> new_cached_data);
|
H A D | node_report_module.cc | 33 std::string filename; in WriteReport() 59 std::ostringstream out; in GetReport() 90 std::string directory = per_process::cli_options->report_directory; in GetDirectory() 106 std::string filename = per_process::cli_options->report_filename; in GetFilename() 121 std::string signal = env->isolate_data()->options()->report_signal; in GetSignal()
|
/third_party/nghttp2/src/ |
H A D | shrpx_downstream_test.cc | 101 std::vector<nghttp2_nv> nva; in test_downstream_crumble_request_cookie() 110 std::transform(std::begin(nva), std::end(nva), std::back_inserter(cookies), in test_downstream_crumble_request_cookie()
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | numberrangeformatter.h | 80 template struct U_I18N_API std::atomic< U_NAMESPACE_QUALIFIER number::impl::NumberRangeFormatterImpl*>; 556 std::atomic<impl::NumberRangeFormatterImpl*> fAtomicFormatter = {}; 627 * auto [ first, second ] = range.getDecimalNumbers<std::string>(status); 630 * for example, std::string. 636 inline std::pair<StringClass, StringClass> getDecimalNumbers(UErrorCode& status) const; 718 std::pair<StringClass, StringClass> FormattedNumberRange::getDecimalNumbers(UErrorCode& status) const { in getDecimalNumbers() 724 return std::make_pair(str1, str2); in getDecimalNumbers()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | double-conversion-double-to-string.cpp | 133 while(kMaxExponentLength - first_char_pos < std::min(min_exponent_width_, kMaxExponentLength)) { 217 (std::max)(0, decimal_rep_length - decimal_point), 359 int stop = as_exponential ? 1 : std::max(1, decimal_point); 364 precision = std::min(precision, decimal_rep_length); 380 (std::max)(0, precision - decimal_point),
|
/third_party/icu/icu4c/source/tools/gennorm2/ |
H A D | gennorm2.cpp | 50 void parseFile(std::ifstream &f, Normalizer2DataBuilder &builder); 205 std::ifstream f(filename.data()); in main() 233 void parseFile(std::ifstream &f, Normalizer2DataBuilder &builder) { in parseFile() 235 std::string lineString; in parseFile() 237 while(std::getline(f, lineString)) { in parseFile()
|
/third_party/libphonenumber/cpp/src/phonenumbers/utf/ |
H A D | unicodetext.h | 28 using std::string; 29 using std::bidirectional_iterator_tag; 30 using std::pair; 250 class const_reverse_iterator : public std::reverse_iterator<const_iterator> { 253 std::reverse_iterator<const_iterator>(it) {} in const_reverse_iterator()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | safepoint-table.h | 147 void Print(std::ostream&) const; 278 max_stack_index_ = std::max(max_stack_index_, index); in UpdateMinMaxStackIndex() 280 min_stack_index_ = std::min(min_stack_index_, index); in UpdateMinMaxStackIndex() 284 return min_stack_index_ == std::numeric_limits<int>::max() in min_stack_index() 298 int min_stack_index_ = std::numeric_limits<int>::max();
|
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | heap-page.h | 67 // are allocated. std::atomic_thread_fence is sufficient in practice but is 72 v8::base::AsAtomicPtr(&type_)->load(std::memory_order_acquire); in SynchronizedLoad() 76 std::atomic_thread_fence(std::memory_order_seq_cst); in SynchronizedStore() 78 v8::base::AsAtomicPtr(&type_)->store(type_, std::memory_order_release); in SynchronizedStore() 102 class IteratorImpl : v8::base::iterator<std::forward_iterator_tag, T> {
|
/third_party/node/deps/v8/src/heap/ |
H A D | basic-memory-chunk.h | 27 // Use with std data structures. 302 intptr_t old_mark = chunk->high_water_mark_.load(std::memory_order_relaxed); in UpdateHighWaterMark() 305 old_mark, new_mark, std::memory_order_acq_rel)) { in UpdateHighWaterMark() 360 std::atomic<intptr_t> high_water_mark_; 363 std::atomic<BaseSpace*> owner_; 381 STATIC_ASSERT(std::is_standard_layout<BasicMemoryChunk>::value);
|
/third_party/node/deps/v8/src/profiler/ |
H A D | heap-profiler.cc | 41 std::find_if(snapshots_.begin(), snapshots_.end(), in RemoveSnapshot() 42 [&](const std::unique_ptr<HeapSnapshot>& entry) { in RemoveSnapshot() 54 auto it = std::find(build_embedder_graph_callbacks_.begin(), in RemoveBuildEmbedderGraphCallback() 56 std::make_pair(callback, data)); in RemoveBuildEmbedderGraphCallback() 241 std::vector<Handle<JSTypedArray>> on_heap_typed_arrays; in QueryObjects()
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecodes.cc | 117 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale, in ToString() 119 std::string value(ToString(bytecode)); in ToString() 122 std::string suffix = ToString(prefix_bytecode); in ToString() 351 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode) { in operator <<()
|
/third_party/node/deps/v8/src/parsing/ |
H A D | parse-info.h | 219 std::unique_ptr<AstValueFactory> ast_value_factory_; 285 std::unique_ptr<Utf16CharacterStream> character_stream); 291 void set_consumed_preparse_data(std::unique_ptr<ConsumedPreparseData> data) { in set_consumed_preparse_data() 359 std::unique_ptr<Utf16CharacterStream> character_stream_; 360 std::unique_ptr<ConsumedPreparseData> consumed_preparse_data_;
|
/third_party/rust/crates/clang-sys/src/ |
H A D | support.rs | 5 use std::path::{Path, PathBuf}; 6 use std::process::Command; 7 use std::{env, io}; 159 use std::ffi::CString; in is_executable() 160 use std::os::unix::ffi::OsStrExt; in is_executable()
|
/third_party/rust/crates/env_logger/src/fmt/ |
H A D | mod.rs | 16 //! use std::io::Write; 30 //! [`Write`]: https://doc.rust-lang.org/stable/std/io/trait.Write.html 32 use std::cell::RefCell; 33 use std::fmt::Display; 34 use std::io::prelude::*; 35 use std::rc::Rc; 36 use std::{fmt, io, mem}; 87 /// use std::io::Write; 94 /// [`Write`]: https://doc.rust-lang.org/stable/std/io/trait.Write.html 95 /// [`writeln`]: https://doc.rust-lang.org/stable/std/macr [all...] |
/third_party/rust/crates/bindgen/bindgen-integration/src/ |
H A D | lib.rs | 11 use std::ffi::CStr; 12 use std::mem; 13 use std::os::raw::c_int; 180 use std::mem; in test_bitfield_constructors() 263 let v: &std::any::Any = &bindings::TESTMACRO_CUSTOMINTKIND_PATH; in test_macro_customintkind_path()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
H A D | vktConditionalIgnoreTests.cpp | 77 ConditionalIgnoreClearTestCase(tcu::TestContext& context, const std::string& name, const ConditionalData& data); 104 ConditionalIgnoreClearTestCase::ConditionalIgnoreClearTestCase(tcu::TestContext& context, const std::string& name, const ConditionalData& data) in ConditionalIgnoreClearTestCase() 115 std::unique_ptr<BufferWithMemory> makeBufferForImage(const DeviceInterface& vkd, const VkDevice device, Allocator& allocator, VkFormat imageFormat, VkExtent3D imageExtent) in makeBufferForImage() 122 auto outBuffer = std::unique_ptr<BufferWithMemory>(new BufferWithMemory(vkd, device, allocator, outBufferInfo, MemoryRequirement::HostVisible)); in makeBufferForImage() 340 addChild(new ConditionalIgnoreClearTestCase(m_testCtx, std::string("clear_") + de::toString(conditionData).c_str(), conditionData)); in init()
|