Home
last modified time | relevance | path

Searched refs:std (Results 12051 - 12075 of 55309) sorted by relevance

1...<<481482483484485486487488489490>>...2213

/foundation/filemanagement/storage_service/services/storage_daemon/netlink/src/
H A Dnetlink_data.cpp27 const std::string EMPTY_STRING = "";
42 devPath_ = std::string(msg); in Decode()
46 subSystem_ = std::string(msg); in Decode()
48 params_.push_back(std::string(msg)); in Decode()
56 std::string NetlinkData::GetSyspath() in GetSyspath()
61 std::string NetlinkData::GetDevpath() in GetDevpath()
66 std::string NetlinkData::GetSubsystem() in GetSubsystem()
76 const std::string NetlinkData::GetParam(const std::string paramName) in GetParam()
80 std in GetParam()
[all...]
/test/ostest/wukong/test/unittest/
H A Dwukong_test.cpp24 using namespace std;
29 bool ExecCmd(const std::string &cmd, std::string &resvec) in ExecCmd()
63 std::string cmd = "wukong exec -T 1"; in HWTEST_F()
64 std::string result = ""; in HWTEST_F()
67 std::string::size_type strOne = result.find("all test Finished"); in HWTEST_F()
68 std::string::size_type strTwo = result.find("catching stopped"); in HWTEST_F()
84 std::shared_ptr<WuKongUtil> utilPtr = WuKongUtil::GetInstance(); in HWTEST_F()
85 std::string result = utilPtr->GetBundlePid(); in HWTEST_F()
86 std in HWTEST_F()
[all...]
/test/testfwk/arkxtest/testserver/test/unittest/
H A Dstart_test_server.cpp40 std::unique_lock<std::mutex> lock(locatorMutex_); in InitLoadState()
46 std::unique_lock<std::mutex> lock(locatorMutex_); in WaitLoadStateChange()
47 auto wait = locatorCond_.wait_for(lock, std::chrono::milliseconds(TESTSERVER_LOAD_TIMEOUT_MS), [this] { in WaitLoadStateChange()
65 std::unique_lock<std::mutex> lock(locatorMutex_);
74 std::unique_lock<std::mutex> lock(locatorMutex_);
80 std
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/hdrcodec/include/
H A Dhdrcodec_ndk_sample.h42 std::mutex inMutex_;
43 std::mutex outMutex_;
44 std::condition_variable inCond_;
45 std::condition_variable outCond_;
46 std::queue<uint32_t> inIdxQueue_;
47 std::queue<uint32_t> outIdxQueue_;
48 std::queue<OH_AVCodecBufferAttr> attrQueue_;
49 std::queue<OH_AVMemory *> inBufferQueue_;
50 std::queue<OH_AVMemory *> outBufferQueue_;
86 std
[all...]
/third_party/glslang/gtests/
H A DLink.FromFile.cpp45 ::testing::TestWithParam<std::vector<std::string>>>;
56 std::vector<std::unique_ptr<glslang::TShader>> shaders; in TEST_P()
58 std::string contents; in TEST_P()
76 std::ostringstream stream; in TEST_P()
80 const std::string expectedOutputFname = in TEST_P()
82 std::string expectedOutput; in TEST_P()
91 ::testing::ValuesIn(std::vector<std
[all...]
/third_party/gn/src/gn/
H A Dversion.cc12 using namespace std::literals;
14 constexpr std::string_view kDot = "."sv;
20 std::optional<Version> Version::FromString(std::string s) { in FromString()
25 major_end != std::string::npos) { in FromString()
32 minor_end != std::string::npos) { in FromString()
38 if (!base::StringToInt(s.substr(patch_begin, std::string::npos), &patch)) in FromString()
52 return std::tie(major_, minor_, patch_) < in operator <()
53 std::tie(other.major_, other.minor_, other.patch_); in operator <()
72 std
[all...]
H A Dmetadata.h42 void set_contents(Contents&& contents) { contents_ = std::move(contents); } in set_contents()
55 const std::vector<std::string>& keys_to_extract,
56 const std::vector<std::string>& keys_to_walk,
58 std::vector<Value>* next_walk_keys,
59 std::vector<Value>* result,
67 std::pair<Value, bool> RebaseValue(const BuildSettings* settings,
72 std::pair<Value, bool> RebaseStringValue(const BuildSettings* settings,
77 std
[all...]
/third_party/googletest/googletest/include/gtest/
H A Dgtest-message.h82 // std::cout << foo;
98 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
105 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message()
110 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message()
118 // overloads are defined in the global namespace instead of ::std. in operator <<()
121 // overloads are visible in either the std namespace or the global in operator <<()
181 Message& operator<<(const ::std::wstring& wstr);
184 // Gets the text streamed to this object so far as an std::string.
188 std
[all...]
/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest-message.h78 // std::cout << foo;
94 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
101 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT in Message()
106 explicit Message(const char* str) : ss_(new ::std::stringstream) { in Message()
114 // overloads are defined in the global namespace instead of ::std. in operator <<()
117 // overloads are visible in either the std namespace or the global in operator <<()
179 Message& operator <<(const ::std::wstring& wstr);
182 // Gets the text streamed to this object so far as an std::string.
186 std
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dglue.h22 PtrMaybe(std::unique_ptr<T> value) : value_(std::move(value)) {} in PtrMaybe()
23 PtrMaybe(PtrMaybe&& other) noexcept : value_(std::move(other.value_)) {} in move()
24 void operator=(std::unique_ptr<T> value) { value_ = std::move(value); } in operator =()
33 std::unique_ptr<T> takeJust() { in takeJust()
35 return std::move(value_); in takeJust()
39 std::unique_ptr<T> value_;
46 ValueMaybe(T value) : is_just_(true), value_(std::move(value)) {} in ValueMaybe()
48 : is_just_(other.is_just_), value_(std
[all...]
/third_party/node/tools/snapshot/
H A Dnode_mksnapshot.cc61 std::cerr << "Usage: " << argv[0] << " <path/to/output.cc>\n";
62 std::cerr << " " << argv[0] << " --build-snapshot "
67 std::unique_ptr<node::InitializationResult> result =
69 std::vector<std::string>(argv, argv + argc));
74 std::string out_path;
81 std::ofstream out(out_path, std::ios::out | std::ios::binary);
83 std
[all...]
/third_party/node/deps/v8/src/diagnostics/
H A Dcompilation-statistics.h40 std::string AsJSON();
46 std::string function_name_;
74 std::string phase_kind_name_;
77 friend std::ostream& operator<<(std::ostream& os,
81 using PhaseKindMap = std::map<std::string, PhaseKindStats>;
82 using PhaseMap = std::map<std::string, PhaseStats>;
90 std
[all...]
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dtarget.h40 const std::vector<wasm_addr_t>& call_frames);
44 const std::vector<wasm_addr_t>& call_frames);
47 const std::vector<wasm_addr_t> GetCallStack() const;
53 const std::vector<wasm_addr_t>& call_frames);
97 std::vector<wasm_addr_t> call_frames_ = {},
102 std::atomic<Status> status_;
105 std::atomic<int8_t> cur_signal_;
111 typedef std::map<std::string, std
[all...]
/third_party/node/deps/v8/src/regexp/experimental/
H A Dexperimental-bytecode.cc15 std::ostream& PrintAsciiOrHex(std::ostream& os, base::uc16 c) { in PrintAsciiOrHex()
16 if (c < 128 && std::isprint(c)) { in PrintAsciiOrHex()
19 os << "0x" << std::hex << static_cast<int>(c); in PrintAsciiOrHex()
26 std::ostream& operator<<(std::ostream& os, const RegExpInstruction& inst) { in operator <<()
94 std::ostream& operator<<(std::ostream& os, in operator <<()
101 os << std::setfill('0') << std in operator <<()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dunion_fields.rs11 pub mInt: ::std::os::raw::c_int,
13 pub mPointer: *mut ::std::os::raw::c_void,
17 const UNINIT: ::std::mem::MaybeUninit<nsStyleUnion> = in bindgen_test_layout_nsStyleUnion()
18 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_nsStyleUnion()
21 ::std::mem::size_of::<nsStyleUnion>(), in bindgen_test_layout_nsStyleUnion()
26 ::std::mem::align_of::<nsStyleUnion>(), in bindgen_test_layout_nsStyleUnion()
31 unsafe { ::std::ptr::addr_of!((*ptr).mInt) as usize - ptr as usize }, in bindgen_test_layout_nsStyleUnion()
41 unsafe { ::std::ptr::addr_of!((*ptr).mFloat) as usize - ptr as usize }, in bindgen_test_layout_nsStyleUnion()
52 ::std::ptr::addr_of!((*ptr).mPointer) as usize - ptr as usize in bindgen_test_layout_nsStyleUnion()
65 let mut s = ::std in default()
[all...]
H A Dclass_use_as.rs12 pub replacement: ::std::os::raw::c_int,
16 const UNINIT: ::std::mem::MaybeUninit<whatever> = in bindgen_test_layout_whatever()
17 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_whatever()
20 ::std::mem::size_of::<whatever>(), in bindgen_test_layout_whatever()
25 ::std::mem::align_of::<whatever>(), in bindgen_test_layout_whatever()
31 ::std::ptr::addr_of!((*ptr).replacement) as usize - ptr as usize in bindgen_test_layout_whatever()
49 const UNINIT: ::std::mem::MaybeUninit<container> = in bindgen_test_layout_container()
50 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_container()
53 ::std::mem::size_of::<container>(), in bindgen_test_layout_container()
58 ::std in bindgen_test_layout_container()
[all...]
H A Ddynamic_loading_with_allowlist.rs13 x: *mut ::std::os::raw::c_void,
14 ) -> ::std::os::raw::c_int,
19 x: *mut ::std::os::raw::c_void,
20 ) -> ::std::os::raw::c_int,
25 arg1: ::std::os::raw::c_int,
27 ) -> ::std::os::raw::c_int,
34 P: AsRef<::std::ffi::OsStr>, in new()
58 x: *mut ::std::os::raw::c_void, in foo()
59 ) -> ::std::os::raw::c_int { in foo()
64 x: *mut ::std in baz()
[all...]
H A Dopaque_pointer.rs18 ::std::mem::size_of::<OtherOpaque>(), in bindgen_test_layout_OtherOpaque()
23 ::std::mem::align_of::<OtherOpaque>(), in bindgen_test_layout_OtherOpaque()
43 const UNINIT: ::std::mem::MaybeUninit<WithOpaquePtr> = in bindgen_test_layout_WithOpaquePtr()
44 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_WithOpaquePtr()
47 ::std::mem::size_of::<WithOpaquePtr>(), in bindgen_test_layout_WithOpaquePtr()
52 ::std::mem::align_of::<WithOpaquePtr>(), in bindgen_test_layout_WithOpaquePtr()
58 ::std::ptr::addr_of!((*ptr).whatever) as usize - ptr as usize in bindgen_test_layout_WithOpaquePtr()
69 unsafe { ::std::ptr::addr_of!((*ptr).other) as usize - ptr as usize }, in bindgen_test_layout_WithOpaquePtr()
79 unsafe { ::std::ptr::addr_of!((*ptr).t) as usize - ptr as usize }, in bindgen_test_layout_WithOpaquePtr()
91 let mut s = ::std in default()
[all...]
H A Dissue-691-template-parameter-virtual.rs18 ::std::mem::size_of::<VirtualMethods>(), in bindgen_test_layout_VirtualMethods()
23 ::std::mem::align_of::<VirtualMethods>(), in bindgen_test_layout_VirtualMethods()
30 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
32 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
40 pub bar: ::std::os::raw::c_int,
50 ::std::mem::size_of::<ServoElementSnapshotTable>(), in bindgen_test_layout_ServoElementSnapshotTable()
55 ::std::mem::align_of::<ServoElementSnapshotTable>(), in bindgen_test_layout_ServoElementSnapshotTable()
62 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
64 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
72 ::std in __bindgen_test_layout_Set_open0_VirtualMethods_close0_instantiation()
[all...]
H A Danonymous-template-types.rs12 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
16 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
18 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
26 pub member: ::std::os::raw::c_char,
32 pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<V>>,
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 also_member: ::std
[all...]
H A Dno_size_t_is_usize.rs8 pub type size_t = ::std::os::raw::c_ulong;
9 pub type ssize_t = ::std::os::raw::c_long;
19 const UNINIT: ::std::mem::MaybeUninit<A> = in bindgen_test_layout_A()
20 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_A()
23 ::std::mem::size_of::<A>(), in bindgen_test_layout_A()
28 ::std::mem::align_of::<A>(), in bindgen_test_layout_A()
33 unsafe { ::std::ptr::addr_of!((*ptr).len) as usize - ptr as usize }, in bindgen_test_layout_A()
38 unsafe { ::std::ptr::addr_of!((*ptr).offset) as usize - ptr as usize }, in bindgen_test_layout_A()
43 unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize }, in bindgen_test_layout_A()
50 let mut s = ::std in default()
[all...]
H A Danon_union.rs10 pub mResult: ::std::os::raw::c_int,
41 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
43 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
50 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
52 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
64 ::std::mem::size_of::<ErrorResult>(), in bindgen_test_layout_ErrorResult()
69 ::std::mem::align_of::<ErrorResult>(), in bindgen_test_layout_ErrorResult()
76 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default()
78 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default()
86 ::std in __bindgen_test_layout_TErrorResult_open0_int_close0_instantiation()
[all...]
H A Dvar-tracing.rs11 pub m_baz: ::std::os::raw::c_int,
15 const UNINIT: ::std::mem::MaybeUninit<Bar> = in bindgen_test_layout_Bar()
16 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_Bar()
19 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar()
24 ::std::mem::align_of::<Bar>(), in bindgen_test_layout_Bar()
29 unsafe { ::std::ptr::addr_of!((*ptr).m_baz) as usize - ptr as usize }, in bindgen_test_layout_Bar()
41 pub fn Bar_Bar(this: *mut Bar, baz: ::std::os::raw::c_int); in Bar_Bar()
45 pub unsafe fn new(baz: ::std::os::raw::c_int) -> Self { in new()
46 let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit(); in new()
63 ::std in bindgen_test_layout_Baz()
[all...]
/third_party/rust/crates/io-lifetimes/tests/
H A Dassumptions.rs4 use std::mem::size_of;
9 assert_eq!(size_of::<std::os::unix::io::RawFd>(), size_of::<i32>()); in test_assumptions()
11 size_of::<std::os::unix::io::RawFd>(), in test_assumptions()
12 size_of::<std::os::raw::c_int>() in test_assumptions()
19 assert_eq!(size_of::<std::os::wasi::io::RawFd>(), size_of::<i32>()); in test_assumptions()
21 size_of::<std::os::wasi::io::RawFd>(), in test_assumptions()
22 size_of::<std::os::raw::c_int>() in test_assumptions()
30 size_of::<std::os::windows::io::RawSocket>(), in test_assumptions()
34 size_of::<std::os::windows::io::RawHandle>(), in test_assumptions()
43 std in test_assumptions()
[all...]
/third_party/rust/crates/cxx/demo/src/
H A Dblobstore.cc19 std::string data;
20 std::set<std::string> tags;
22 std::unordered_map<uint64_t, Blob> blobs;
29 std::string contents; in put()
44 auto blobid = std::hash<std::string>{}(contents); in put()
45 impl->blobs[blobid] = {std::move(contents), {}}; in put()
60 std::for_each(blob->second.tags.cbegin(), blob->second.tags.cend(), in metadata()
66 std
[all...]

Completed in 20 milliseconds

1...<<481482483484485486487488489490>>...2213