Searched refs:value_buffer (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/native/utils/grammar/testing/ |
D | utils.h | 119 const std::string value_buffer = PackFlatbuffer<TestValue>(&value); in CreateSemanticValue() local 125 StringPiece(arena_.Memdup(value_buffer.data(), value_buffer.size()), in CreateSemanticValue() 126 value_buffer.size())); in CreateSemanticValue() 142 const std::string value_buffer = PackFlatbuffer<TestValue>(&value); in CreateConstExpression() local 143 const_value.value.assign(value_buffer.begin(), value_buffer.end()); in CreateConstExpression() 156 const std::string value_buffer = PackFlatbuffer<TestValue>(&value); in CreateAndPackConstExpression() local 157 const_value.value.assign(value_buffer.begin(), value_buffer.end()); in CreateAndPackConstExpression() 168 const std::string value_buffer = PackFlatbuffer<TestDate>(&value); in CreateConstDateExpression() local 169 const_value.value.assign(value_buffer.begin(), value_buffer.end()); in CreateConstDateExpression()
|
/external/libaom/libaom/common/ |
D | obudec.c | 39 static int obudec_read_leb128(FILE *f, uint8_t *value_buffer, in obudec_read_leb128() argument 41 if (!f || !value_buffer || !value_length || !value) return -1; in obudec_read_leb128() 44 const size_t num_read = fread(&value_buffer[len], 1, 1, f); in obudec_read_leb128() 53 if ((value_buffer[len] >> 7) == 0) { in obudec_read_leb128() 60 return aom_uleb_decode(value_buffer, len, value, NULL); in obudec_read_leb128()
|
/external/pigweed/pw_kvs/public/pw_kvs/ |
D | key_value_store.h | 226 StatusWithSize Get(std::span<std::byte> value_buffer, 228 return kvs_.Get(key(), *iterator_, value_buffer, offset_bytes); 410 std::span<std::byte> value_buffer,
|
/external/pigweed/pw_kvs/ |
D | key_value_store.cc | 404 std::span<byte> value_buffer, in Get() argument 411 return Get(key, metadata, value_buffer, offset_bytes); in Get() 539 std::span<std::byte> value_buffer, in Get() argument 545 StatusWithSize result = entry.ReadValue(value_buffer, offset_bytes); in Get() 548 entry.VerifyChecksum(key, value_buffer.first(result.size())); in Get() 550 std::memset(value_buffer.data(), 0, result.size()); in Get()
|