Home
last modified time | relevance | path

Searched refs:new_bytes (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/strings/
Dstring-stream.h74 unsigned new_bytes = *bytes * 2; in grow() local
76 if (new_bytes <= *bytes) { in grow()
79 vector_->resize_no_init(new_bytes); in grow()
80 *bytes = new_bytes; in grow()
Dstring-stream.cc459 unsigned new_bytes = *bytes * 2; in grow() local
461 if (new_bytes <= *bytes) { in grow()
464 char* new_space = NewArray<char>(new_bytes); in grow()
469 *bytes = new_bytes; in grow()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_pad_for_convolutions.cc247 int64 new_bytes = ShapeUtil::ByteSizeOf(new_shape); in TryResolvePaddedShapesForTensorCore() local
248 if (new_bytes <= old_bytes * kMaxBytesTouchedIncrease) { in TryResolvePaddedShapesForTensorCore()
256 << new_bytes / static_cast<double>(old_bytes) << "x > " in TryResolvePaddedShapesForTensorCore()
356 int64 new_bytes = ShapeUtil::ByteSizeOf(new_shape); in TryResolvePaddedShapesForIntegerConvolution() local
357 if (new_bytes <= old_bytes * kMaxBytesTouchedIncrease) { in TryResolvePaddedShapesForIntegerConvolution()
365 << new_bytes / static_cast<double>(old_bytes) << "x > " in TryResolvePaddedShapesForIntegerConvolution()
/external/v8/src/wasm/
Dstreaming-decoder.cc513 size_t new_bytes = std::min(bytes.size(), remaining_buf.size()); in ReadBytes() local
515 memcpy(remaining_buf.begin(), &bytes.first(), new_bytes); in ReadBytes()
516 buf.Truncate(offset() + new_bytes); in ReadBytes()
522 if (new_bytes == remaining_buf.size()) { in ReadBytes()
526 set_offset(offset() + new_bytes); in ReadBytes()
527 return new_bytes; in ReadBytes()
537 new_bytes = bytes_consumed_ - offset(); in ReadBytes()
541 return new_bytes; in ReadBytes()
/external/webrtc/webrtc/base/
Dbytebuffer.cc203 char* new_bytes = new char[size_]; in Resize() local
204 memcpy(new_bytes, bytes_ + start_, len); in Resize()
206 bytes_ = new_bytes; in Resize()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java917 int new_bytes = first_fill - boundary.length; in getBoundaryPositions() local
921 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()
/external/webrtc/webrtc/p2p/base/
Dstun.cc723 char* new_bytes = new char[length]; in CopyBytes() local
724 memcpy(new_bytes, bytes, length); in CopyBytes()
725 SetBytes(new_bytes, length); in CopyBytes()
/external/freetype/src/cff/
Dcffload.c415 FT_Byte* new_bytes = NULL; in cff_index_get_pointers() local
432 ( !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()
/external/protobuf/src/google/protobuf/
Dwire_format_lite.h1163 const int new_bytes = new_entries * static_cast<int>(sizeof(CType)); in ReadPackedFixedSizePrimitive() local
1164 if (new_bytes != length) return false; in ReadPackedFixedSizePrimitive()
1185 if (bytes_limit >= new_bytes) { in ReadPackedFixedSizePrimitive()
1191 if (!input->ReadRaw(dest, new_bytes)) { in ReadPackedFixedSizePrimitive()
/external/protobuf/php/ext/google/protobuf/
Dupb.c670 size_t new_bytes; in upb_array_grow() local
680 new_bytes = new_size * arr->element_size; in upb_array_grow()
681 new_data = upb_realloc(alloc, arr->data, old_bytes, new_bytes); in upb_array_grow()
4135 size_t new_bytes = new_size * arr->element_size; in upb_array_set() local
4139 upb_realloc(alloc, arr->data, old_bytes, new_bytes); in upb_array_set()
Dupb.h811 size_t new_bytes; in _upb_array_resize_accessor() local
813 new_bytes = new_size * elem_size; in _upb_array_resize_accessor()
814 arr->data = upb_arena_realloc(arena, arr->data, old_bytes, new_bytes); in _upb_array_resize_accessor()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c666 size_t new_bytes; in upb_array_grow() local
676 new_bytes = new_size * arr->element_size; in upb_array_grow()
677 new_data = upb_realloc(alloc, arr->data, old_bytes, new_bytes); in upb_array_grow()
5001 size_t new_bytes = new_size * arr->element_size; in upb_array_set() local
5005 upb_realloc(alloc, arr->data, old_bytes, new_bytes); in upb_array_set()
Dupb.h6945 size_t new_bytes;
6948 new_bytes = new_size * elem_size;
6949 arr->data = upb_realloc(alloc, arr->data, old_bytes, new_bytes);
/external/freetype/
DChangeLog.245720 `new_bytes'.