Home
last modified time | relevance | path

Searched refs:Put (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/external/llvm-project/flang/lib/Parser/
Dunparse.cpp59 void Unparse(const std::string &x) { Put(x); } in Unparse()
60 void Unparse(int x) { Put(std::to_string(x)); } in Unparse()
61 void Unparse(unsigned int x) { Put(std::to_string(x)); } in Unparse()
62 void Unparse(long x) { Put(std::to_string(x)); } in Unparse()
63 void Unparse(unsigned long x) { Put(std::to_string(x)); } in Unparse()
64 void Unparse(long long x) { Put(std::to_string(x)); } in Unparse()
65 void Unparse(unsigned long long x) { Put(std::to_string(x)); } in Unparse()
66 void Unparse(char x) { Put(x); } in Unparse()
75 template <typename T> void Post(const Statement<T> &) { Put('\n'); } in Post()
86 Put(x.ToString()); in Unparse()
[all …]
Dtoken-sequence.h37 TokenSequence(const TokenSequence &that) { Put(that); } in TokenSequence()
40 Put(that, at, count);
46 TokenSequence(const std::string &s, Provenance p) { Put(s, p); } in TokenSequence()
50 Put(that);
82 provenances_.Put({provenance, 1}); in PutNextTokenChar()
97 void Put(const TokenSequence &);
98 void Put(const TokenSequence &, ProvenanceRange);
99 void Put(const TokenSequence &, std::size_t at, std::size_t tokens = 1);
100 void Put(const char *, std::size_t, Provenance);
101 void Put(const CharBlock &, Provenance);
[all …]
Dtoken-sequence.cpp95 void TokenSequence::Put(const TokenSequence &that) { in Put() function in Fortran::parser::TokenSequence
105 provenances_.Put(that.provenances_); in Put()
108 void TokenSequence::Put(const TokenSequence &that, ProvenanceRange range) { in Put() function in Fortran::parser::TokenSequence
113 Put(tok, range.OffsetMember(offset)); in Put()
119 void TokenSequence::Put( in Put() function in Fortran::parser::TokenSequence
137 void TokenSequence::Put( in Put() function in Fortran::parser::TokenSequence
145 void TokenSequence::Put(const CharBlock &t, Provenance provenance) { in Put() function in Fortran::parser::TokenSequence
146 Put(&t[0], t.size(), provenance); in Put()
149 void TokenSequence::Put(const std::string &s, Provenance provenance) { in Put() function in Fortran::parser::TokenSequence
150 Put(s.data(), s.size(), provenance); in Put()
[all …]
Dchar-buffer.cpp37 std::size_t CharBuffer::Put(const char *data, std::size_t n) { in Put() function in Fortran::parser::CharBuffer
48 std::size_t CharBuffer::Put(const std::string &str) { in Put() function in Fortran::parser::CharBuffer
49 return Put(str.data(), str.size()); in Put()
/external/pigweed/pw_kvs/
Dkey_value_store_initialized_test.cc111 kvs_.Put(key, in FillKvs()
131 kvs_.Put("The Key!", std::as_bytes(std::span(value)))); in TEST_F()
140 kvs_.Put("The Key!", std::as_bytes(std::span(value)))); in TEST_F()
149 ASSERT_EQ(OkStatus(), kvs_.Put("The Key!", i)); in TEST_F()
156 ASSERT_EQ(OkStatus(), kvs_.Put("key", input)); in TEST_F()
166 ASSERT_EQ(OkStatus(), kvs_.Put("key", std::span(input))); in TEST_F()
181 ASSERT_EQ(OkStatus(), kvs_.Put("key", input)); in TEST_F()
191 kvs_.Put("Charles", std::as_bytes(std::span("Mingus")))); in TEST_F()
202 kvs_.Put("Charles", std::as_bytes(std::span("Mingus")))); in TEST_F()
214 kvs_.Put("Charles", std::as_bytes(std::span("Mingus")))); in TEST_F()
[all …]
Dkey_value_store_test.cc192 EXPECT_OK(kvs.Put(key, written_value)); in TEST()
233 EXPECT_OK(kvs.Put(key.view(), value)); in TEST()
256 ASSERT_OK(kvs.Put(key, written_value)); in TEST()
282 ASSERT_OK(kvs.Put(key, written_value)); in TEST()
316 ASSERT_OK(kvs.Put(key1, std::as_bytes(std::span(&value1, sizeof(value1))))); in TEST()
320 ASSERT_OK(kvs.Put(key2, value2)); in TEST()
347 ASSERT_EQ(OkStatus(), kvs.Put(keys[0], kValue)); in TEST()
372 ASSERT_EQ(OkStatus(), kvs_.Put(keys[0], kValue1)); in TEST_F()
376 ASSERT_EQ(OkStatus(), kvs_.Put(keys[1], kValue1)); in TEST_F()
377 ASSERT_EQ(OkStatus(), kvs_.Put(keys[2], kValue2)); in TEST_F()
[all …]
Dkey_value_store_wear_test.cc68 EXPECT_TRUE(kvs_.Put("large_entry", std::span(test_data)).ok()); in TEST_F()
96 kvs_.Put("key", in TEST_F()
108 EXPECT_EQ(OkStatus(), kvs_.Put("big_key", test_data)); in TEST_F()
/external/libchrome/base/containers/
Dmru_cache_unittest.cc55 Cache::iterator inserted_item = cache.Put(kItem1Key, item1); in TEST()
73 cache.Put(kItem2Key, item2); in TEST()
115 cache.Put(kItem1Key, item1); in TEST()
116 cache.Put(kItem2Key, item2); in TEST()
128 cache.Put(kItem1Key, item1); in TEST()
132 cache.Put(kItem2Key, item2); in TEST()
163 cache.Put(kItem1Key, item1); in TEST()
167 cache.Put(kItem2Key, item2); in TEST()
171 cache.Put(kItem3Key, item3); in TEST()
175 cache.Put(kItem4Key, item4); in TEST()
[all …]
/external/icing/icing/store/
Dkey-mapper_test.cc77 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 100)); in TEST_F()
78 ICING_EXPECT_OK(key_mapper->Put("default-youtube.com", 50)); in TEST_F()
82 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 200)); in TEST_F()
86 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 300)); in TEST_F()
111 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 100)); in TEST_F()
117 ICING_EXPECT_OK(key_mapper->Put("default-youtube.com", 200)); in TEST_F()
122 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 300)); in TEST_F()
131 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 100)); in TEST_F()
142 ICING_EXPECT_OK(key_mapper->Put("default-youtube.com", 200)); in TEST_F()
143 ICING_EXPECT_OK(key_mapper->Put("default-google.com", 300)); in TEST_F()
[all …]
Ddocument-store_test.cc276 doc_store->Put(test_document1_)); in TEST_F()
278 doc_store->Put(DocumentProto(test_document2_))); in TEST_F()
307 doc_store->Put(foo_document)); in TEST_F()
309 doc_store->Put(DocumentProto(bar_document))); in TEST_F()
332 doc_store->Put(document1)); in TEST_F()
334 doc_store->Put(document2)); in TEST_F()
345 EXPECT_THAT(doc_store->Put(document3), IsOkAndHolds(Not(document_id1))); in TEST_F()
357 doc_store->Put(DocumentProto(test_document1_))); in TEST_F()
359 doc_store->Put(DocumentProto(test_document2_))); in TEST_F()
388 ICING_EXPECT_OK(document_store->Put(DocumentProto(test_document1_))); in TEST_F()
[all …]
/external/llvm-project/flang/include/flang/Parser/
Dprovenance.h92 void Put(ProvenanceRange, std::size_t offset);
118 void Put(ProvenanceRange);
119 void Put(const OffsetToProvenanceMappings &);
229 std::size_t Put(const char *data, std::size_t bytes) { in Put() function
230 return buffer_.Put(data, bytes); in Put()
232 std::size_t Put(const std::string &s) { return buffer_.Put(s); } in Put() function
233 std::size_t Put(char ch) { return buffer_.Put(&ch, 1); } in Put() function
234 std::size_t Put(char ch, Provenance p) { in Put() function
235 provenanceMap_.Put(ProvenanceRange{p, 1}); in Put()
236 return buffer_.Put(&ch, 1); in Put()
[all …]
Dchar-buffer.h53 std::size_t Put(const char *data, std::size_t n);
54 std::size_t Put(const std::string &);
55 std::size_t Put(char x) { return Put(&x, 1); } in Put() function
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator-filter_test.cc99 ICING_ASSERT_OK(document_store_->Put(test_document1_)); in TEST_F()
113 document_store_->Put(test_document1_)); in TEST_F()
115 document_store_->Put(test_document2_)); in TEST_F()
117 document_store_->Put(test_document3_)); in TEST_F()
138 document_store_->Put(test_document1_)); in TEST_F()
140 document_store_->Put(test_document2_)); in TEST_F()
142 document_store_->Put(test_document3_)); in TEST_F()
284 document_store_->Put(document1_namespace1_)); in TEST_F()
301 document_store_->Put(document1_namespace1_)); in TEST_F()
319 document_store_->Put(document1_namespace1_)); in TEST_F()
[all …]
/external/icing/icing/
Dicing-search-engine_test.cc302 ASSERT_THAT(icing.Put(document).status(), ProtoIsOk()); in TEST_F()
303 ASSERT_THAT(icing.Put(DocumentProto(document)).status(), ProtoIsOk()); in TEST_F()
312 ASSERT_THAT(icing.Put(document).status(), ProtoIsOk()); in TEST_F()
417 EXPECT_THAT(icing.Put(document).status(), ProtoIsOk()); in TEST_F()
473 EXPECT_THAT(icing.Put(document).status(), in TEST_F()
542 PutResultProto put_result_proto = icing.Put(document); in TEST_F()
628 EXPECT_THAT(icing.Put(std::move(doc)).status(), ProtoIsOk()); in TEST_F()
682 EXPECT_THAT(icing.Put(std::move(doc)).status(), ProtoIsOk()); in TEST_F()
984 EXPECT_THAT(icing.Put(message_document).status(), ProtoIsOk()); in TEST_F()
997 EXPECT_THAT(icing.Put(message_document).status(), ProtoIsOk()); in TEST_F()
[all …]
/external/icing/icing/scoring/
Dscoring-processor_test.cc121 document_store->Put(CreateDocument( in CreateAndInsertsDocumentsWithScores()
177 document_store()->Put(CreateDocument("icing", "email/1", /*score=*/1, in TEST_F()
277 document_store()->Put(document1, /*num_tokens=*/10)); in TEST_F()
280 document_store()->Put(document2, /*num_tokens=*/100)); in TEST_F()
283 document_store()->Put(document3, /*num_tokens=*/50)); in TEST_F()
346 document_store()->Put(document1, /*num_tokens=*/10)); in TEST_F()
349 document_store()->Put(document2, /*num_tokens=*/10)); in TEST_F()
352 document_store()->Put(document3, /*num_tokens=*/10)); in TEST_F()
414 document_store()->Put(document1, /*num_tokens=*/10)); in TEST_F()
417 document_store()->Put(document2, /*num_tokens=*/10)); in TEST_F()
[all …]
Dscorer_test.cc152 document_store()->Put(test_document)); in TEST_F()
184 document_store()->Put(test_document)); in TEST_F()
213 document_store()->Put(test_document)); in TEST_F()
235 document_store()->Put(test_document)); in TEST_F()
259 document_store()->Put(test_document)); in TEST_F()
288 document_store()->Put(test_document1)); in TEST_F()
290 document_store()->Put(test_document2)); in TEST_F()
314 document_store()->Put(test_document)); in TEST_F()
355 document_store()->Put(test_document)); in TEST_F()
396 document_store()->Put(test_document)); in TEST_F()
[all …]
/external/icing/icing/result/
Dresult-state_test.cc90 document_store_->Put(std::move(document)); in AddScoredDocument()
288 document_store().Put(document1)); in TEST_F()
292 document_store().Put(document2)); in TEST_F()
343 document_store().Put(document1)); in TEST_F()
347 document_store().Put(document2)); in TEST_F()
351 document_store().Put(document3)); in TEST_F()
355 document_store().Put(document4)); in TEST_F()
399 document_store().Put(document1)); in TEST_F()
403 document_store().Put(document2)); in TEST_F()
468 document_store().Put(document1)); in TEST_F()
[all …]
Dresult-retriever_test.cc221 doc_store->Put(CreateDocument(/*id=*/1))); in TEST_F()
223 doc_store->Put(CreateDocument(/*id=*/2))); in TEST_F()
225 doc_store->Put(CreateDocument(/*id=*/3))); in TEST_F()
274 doc_store->Put(CreateDocument(/*id=*/1))); in TEST_F()
276 doc_store->Put(CreateDocument(/*id=*/2))); in TEST_F()
323 doc_store->Put(CreateDocument(/*id=*/1))); in TEST_F()
325 doc_store->Put(CreateDocument(/*id=*/2))); in TEST_F()
375 doc_store->Put(CreateDocument(/*id=*/1))); in TEST_F()
377 doc_store->Put(CreateDocument(/*id=*/2))); in TEST_F()
415 doc_store->Put(CreateDocument(/*id=*/1))); in TEST_F()
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dms-interface.cpp85 __declspec(property(get = Get, put = Put)) int data;
87 void Put(int);
93 __declspec(property(get = Get, put = Put), deprecated) int data;
95 void Put(int);
/external/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc60 void ByteArray::Put(int32_t index, uint8_t b) { in Put() function in sfntly::ByteArray
73 int32_t ByteArray::Put(int index, std::vector<uint8_t>* b) { in Put() function in sfntly::ByteArray
75 return Put(index, &((*b)[0]), 0, b->size()); in Put()
78 int32_t ByteArray::Put(int32_t index, in Put() function in sfntly::ByteArray
119 int bytes_written = array->Put(index + dst_offset, &(b[0]), 0, bytes_read); in CopyTo()
151 if (Put(index, &(b[0]), 0, bytes_read) != bytes_read) { in CopyFrom()
171 if (Put(index, &b[0], 0, bytes_read) != bytes_read) { in CopyFrom()
/external/icing/icing/query/
Dquery-processor_test.cc189 document_store_->Put(DocumentBuilder() in TEST_F()
194 document_store_->Put(DocumentBuilder() in TEST_F()
240 document_store_->Put(DocumentBuilder() in TEST_F()
245 document_store_->Put(DocumentBuilder() in TEST_F()
294 document_store_->Put(DocumentBuilder() in TEST_F()
370 document_store_->Put(DocumentBuilder() in TEST_F()
438 document_store_->Put(DocumentBuilder() in TEST_F()
506 document_store_->Put(DocumentBuilder() in TEST_F()
576 document_store_->Put(DocumentBuilder() in TEST_F()
651 document_store_->Put(DocumentBuilder() in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/data/service/
Ddataset_store.h35 virtual Status Put(const std::string& key, const DatasetDef& dataset) = 0;
49 Status Put(const std::string& key, const DatasetDef& dataset) override;
65 Status Put(const std::string& key, const DatasetDef& dataset) override;
Ddataset_store_test.cc69 TF_ASSERT_OK(store->Put(key, dataset_def)); in TEST_P()
82 TF_ASSERT_OK(store->Put(key, dataset_def)); in TEST_P()
97 TF_ASSERT_OK(store->Put(key, dataset_def)); in TEST_P()
98 Status s = store->Put(key, dataset_def); in TEST_P()
/external/llvm-project/flang/runtime/
Dedit-input.cpp146 auto Put{[&](char ch) -> void { in ScanRealInput() local
153 Put('-'); in ScanRealInput()
156 Put('0'); in ScanRealInput()
168 Put(*next - 'a' + 'A'); in ScanRealInput()
170 Put(*next); in ScanRealInput()
181 Put('.'); // input field is normalized to a fraction in ScanRealInput()
196 Put(ch); in ScanRealInput()
205 Put('0'); // emit at least one digit in ScanRealInput()
/external/dng_sdk/source/
Ddng_stream.cpp380 void dng_stream::Put (const void *data, in Put() function in dng_stream
480 Put (&x, 2); in Put_uint16()
516 Put (&x, 4); in Put_uint32()
573 Put (&x, 8); in Put_uint64()
619 Put (&x, 4); in Put_real32()
678 Put (&x, 8); in Put_real64()
752 Put (zeroBuffer.Buffer (), (uint32) blockSize); in PutZeros()
1113 dstStream.Put (smallBuffer, (uint32) count); in CopyToStream()
1134 dstStream.Put (bigBuffer.Buffer (), in CopyToStream()

12345678910>>...21