Home
last modified time | relevance | path

Searched refs:WTF (Results 1 – 25 of 41) sorted by relevance

12

/external/libchrome/mojo/public/cpp/bindings/tests/
Dwtf_types_unittest.cc64 WTF::Vector<WTF::String> ConstructStringArray() { in ConstructStringArray()
65 WTF::Vector<WTF::String> strs(4); in ConstructStringArray()
70 strs[3] = WTF::String::FromUTF8(kUTF8HelloWorld); in ConstructStringArray()
75 WTF::HashMap<WTF::String, WTF::String> ConstructStringMap() { in ConstructStringMap()
76 WTF::HashMap<WTF::String, WTF::String> str_map; in ConstructStringMap()
78 str_map.insert("0", WTF::String()); in ConstructStringMap()
80 str_map.insert("2", WTF::String::FromUTF8(kUTF8HelloWorld)); in ConstructStringMap()
85 void ExpectString(const WTF::String& expected_string, in ExpectString()
87 const WTF::String& string) { in ExpectString()
92 void ExpectStringArray(base::Optional<WTF::Vector<WTF::String>>* expected_arr, in ExpectStringArray()
[all …]
Dwtf_hash_unittest.cc32 ASSERT_EQ(WTF::DefaultHash<blink::TopLevelEnum>::Hash().GetHash( in TEST_F()
34 WTF::DefaultHash<blink::TopLevelEnum>::Hash().GetHash( in TEST_F()
38 ASSERT_EQ(WTF::DefaultHash<blink::TestWTFStruct::NestedEnum>::Hash().GetHash( in TEST_F()
40 WTF::DefaultHash<blink::TestWTFStruct::NestedEnum>::Hash().GetHash( in TEST_F()
44 ASSERT_EQ(WTF::DefaultHash<blink::TestWTF::NestedEnum>::Hash().GetHash( in TEST_F()
46 WTF::DefaultHash<blink::TestWTF::NestedEnum>::Hash().GetHash( in TEST_F()
Dwtf_map_unittest.cc15 WTF::HashMap<blink::RectPtr, int32_t> map; in TEST()
27 WTF::HashMap<blink::ContainsHashablePtr, int32_t> map; in TEST()
Dpickle_unittest.cc139 void PassPickles(WTF::Vector<PickledStructBlink> pickles, in PassPickles()
145 WTF::Vector<WTF::Vector<PickledStructBlink>> pickle_arrays, in PassPickleArrays()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dstring_traits_wtf.cc18 explicit UTF8AdaptorInfo(const WTF::String& input) : utf8_adaptor(input) { in UTF8AdaptorInfo()
26 WTF::StringUTF8Adaptor utf8_adaptor;
34 UTF8AdaptorInfo* ToAdaptor(const WTF::String& input, void* context) { in ToAdaptor()
46 void StringTraits<WTF::String>::SetToNull(WTF::String* output) { in SetToNull()
50 WTF::String result; in SetToNull()
55 void* StringTraits<WTF::String>::SetUpContext(const WTF::String& input) { in SetUpContext()
60 void StringTraits<WTF::String>::TearDownContext(const WTF::String& input, in TearDownContext()
66 size_t StringTraits<WTF::String>::GetSize(const WTF::String& input, in GetSize()
72 const char* StringTraits<WTF::String>::GetData(const WTF::String& input, in GetData()
78 bool StringTraits<WTF::String>::Read(StringDataView input, in Read()
[all …]
Dwtf_clone_equals_util.h19 struct CloneTraits<WTF::Vector<T>, false> {
20 static WTF::Vector<T> Clone(const WTF::Vector<T>& input) {
21 WTF::Vector<T> result;
31 struct CloneTraits<WTF::HashMap<K, V>, false> {
32 static WTF::HashMap<K, V> Clone(const WTF::HashMap<K, V>& input) {
33 WTF::HashMap<K, V> result;
42 struct EqualsTraits<WTF::Vector<T>, false> {
43 static bool Equals(const WTF::Vector<T>& a, const WTF::Vector<T>& b) {
55 struct EqualsTraits<WTF::HashMap<K, V>, false> {
56 static bool Equals(const WTF::HashMap<K, V>& a, const WTF::HashMap<K, V>& b) {
Dwtf_hash_util.h49 struct WTFHashTraits<WTF::String, false> {
50 static size_t Hash(size_t seed, const WTF::String& value) {
51 return HashCombine(seed, WTF::StringHash::GetHash(value));
86 namespace WTF {
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb2/
D2010-01-06-TailDuplicateLabels.ll9WTF::TCMalloc_ThreadCache" = type { i32, %struct._opaque_pthread_t*, i8, [68 x %"struct.WTF::TCMal…
10 %"struct.WTF::TCMalloc_ThreadCache_FreeList" = type { i8*, i16, i16 }
17 @_ZN3WTFL12thread_heapsE = internal global %"struct.WTF::TCMalloc_ThreadCache"* null ; <%"struct.WT…
18 @llvm.used = appending global [1 x i8*] [i8* bitcast (%"struct.WTF::TCMalloc_ThreadCache"* ()* @_ZN…
20 define %"struct.WTF::TCMalloc_ThreadCache"* @_ZN3WTF20TCMalloc_ThreadCache22CreateCacheIfNecessaryE…
35 …%2 = getelementptr inbounds %"struct.WTF::TCMalloc_ThreadCache", %"struct.WTF::TCMalloc_ThreadCach…
42 …%6 = getelementptr inbounds %"struct.WTF::TCMalloc_ThreadCache", %"struct.WTF::TCMalloc_ThreadCach…
46 …%h.0.in = phi %"struct.WTF::TCMalloc_ThreadCache"** [ @_ZN3WTFL12thread_heapsE, %bb6 ], [ %6, %bb1…
47 …%h.0 = load %"struct.WTF::TCMalloc_ThreadCache"*, %"struct.WTF::TCMalloc_ThreadCache"** %h.0.in, a…
48 %7 = icmp eq %"struct.WTF::TCMalloc_ThreadCache"* %h.0, null
[all …]
/external/llvm/test/CodeGen/Thumb2/
D2010-01-06-TailDuplicateLabels.ll9WTF::TCMalloc_ThreadCache" = type { i32, %struct._opaque_pthread_t*, i8, [68 x %"struct.WTF::TCMal…
10 %"struct.WTF::TCMalloc_ThreadCache_FreeList" = type { i8*, i16, i16 }
17 @_ZN3WTFL12thread_heapsE = internal global %"struct.WTF::TCMalloc_ThreadCache"* null ; <%"struct.WT…
18 @llvm.used = appending global [1 x i8*] [i8* bitcast (%"struct.WTF::TCMalloc_ThreadCache"* ()* @_ZN…
20 define %"struct.WTF::TCMalloc_ThreadCache"* @_ZN3WTF20TCMalloc_ThreadCache22CreateCacheIfNecessaryE…
35 …%2 = getelementptr inbounds %"struct.WTF::TCMalloc_ThreadCache", %"struct.WTF::TCMalloc_ThreadCach…
42 …%6 = getelementptr inbounds %"struct.WTF::TCMalloc_ThreadCache", %"struct.WTF::TCMalloc_ThreadCach…
46 …%h.0.in = phi %"struct.WTF::TCMalloc_ThreadCache"** [ @_ZN3WTFL12thread_heapsE, %bb6 ], [ %6, %bb1…
47 …%h.0 = load %"struct.WTF::TCMalloc_ThreadCache"*, %"struct.WTF::TCMalloc_ThreadCache"** %h.0.in, a…
48 %7 = icmp eq %"struct.WTF::TCMalloc_ThreadCache"* %h.0, null
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/
D2010-01-06-TailDuplicateLabels.ll9WTF::TCMalloc_ThreadCache" = type { i32, %struct._opaque_pthread_t*, i8, [68 x %"struct.WTF::TCMal…
10 %"struct.WTF::TCMalloc_ThreadCache_FreeList" = type { i8*, i16, i16 }
17 @_ZN3WTFL12thread_heapsE = internal global %"struct.WTF::TCMalloc_ThreadCache"* null ; <%"struct.WT…
18 @llvm.used = appending global [1 x i8*] [i8* bitcast (%"struct.WTF::TCMalloc_ThreadCache"* ()* @_ZN…
20 define %"struct.WTF::TCMalloc_ThreadCache"* @_ZN3WTF20TCMalloc_ThreadCache22CreateCacheIfNecessaryE…
35 %2 = getelementptr inbounds %"struct.WTF::TCMalloc_ThreadCache"* %h.0, i32 0, i32 1
42 %6 = getelementptr inbounds %"struct.WTF::TCMalloc_ThreadCache"* %h.0, i32 0, i32 6
46 …%h.0.in = phi %"struct.WTF::TCMalloc_ThreadCache"** [ @_ZN3WTFL12thread_heapsE, %bb6 ], [ %6, %bb1…
47 …%h.0 = load %"struct.WTF::TCMalloc_ThreadCache"** %h.0.in, align 4 ; <%"struct.WTF::TCMalloc_Threa…
48 %7 = icmp eq %"struct.WTF::TCMalloc_ThreadCache"* %h.0, null
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dmap_traits_wtf_hash_map.h15 struct MapTraits<WTF::HashMap<K, V>> {
18 using Iterator = typename WTF::HashMap<K, V>::iterator;
19 using ConstIterator = typename WTF::HashMap<K, V>::const_iterator;
21 static bool IsNull(const WTF::HashMap<K, V>& input) {
26 static void SetToNull(WTF::HashMap<K, V>* output) {
31 static size_t GetSize(const WTF::HashMap<K, V>& input) {
35 static ConstIterator GetBegin(const WTF::HashMap<K, V>& input) {
38 static Iterator GetBegin(WTF::HashMap<K, V>& input) { return input.begin(); }
50 static bool Insert(WTF::HashMap<K, V>& input, IK&& key, IV&& value) {
51 if (!WTF::HashMap<K, V>::IsValidKey(key)) {
[all …]
Dstring_traits_wtf.h15 struct StringTraits<WTF::String> {
16 static bool IsNull(const WTF::String& input) { return input.IsNull(); }
17 static void SetToNull(WTF::String* output);
19 static void* SetUpContext(const WTF::String& input);
20 static void TearDownContext(const WTF::String& input, void* context);
22 static size_t GetSize(const WTF::String& input, void* context);
24 static const char* GetData(const WTF::String& input, void* context);
26 static bool Read(StringDataView input, WTF::String* output);
Darray_traits_wtf_vector.h14 struct ArrayTraits<WTF::Vector<U, InlineCapacity>> {
17 static bool IsNull(const WTF::Vector<U, InlineCapacity>& input) {
22 static void SetToNull(WTF::Vector<U, InlineCapacity>* output) {
27 static size_t GetSize(const WTF::Vector<U, InlineCapacity>& input) {
31 static U* GetData(WTF::Vector<U, InlineCapacity>& input) {
35 static const U* GetData(const WTF::Vector<U, InlineCapacity>& input) {
39 static U& GetAt(WTF::Vector<U, InlineCapacity>& input, size_t index) {
43 static const U& GetAt(const WTF::Vector<U, InlineCapacity>& input,
48 static bool Resize(WTF::Vector<U, InlineCapacity>& input, size_t size) {
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dnamespaces-expected.cc22 namespace WTF { namespace
40 namespace WTF { namespace
49 WTF::Foo(); in G()
50 WTF::nested::Foo(); in G()
54 other::WTF::foo(); in G()
Dnamespaces-original.cc22 namespace WTF { namespace
40 namespace WTF { namespace
49 WTF::foo(); in G()
50 WTF::nested::foo(); in G()
54 other::WTF::foo(); in G()
Dfunction-templates-original.cc5 namespace WTF { namespace
52 struct ArrayTraits<WTF::Checked<U, int>> {
53 static bool HasOverflowed(WTF::Checked<U, int>& input) { in HasOverflowed()
63 using WTF::bitwise_cast;
64 using WTF::safeCast;
Dfunction-templates-expected.cc5 namespace WTF { namespace
52 struct ArrayTraits<WTF::Checked<U, int>> {
53 static bool HasOverflowed(WTF::Checked<U, int>& input) { in HasOverflowed()
63 using WTF::bitwise_cast;
64 using WTF::SafeCast;
Dfields-expected.cc87 namespace WTF { namespace
190 bool b1 = WTF::TypeTrait1::value; in F()
191 bool b2 = WTF::TypeTrait2<void>::value; in F()
Dfields-original.cc84 namespace WTF { namespace
187 bool b1 = WTF::TypeTrait1::value; in F()
188 bool b2 = WTF::TypeTrait2<void>::value; in F()
Dmethods-original.cc277 namespace WTF { namespace
289 WTF::StructInWTF w; in F2()
Dmethods-expected.cc273 namespace WTF { namespace
285 WTF::StructInWTF w; in F2()
Dwtf-expected.cc6 namespace WTF { namespace
Dwtf-original.cc6 namespace WTF { namespace
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Denum_macros.tmpl101 namespace WTF {
136 } // namespace WTF
/external/libchrome/mojo/public/mojom/base/
Dbig_string.mojom10 // Corresponds to |WTF::String| in

12