Home
last modified time | relevance | path

Searched refs:bytes_requested (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator.cc39 CHECK_GE(tbuf_->size(), fields.back().offset + fields.back().bytes_requested); in ScopedAllocator()
80 if (num_bytes != field->bytes_requested) { in AllocateRaw()
83 << " which has precalculated size " << field->bytes_requested in AllocateRaw()
102 << field->bytes_requested << " bytes_allocated " in AllocateRaw()
108 if (field->bytes_allocated > field->bytes_requested) { in AllocateRaw()
109 size_t extra_bytes = field->bytes_allocated - field->bytes_requested; in AllocateRaw()
Dscoped_allocator_mgr.cc173 size_t bytes_requested = shapes[i].num_elements() * DataTypeSize(dtype); in PopulateFields() local
176 field->bytes_requested = bytes_requested; in PopulateFields()
178 offset += bytes_requested; in PopulateFields()
182 size_t bytes_allocated = bytes_requested; in PopulateFields()
192 << " bytes_requested=" << field->bytes_requested in PopulateFields()
Dscoped_allocator_mgr_test.cc113 EXPECT_EQ(512 * sizeof(float), fields_[0].bytes_requested); in TEST_F()
116 EXPECT_EQ(9 * sizeof(float), fields_[1].bytes_requested); in TEST_F()
119 EXPECT_EQ(512 * sizeof(float), fields_[2].bytes_requested); in TEST_F()
188 fields_[0].bytes_requested = in TEST_F()
Dscoped_allocator.h38 size_t bytes_requested; member
/external/flac/src/libFLAC/
Dogg_decoder_aspect.c106 const size_t bytes_requested = *bytes; in FLAC__ogg_decoder_aspect_read_callback_wrapper() local
135 while (*bytes < bytes_requested && !aspect->end_of_stream) { in FLAC__ogg_decoder_aspect_read_callback_wrapper()
138 size_t n = bytes_requested - *bytes; in FLAC__ogg_decoder_aspect_read_callback_wrapper()
211 const size_t ogg_bytes_to_read = flac_max(bytes_requested - *bytes, OGG_BYTES_CHUNK); in FLAC__ogg_decoder_aspect_read_callback_wrapper()