Searched refs:bytes_requested (Results 1 – 5 of 5) sorted by relevance
39 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()
173 size_t bytes_requested = shapes[i].num_elements() * DataTypeSize(dtype); in PopulateFields() local176 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()
113 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()
38 size_t bytes_requested; member
106 const size_t bytes_requested = *bytes; in FLAC__ogg_decoder_aspect_read_callback_wrapper() local135 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()