Searched refs:new_bytes (Results 1 – 8 of 8) sorted by relevance
203 char* new_bytes = new char[size_]; in Resize() local204 memcpy(new_bytes, bytes_ + start_, len); in Resize()206 bytes_ = new_bytes; in Resize()
187 int64 new_bytes = ShapeUtil::ByteSizeOf(new_shape); in PadForTensorCores() local188 if (new_bytes <= old_bytes * kMaxBytesTouchedIncrease) { in PadForTensorCores()196 << new_bytes / static_cast<double>(old_bytes) << "x > " in PadForTensorCores()
465 unsigned new_bytes = *bytes * 2; in grow() local467 if (new_bytes <= *bytes) { in grow()470 char* new_space = NewArray<char>(new_bytes); in grow()475 *bytes = new_bytes; in grow()
917 int new_bytes = first_fill - boundary.length; in getBoundaryPositions() local921 for (int j = 0; j < new_bytes; j++) { in getBoundaryPositions()934 search_window_pos += new_bytes; in getBoundaryPositions()940 new_bytes = search_window.length - boundary.length; in getBoundaryPositions()941 new_bytes = (b.remaining() < new_bytes) ? b.remaining() : new_bytes; in getBoundaryPositions()942 b.get(search_window, boundary.length, new_bytes); in getBoundaryPositions()943 } while (new_bytes > 0); in getBoundaryPositions()
351 const uint32 new_bytes = new_entries * sizeof(CType); in ReadPackedFixedSizePrimitive() local352 if (new_bytes != length) return false; in ReadPackedFixedSizePrimitive()372 if (bytes_limit >= new_bytes) { in ReadPackedFixedSizePrimitive()378 if (!input->ReadRaw(dest, new_bytes)) { in ReadPackedFixedSizePrimitive()
723 char* new_bytes = new char[length]; in CopyBytes() local724 memcpy(new_bytes, bytes, length); in CopyBytes()725 SetBytes(new_bytes, length); in CopyBytes()
415 FT_Byte* new_bytes = NULL; in cff_index_get_pointers() local432 ( !pool || !FT_ALLOC( new_bytes, new_size ) ) ) in cff_index_get_pointers()454 t[0] = new_bytes + cur_offset; in cff_index_get_pointers()471 t[n] = new_bytes + next_offset + extra; in cff_index_get_pointers()487 *pool = new_bytes; in cff_index_get_pointers()
5720 `new_bytes'.