Home
last modified time | relevance | path

Searched refs:mb_length (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/v8/src/objects/
Dbacking-store.cc294 int mb_length = static_cast<int>(byte_length / MB); in Allocate() local
295 if (mb_length > 0) { in Allocate()
296 counters->array_buffer_big_allocations()->AddSample(mb_length); in Allocate()
299 counters->shared_array_allocations()->AddSample(mb_length); in Allocate()
324 counters->array_buffer_new_size_failures()->AddSample(mb_length); in Allocate()
/third_party/gn/src/gn/
Dsetup.cc258 int mb_length = static_cast<int>(mb.length()); in SysMultiByteTo16() local
260 int charcount = MultiByteToWideChar(CP_ACP, 0, mb.data(), mb_length, NULL, 0); in SysMultiByteTo16()
266 MultiByteToWideChar(CP_ACP, 0, mb.data(), mb_length, base::ToWCharT(&wide[0]), in SysMultiByteTo16()