Home
last modified time | relevance | path

Searched refs:std (Results 11276 - 11300 of 65967) sorted by relevance

1...<<451452453454455456457458459460>>...2639

/third_party/benchmark/test/
H A Dmultiple_ranges_test.cc32 std::vector<int64_t> ranges = {state.range(0), state.range(1),
44 std::cout << "EXPECTED\n";
46 std::cout << "{";
48 std::cout << iv << ", ";
50 std::cout << "}\n";
52 std::cout << "ACTUAL\n";
54 std::cout << "{";
56 std::cout << iv << ", ";
58 std::cout << "}\n";
63 std
[all...]
/third_party/gn/src/gn/
H A Dninja_build_writer.h33 const std::unordered_map<const Settings*, const Toolchain*>&
35 const std::vector<const Target*>& all_targets,
37 const std::vector<const Target*>& default_toolchain_targets,
38 std::ostream& out,
39 std::ostream& dep_out);
59 static std::string ExtractRegenerationCommands(std::istream& build_ninja_in);
86 void WritePhonyRule(const Target* target, std::string_view phony_name);
90 const std::unordered_map<const Settings*, const Toolchain*>& used_toolchains_;
91 const std
[all...]
H A Dninja_target_writer.h23 NinjaTargetWriter(const Target* target, std::ostream& out);
40 void SetNinjaOutputs(std::vector<OutputFile>* ninja_outputs);
52 static std::string RunAndWriteFile(
55 std::vector<OutputFile>* ninja_outputs = nullptr);
92 std::vector<OutputFile> WriteInputDepsStampAndGetDep(
93 const std::vector<const Target*>& additional_hard_deps,
99 void WriteStampForTarget(const std::vector<OutputFile>& deps,
100 const std::vector<OutputFile>& order_only_deps);
104 std::ostream& out_;
113 void WriteOutputs(const std
[all...]
/third_party/node/src/
H A Djson_utils.cc5 std::string EscapeJsonChars(std::string_view str) { in EscapeJsonChars()
9 static constexpr std::string_view control_symbols[0x20] = { in EscapeJsonChars()
17 std::string ret; in EscapeJsonChars()
21 std::string replace; in EscapeJsonChars()
46 std::string Reindent(const std::string& str, int indent_depth) { in Reindent()
48 const std::string indent(indent_depth, ' '); in Reindent()
49 std::string out; in Reindent()
50 std in Reindent()
[all...]
/third_party/node/deps/v8/src/third_party/vtune/
H A Dvtuneapi.cc6 std::map<std::string, std::shared_ptr<VTuneDomain>> VTuneDomain::domains_;
7 std::map<std::string, __itt_string_handle*> VTuneDomain::string_handlers_;
9 std::shared_ptr<VTuneDomain> VTuneDomain::createDomain( in createDomain()
22 std::string key(domain_name); in createDomain()
23 std::shared_ptr<VTuneDomain> value(new VTuneDomain(itt_domain)); in createDomain()
25 domains_.insert(std::make_pair(key, value)); in createDomain()
39 std
[all...]
/third_party/node/deps/v8/src/torque/
H A Dsource-positions.cc19 const std::string& SourceFileMap::PathFromV8Root(SourceId file) { in PathFromV8Root()
25 std::string SourceFileMap::AbsolutePath(SourceId file) { in AbsolutePath()
26 const std::string& root_path = PathFromV8Root(file); in AbsolutePath()
32 std::string SourceFileMap::PathFromV8RootWithoutExtension(SourceId file) { in PathFromV8RootWithoutExtension()
33 std::string path_from_root = PathFromV8Root(file); in PathFromV8RootWithoutExtension()
42 SourceId SourceFileMap::AddSource(std::string path) { in AddSource()
43 Get().sources_.push_back(std::move(path)); in AddSource()
48 SourceId SourceFileMap::GetSourceId(const std::string& path) { in GetSourceId()
58 std::vector<SourceId> SourceFileMap::AllSources() { in AllSources()
60 std in AllSources()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dstruct_containing_forward_declared_struct.rs15 const UNINIT: ::std::mem::MaybeUninit<a> = in bindgen_test_layout_a()
16 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_a()
19 ::std::mem::size_of::<a>(), in bindgen_test_layout_a()
24 ::std::mem::align_of::<a>(), in bindgen_test_layout_a()
29 unsafe { ::std::ptr::addr_of!((*ptr).val_a) as usize - ptr as usize }, in bindgen_test_layout_a()
36 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
38 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
46 pub val_b: ::std::os::raw::c_int,
50 const UNINIT: ::std::mem::MaybeUninit<b> = in bindgen_test_layout_b()
51 ::std in bindgen_test_layout_b()
[all...]
H A Dstruct_with_anon_struct.rs16 pub a: ::std::os::raw::c_int,
17 pub b: ::std::os::raw::c_int,
21 const UNINIT: ::std::mem::MaybeUninit<foo__bindgen_ty_1> = in bindgen_test_layout_foo__bindgen_ty_1()
22 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_foo__bindgen_ty_1()
25 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1()
30 ::std::mem::align_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1()
35 unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize }, in bindgen_test_layout_foo__bindgen_ty_1()
45 unsafe { ::std::ptr::addr_of!((*ptr).b) as usize - ptr as usize }, in bindgen_test_layout_foo__bindgen_ty_1()
57 const UNINIT: ::std::mem::MaybeUninit<foo> = in bindgen_test_layout_foo()
58 ::std in bindgen_test_layout_foo()
[all...]
H A Dforward-declaration-autoptr.rs17 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
21 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
23 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
35 const UNINIT: ::std::mem::MaybeUninit<Bar> = in bindgen_test_layout_Bar()
36 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_Bar()
39 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar()
44 ::std::mem::align_of::<Bar>(), in bindgen_test_layout_Bar()
50 ::std::ptr::addr_of!((*ptr).m_member) as usize - ptr as usize in bindgen_test_layout_Bar()
63 let mut s = ::std in default()
[all...]
H A Dwrap_unsafe_ops_dynamic_loading_simple.rs13 x: ::std::os::raw::c_int,
14 y: ::std::os::raw::c_int,
15 ) -> ::std::os::raw::c_int,
20 x: *mut ::std::os::raw::c_void,
21 ) -> ::std::os::raw::c_int,
25 unsafe extern "C" fn() -> ::std::os::raw::c_int,
32 P: AsRef<::std::ffi::OsStr>, in new()
56 x: ::std::os::raw::c_int, in foo()
57 y: ::std::os::raw::c_int, in foo()
58 ) -> ::std in foo()
[all...]
H A Ddynamic_loading_simple.rs13 x: ::std::os::raw::c_int,
14 y: ::std::os::raw::c_int,
15 ) -> ::std::os::raw::c_int,
20 x: *mut ::std::os::raw::c_void,
21 ) -> ::std::os::raw::c_int,
25 unsafe extern "C" fn() -> ::std::os::raw::c_int,
32 P: AsRef<::std::ffi::OsStr>, in new()
56 x: ::std::os::raw::c_int, in foo()
57 y: ::std::os::raw::c_int, in foo()
58 ) -> ::std in foo()
[all...]
H A Ddynamic_loading_required.rs12 x: ::std::os::raw::c_int,
13 y: ::std::os::raw::c_int,
14 ) -> ::std::os::raw::c_int,
16 x: *mut ::std::os::raw::c_void,
17 ) -> ::std::os::raw::c_int,
18 pub baz: unsafe extern "C" fn() -> ::std::os::raw::c_int,
23 P: AsRef<::std::ffi::OsStr>, in new()
47 x: ::std::os::raw::c_int, in foo()
48 y: ::std::os::raw::c_int, in foo()
49 ) -> ::std in foo()
[all...]
H A Dderive-debug-function-pointer.rs12 pub large_array: [::std::os::raw::c_int; 34usize],
15 ::std::option::Option<unsafe extern "C" fn(data: ::std::os::raw::c_int)>;
18 const UNINIT: ::std::mem::MaybeUninit<Nice> = in bindgen_test_layout_Nice()
19 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_Nice()
22 ::std::mem::size_of::<Nice>(), in bindgen_test_layout_Nice()
27 ::std::mem::align_of::<Nice>(), in bindgen_test_layout_Nice()
32 unsafe { ::std::ptr::addr_of!((*ptr).pointer) as usize - ptr as usize }, in bindgen_test_layout_Nice()
43 ::std::ptr::addr_of!((*ptr).large_array) as usize - ptr as usize in bindgen_test_layout_Nice()
56 let mut s = ::std in default()
[all...]
H A Dstruct_with_struct.rs16 pub x: ::std::os::raw::c_uint,
17 pub y: ::std::os::raw::c_uint,
21 const UNINIT: ::std::mem::MaybeUninit<foo__bindgen_ty_1> = in bindgen_test_layout_foo__bindgen_ty_1()
22 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_foo__bindgen_ty_1()
25 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1()
30 ::std::mem::align_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1()
35 unsafe { ::std::ptr::addr_of!((*ptr).x) as usize - ptr as usize }, in bindgen_test_layout_foo__bindgen_ty_1()
45 unsafe { ::std::ptr::addr_of!((*ptr).y) as usize - ptr as usize }, in bindgen_test_layout_foo__bindgen_ty_1()
57 const UNINIT: ::std::mem::MaybeUninit<foo> = in bindgen_test_layout_foo()
58 ::std in bindgen_test_layout_foo()
[all...]
H A Dzero-sized-array.rs10 pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]);
14 __IncompleteArrayField(::std::marker::PhantomData, [])
26 ::std::slice::from_raw_parts(self.as_ptr(), len) in as_slice()
30 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len) in as_mut_slice()
33 impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> {
34 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { in fmt()
42 pub arr: __IncompleteArrayField<::std::os::raw::c_char>, in fmt()
46 const UNINIT: ::std::mem::MaybeUninit<ZeroSizedArray> = in bindgen_test_layout_ZeroSizedArray()
47 ::std in bindgen_test_layout_ZeroSizedArray()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/
H A Dissue-769-bad-instantiation-test.rs16 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
20 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
22 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
27 pub type AutoValueVector_Alias = ::std::os::raw::c_int;
31 ::std::mem::size_of::<root::Rooted<::std::os::raw::c_int>>(), in __bindgen_test_layout_Rooted_open0_int_close0_instantiation()
35 stringify!(root::Rooted<::std::os::raw::c_int>) in __bindgen_test_layout_Rooted_open0_int_close0_instantiation()
39 ::std::mem::align_of::<root::Rooted<::std in __bindgen_test_layout_Rooted_open0_int_close0_instantiation()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
H A Dissue-769-bad-instantiation-test.rs16 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
20 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
22 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
27 pub type AutoValueVector_Alias = ::std::os::raw::c_int;
31 ::std::mem::size_of::<root::Rooted<::std::os::raw::c_int>>(), in __bindgen_test_layout_Rooted_open0_int_close0_instantiation()
35 stringify!(root::Rooted<::std::os::raw::c_int>) in __bindgen_test_layout_Rooted_open0_int_close0_instantiation()
39 ::std::mem::align_of::<root::Rooted<::std in __bindgen_test_layout_Rooted_open0_int_close0_instantiation()
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
H A DMacroExpander.h43 bool pushMacro(std::shared_ptr<Macro> macro, const Token &identifier);
46 bool expandMacro(const Macro &macro, const Token &identifier, std::vector<Token> *replacements);
48 typedef std::vector<Token> MacroArg;
51 std::vector<MacroArg> *args,
54 const std::vector<MacroArg> &args,
55 std::vector<Token> *replacements);
65 std::shared_ptr<Macro> macro;
66 std::size_t index;
67 std::vector<Token> replacements;
75 std
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/util/
H A Dstring_utils.h30 std::string ToString(T val) { in ToString()
32 std::is_arithmetic<T>::value, in ToString()
34 std::stringstream os; in ToString()
40 std::string CardinalToOrdinal(size_t cardinal);
45 std::pair<std::string, std::string> SplitFlagArgs(const std::string& flag);
48 inline std::vector<uint32_t> MakeVector(std
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DHLSLOutput_test.cpp40 const std::string &shaderString = in TEST_F()
56 const std::string &shaderString = in TEST_F()
100 const std::string &shaderString = in TEST_F()
112 const std::string &shaderString = in TEST_F()
127 const std::string &shaderString = in TEST_F()
143 const std::string &shaderString = in TEST_F()
161 const std::string &shaderString = in TEST_F()
183 const std::string &shaderString = in TEST_F()
202 const std::string &shaderString = in TEST_F()
220 EXPECT_TRUE(foundInCodeRegex(std in TEST_F()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/
H A Dperf_result_reporter.cc12 PerfResultReporter::PerfResultReporter(const std::string &metric_basename, in PerfResultReporter()
13 const std::string &story_name) in PerfResultReporter()
19 void PerfResultReporter::RegisterFyiMetric(const std::string &metric_suffix, in RegisterFyiMetric()
20 const std::string &units) in RegisterFyiMetric()
25 void PerfResultReporter::RegisterImportantMetric(const std::string &metric_suffix, in RegisterImportantMetric()
26 const std::string &units) in RegisterImportantMetric()
31 void PerfResultReporter::AddResult(const std::string &metric_suffix, size_t value) in AddResult()
40 void PerfResultReporter::AddResult(const std::string &metric_suffix, double value) in AddResult()
49 void PerfResultReporter::AddResult(const std::string &metric_suffix, const std
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
H A DMacroExpander.h46 bool pushMacro(std::shared_ptr<Macro> macro, const Token &identifier);
49 bool expandMacro(const Macro &macro, const Token &identifier, std::vector<Token> *replacements);
51 typedef std::vector<Token> MacroArg;
54 std::vector<MacroArg> *args,
57 const std::vector<MacroArg> &args,
58 std::vector<Token> *replacements);
68 std::shared_ptr<Macro> macro;
69 std::size_t index;
70 std::vector<Token> replacements;
78 std
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Dreducer.h51 std::function<bool(const std::vector<uint32_t>&, uint32_t)>;
87 void AddReductionPass(std::unique_ptr<ReductionOpportunityFinder> finder);
92 std::unique_ptr<ReductionOpportunityFinder> finder);
97 ReductionResultStatus Run(const std::vector<uint32_t>& binary_in,
98 std::vector<uint32_t>* binary_out,
107 std::vector<std::unique_ptr<ReductionPass>>* passes,
110 std::vector<uint32_t>* current_binary, uint32_t* reductions_applied);
115 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Dreducer.h51 std::function<bool(const std::vector<uint32_t>&, uint32_t)>;
87 void AddReductionPass(std::unique_ptr<ReductionOpportunityFinder> finder);
92 std::unique_ptr<ReductionOpportunityFinder> finder);
97 ReductionResultStatus Run(const std::vector<uint32_t>& binary_in,
98 std::vector<uint32_t>* binary_out,
107 std::vector<std::unique_ptr<ReductionPass>>* passes,
110 std::vector<uint32_t>* current_binary, uint32_t* reductions_applied);
115 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
H A Dstring_utils.h30 std::string ToString(T val) { in ToString()
32 std::is_arithmetic<T>::value, in ToString()
34 std::stringstream os; in ToString()
40 std::string CardinalToOrdinal(size_t cardinal);
45 std::pair<std::string, std::string> SplitFlagArgs(const std::string& flag);
48 inline std::vector<uint32_t> MakeVector(std
[all...]

Completed in 20 milliseconds

1...<<451452453454455456457458459460>>...2639