Home
last modified time | relevance | path

Searched refs:set_str (Results 1 – 25 of 51) sorted by relevance

123

/external/marisa-trie/tests/
Dtrie-test.cc82 key.set_str(str, 3); in TestKey()
106 key2.set_str("abc", 3); in TestKey()
120 r_key.set_str(str, 3); in TestKey()
143 r_key2.set_str("abc", 3); in TestKey()
217 entry.set_str(str, 3); in TestEntry()
247 entry.set_str("X", 1); in TestTextTail()
264 entry.set_str("abc", 3); in TestTextTail()
266 entry.set_str("bc", 2); in TestTextTail()
268 entry.set_str("abc", 3); in TestTextTail()
270 entry.set_str("c", 1); in TestTextTail()
[all …]
Dbase-test.cc80 key.set_str(str); in TestKey()
85 key.set_str(str, 4); in TestKey()
134 key.set_str("123"); in TestKeyset()
139 key.set_str("456"); in TestKeyset()
145 key.set_str("789"); in TestKeyset()
225 query.set_str(str); in TestQuery()
230 query.set_str(str, 3); in TestQuery()
/external/perfetto/src/tracing/core/
Dpacket_stream_validator_unittest.cc39 proto.mutable_for_testing()->set_str("string field"); in TEST()
49 proto.mutable_for_testing()->set_str("string field"); in TEST()
96 proto.mutable_for_testing()->set_str("string field"); in TEST()
114 proto.mutable_for_testing()->set_str("string field"); in TEST()
134 proto.mutable_for_testing()->set_str("string field"); in TEST()
143 proto.mutable_for_testing()->set_str("foo"); in TEST()
156 proto.mutable_for_testing()->set_str("string field"); in TEST()
168 proto.mutable_for_testing()->set_str("string field"); in TEST()
Dshared_memory_arbiter_impl_unittest.cc385 packet->set_for_testing()->set_str("foo"); in TEST_P()
399 packet->set_for_testing()->set_str("foo"); in TEST_P()
443 packet->set_for_testing()->set_str("foo"); in TEST_P()
461 packet->set_for_testing()->set_str("foo"); in TEST_P()
466 packet->set_for_testing()->set_str("bar"); in TEST_P()
520 packet->set_for_testing()->set_str("foo"); in TEST_P()
561 packet->set_for_testing()->set_str("foo"); in TEST_P()
588 packet->set_for_testing()->set_str("foo"); in TEST_P()
615 packet->set_for_testing()->set_str("foo"); in TEST_P()
620 packet->set_for_testing()->set_str("bar"); in TEST_P()
Dtrace_writer_impl_unittest.cc72 packet->set_for_testing()->set_str(str); in TEST_P()
110 packet->set_for_testing()->set_str(large_string.data(), large_string.size()); in TEST_P()
133 packet2->set_for_testing()->set_str(large_string.data(), large_string.size()); in TEST_P()
204 packet->set_for_testing()->set_str(large_string.data(), large_string.size()); in TEST_P()
278 packet2->set_for_testing()->set_str(large_string.data(), large_string.size()); in TEST_P()
306 packet3->set_for_testing()->set_str(large_string.data(), large_string.size()); in TEST_P()
397 packet2->set_for_testing()->set_str(large_string.data(), large_string.size()); in TEST_P()
414 packet3->set_for_testing()->set_str(large_string.data(), large_string.size()); in TEST_P()
484 packet2->set_for_testing()->set_str(large_string.data(), large_string.size()); in TEST_P()
Dtrace_packet_unittest.cc31 proto.mutable_for_testing()->set_str("string field"); in TEST()
48 proto.mutable_for_testing()->set_str( in TEST()
79 proto.mutable_for_testing()->set_str("string field"); in TEST()
105 tp_proto.mutable_for_testing()->set_str(payload); in TEST()
Dtracing_service_impl_unittest.cc1066 tp->set_for_testing()->set_str(large_payload.c_str(), large_payload.size()); in TEST_F()
1079 tp->set_for_testing()->set_str(payload.c_str(), payload.size()); in TEST_F()
1650 tp->set_for_testing()->set_str(payload.c_str(), payload.size()); in TEST_F()
1658 tp->set_for_testing()->set_str(big_payload, sizeof(big_payload)); in TEST_F()
1712 tp->set_for_testing()->set_str("payload"); in TEST_F()
1851 tp->set_for_testing()->set_str("payload"); in TEST_F()
1890 tp->set_for_testing()->set_str("payload"); in TEST_F()
1929 tp->set_for_testing()->set_str("payload"); in TEST_F()
2000 tp->set_for_testing()->set_str(payload); in TEST_F()
2335 writer->NewTracePacket()->set_for_testing()->set_str(payload.c_str()); in TEST_F()
[all …]
Dnull_trace_writer_unittest.cc38 packet->set_for_testing()->set_str("Hello, world!"); in TEST()
/external/perfetto/src/profiling/common/
Dinterning_output.cc45 interned_string->set_str(kEmptyString, 0); in WriteFixedInterningsPacket()
49 interned_string->set_str(kEmptyString, 0); in WriteFixedInterningsPacket()
53 interned_string->set_str(kEmptyString, 0); in WriteFixedInterningsPacket()
110 interned_string->set_str(str.data()); in WriteBuildIDString()
126 interned_string->set_str(str.data()); in WriteMappingPathString()
142 interned_string->set_str(str.data()); in WriteFunctionNameString()
/external/perfetto/src/ipc/
Ddeferred_unittest.cc51 (*res).set_str("foo"); in TEST()
147 res->set_str("42"); in TEST()
165 res->set_str("43"); in TEST()
201 res->set_str(std::to_string(i)); in TEST()
210 res->set_str(std::to_string(3)); in TEST()
269 msg->set_str("foo"); in TEST()
/external/perfetto/src/perfetto_cmd/
Dpacket_writer_unittest.cc102 for_testing->set_str("abc"); in TEST()
130 for_testing->set_str("abc"); in TEST()
194 for_testing->set_str("abcdefghijklmn"); in TEST()
199 for_testing->set_str("abcdefghijklmn"); in TEST()
248 for_testing->set_str(s); in TEST()
285 for_testing->set_str(RandomString(1024)); in TEST()
/external/marisa-trie/lib/marisa/
Dagent.cc17 query_.set_str(str); in set_query()
25 query_.set_str(ptr, length); in set_query()
Dkeyset.cc22 new_key.set_str(key_ptr, key.length()); in push_back()
42 new_key.set_str(key_ptr, key.length()); in push_back()
70 key.set_str(key_ptr, length); in push_back()
/external/marisa-trie/include/marisa/
Dagent.h41 key_.set_str(str); in set_key()
46 key_.set_str(ptr, length); in set_key()
Dquery.h26 void set_str(const char *str) { in set_str() function
35 void set_str(const char *ptr, std::size_t length) { in set_str() function
Dkey.h28 void set_str(const char *str) { in set_str() function
38 void set_str(const char *ptr, std::size_t length) { in set_str() function
/external/perfetto/src/tracing/test/
Dtracing_integration_test.cc279 writer->NewTracePacket()->set_for_testing()->set_str(buf, strlen(buf)); in TEST_F()
412 writer->NewTracePacket()->set_for_testing()->set_str(buf, strlen(buf)); in TEST_F()
504 writer->NewTracePacket()->set_for_testing()->set_str("payload1"); in TEST_F()
505 writer->NewTracePacket()->set_for_testing()->set_str("payload2"); in TEST_F()
506 writer->NewTracePacket()->set_for_testing()->set_str("payload3"); in TEST_F()
/external/llvm-project/polly/lib/External/isl/imath/
Dgmp_compat.h178 int GMPZAPI(set_str)(mp_int rop, char *str, int base);
181 int GMPQAPI(set_str)(mp_rat rop, char *str, int base);
/external/python/cpython2/Lib/idlelib/
DHyperParser.py35 parser.set_str(text.get(startatindex, stopatindex)+' \n')
51 parser.set_str(text.get(startatindex, stopatindex)+' \n')
/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_client.cc312 kind_label->set_str(buffer_string_id); in HeapProfile()
315 device_label->set_str( in HeapProfile()
318 kind_label->set_str(executable_string_id); in HeapProfile()
/external/marisa-trie/lib/marisa/grimoire/trie/
Dkey.h40 void set_str(const char *ptr, std::size_t length) { in set_str() function
146 void set_str(const char *ptr, std::size_t length) { in set_str() function
Dentry.h28 void set_str(const char *ptr, std::size_t length) { in set_str() function
/external/perfetto/examples/sdk/
Dexample_custom_data_source.cc98 packet->set_for_testing()->set_str("Hello world!"); in main()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/fake/
Dfake_security_connector.cc148 bool fake_check_target(const char* target, const char* set_str) const { in fake_check_target()
152 gpr_string_split(set_str, ",", &set, &set_size); in fake_check_target()
/external/perfetto/src/tracing/
Dapi_benchmark.cc69 packet->set_for_testing()->set_str("benchmark"); in BM_TracingDataSourceLambda()

123