/external/toybox/toys/other/ |
pwdx.c | 24 int num_bytes; local 27 num_bytes = readlink(path, toybuf, sizeof(toybuf)-1); 30 if (num_bytes==-1) { 35 toybuf[num_bytes] = 0;
|
/external/ceres-solver/internal/ceres/ |
file.cc | 61 int num_bytes = ftell(file_descriptor); local 62 data->resize(num_bytes); 68 num_bytes, 70 if (num_read != num_bytes) { 72 << "expected bytes: " << num_bytes * sizeof((*data)[0])
|
/art/runtime/gc/space/ |
bump_pointer_space-inl.h | 27 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, 30 num_bytes = RoundUp(num_bytes, kAlignment); 31 mirror::Object* ret = AllocNonvirtual(num_bytes); 33 *bytes_allocated = num_bytes; 35 *usable_size = num_bytes; 37 *bytes_tl_bulk_allocated = num_bytes; 42 inline mirror::Object* BumpPointerSpace::AllocThreadUnsafe(Thread* self, size_t num_bytes, 47 num_bytes = RoundUp(num_bytes, kAlignment) 91 size_t num_bytes = obj->SizeOf(); local [all...] |
region_space-inl.h | 26 inline mirror::Object* RegionSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, 29 num_bytes = RoundUp(num_bytes, kAlignment); 30 return AllocNonvirtual<false>(num_bytes, bytes_allocated, usable_size, 34 inline mirror::Object* RegionSpace::AllocThreadUnsafe(Thread* self, size_t num_bytes, 39 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 43 inline mirror::Object* RegionSpace::AllocNonvirtual(size_t num_bytes, size_t* bytes_allocated, 46 DCHECK(IsAligned<kAlignment>(num_bytes)); 48 if (LIKELY(num_bytes <= kRegionSize)) { 51 obj = current_region_->Alloc(num_bytes, bytes_allocated, usable_size 143 size_t num_bytes = obj->SizeOf(); local [all...] |
/external/valgrind/memcheck/tests/vbit-test/ |
valgrind.c | 42 unsigned rc, num_bytes; local 45 num_bytes = opnd->type == Ity_I1 ? 4 : sizeof_irtype(opnd->type); 46 rc = VALGRIND_SET_VBITS(&opnd->value, &opnd->vbits.bits, num_bytes); 51 rc = VALGRIND_GET_VBITS(&opnd->value, &actual.bits, num_bytes); 61 unsigned rc, num_bytes; local 65 num_bytes = opnd->type == Ity_I1 ? 4 : sizeof_irtype(opnd->type); 67 rc = VALGRIND_GET_VBITS(&opnd->value, &opnd->vbits.bits, num_bytes);
|
/frameworks/base/core/jni/ |
android_util_FileObserver.cpp | 59 int num_bytes = read(fd, event_buf, sizeof(event_buf)); local 61 if (num_bytes < (int)sizeof(*event)) 70 while (num_bytes >= (int)sizeof(*event)) 93 num_bytes -= event_size;
|
/external/valgrind/none/tests/s390x/ |
cu24.c | 98 uint64_t num_bytes = dst_len - result.len1; local 101 if (num_bytes % 4 != 0) 104 for (i = 0; i < num_bytes / 4; i++) {
|
cu24_1.c | 98 uint64_t num_bytes = dst_len - result.len1; local 101 if (num_bytes % 4 != 0) 104 for (i = 0; i < num_bytes / 4; i++) {
|
cu12.c | 129 uint64_t num_bytes = dst_len - result.len1; local 132 if (num_bytes % 2 != 0) 135 for (i = 0; i < num_bytes / 2; i++) {
|
cu12_1.c | 129 uint64_t num_bytes = dst_len - result.len1; local 132 if (num_bytes % 2 != 0) 135 for (i = 0; i < num_bytes / 2; i++) {
|
cu14.c | 129 uint64_t num_bytes = dst_len - result.len1; local 132 if (num_bytes % 4 != 0) 135 for (i = 0; i < num_bytes / 4; i++) {
|
cu14_1.c | 129 uint64_t num_bytes = dst_len - result.len1; local 132 if (num_bytes % 4 != 0) 135 for (i = 0; i < num_bytes / 4; i++) {
|
/external/webrtc/src/system_wrappers/source/ |
file_impl.cc | 254 size_t num_bytes = fwrite(buf, 1, length, _id); local 255 if (num_bytes > 0) 257 _sizeInBytes += num_bytes;
|
/art/runtime/mirror/ |
object.cc | 71 size_t num_bytes) { 77 memcpy(dst_bytes + offset, src_bytes + offset, num_bytes - offset); 105 explicit CopyObjectVisitor(Thread* self, Handle<Object>* orig, size_t num_bytes) 106 : self_(self), orig_(orig), num_bytes_(num_bytes) { 126 size_t num_bytes = SizeOf(); local 130 CopyObjectVisitor visitor(self, &this_object, num_bytes); 132 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor); 134 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor);
|
/external/lldb/source/API/ |
SBCommandReturnObject.cpp | 131 size_t num_bytes = GetOutputSize (); local 132 if (num_bytes) 143 size_t num_bytes = GetErrorSize (); local 144 if (num_bytes)
|
/external/valgrind/tests/ |
s390x_features.c | 118 size_t num_bytes, file_buf_size; local 130 num_bytes = 0; 138 num_bytes += n; 142 if (n < 0) num_bytes = 0; /* read error; ignore contents */ 144 if (num_bytes > file_buf_size) { 147 file_buf = malloc(num_bytes + 1); 148 n = read(fh, file_buf, num_bytes); 149 if (n < 0) num_bytes = 0; 152 file_buf[num_bytes] = '\0';
|
/external/boringssl/src/crypto/bytestring/ |
cbs.c | 193 const size_t num_bytes = length_byte & 0x7f; local 196 if (ber_ok && (tag & CBS_ASN1_CONSTRUCTED) != 0 && num_bytes == 0) { 204 if (num_bytes == 0 || num_bytes > 4) { 207 if (!cbs_get_u(&header, &len32, num_bytes)) { 214 if ((len32 >> ((num_bytes-1)*8)) == 0) { 219 if (len + 2 + num_bytes < len) { 223 len += 2 + num_bytes; 225 *out_header_len = 2 + num_bytes;
|
/external/lldb/source/Plugins/ABI/MacOSX-arm/ |
ABIMacOSX_arm.cpp | 535 size_t num_bytes = new_value_sp->GetData(data); local [all...] |
/external/boringssl/src/crypto/bio/ |
bio.c | 546 const size_t num_bytes = length_byte & 0x7f; local 548 if ((tag & 0x20 /* constructed */) != 0 && num_bytes == 0) { 554 if (num_bytes == 0 || num_bytes > 4) { 558 if (BIO_read(bio, header + kInitialHeaderLen, num_bytes) != num_bytes) { 561 header_len = kInitialHeaderLen + num_bytes; 565 for (i = 0; i < num_bytes; i++) { 575 if ((len32 >> ((num_bytes-1)*8)) == 0) {
|
/bionic/libc/bionic/ |
system_properties.cpp | 500 const int num_bytes = TEMP_FAILURE_RETRY(send(fd, msg, sizeof(prop_msg), 0)); local 503 if (num_bytes == sizeof(prop_msg)) {
|
/external/libnfc-nci/src/nfc/include/ |
rw_api.h | 190 UINT8 num_bytes; /* number of reserved/lock bytes based on the type of tlv */ member in struct:__anon13118 [all...] |
/external/v8/src/x64/ |
disasm-x64.cc | 721 int num_bytes = 2; local 724 return num_bytes; 751 return num_bytes; 758 num_bytes = 3; 770 return num_bytes; [all...] |
/external/valgrind/VEX/priv/ |
guest_s390_helpers.c | 376 s390x_dirtyhelper_CUxy(UChar *address, ULong data, ULong num_bytes) 380 vassert(num_bytes >= 1 && num_bytes <= 4); 382 /* Store the least significant NUM_BYTES bytes in DATA left to right 384 for (i = 1; i <= num_bytes; ++i) { 385 address[num_bytes - i] = data & 0xff; 403 | 0x0 | converted bytes | num_bytes | invalid_low_surrogate | 410 UInt b1, b2, b3, b4, num_bytes, invalid_low_surrogate = 0; local 416 num_bytes = 1; 418 num_bytes = 2 550 UInt num_bytes, invalid_character = 0; local 597 UInt num_bytes, invalid_character = 0; local 703 UInt num_bytes = 0, invalid_character = 0; local [all...] |
/external/valgrind/coregrind/ |
m_machine.c | 623 SizeT num_bytes, file_buf_size; local 636 num_bytes = 0; 643 num_bytes += n; 647 if (n < 0) num_bytes = 0; /* read error; ignore contents */ 649 if (num_bytes > file_buf_size) { 652 file_buf = VG_(malloc)( "cpuinfo", num_bytes + 1 ); 653 n = VG_(read)( fh, file_buf, num_bytes ); 654 if (n < 0) num_bytes = 0; 657 file_buf[num_bytes] = '\0'; 712 SizeT num_bytes, file_buf_size local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 953 int num_bytes, offset; local 958 num_bytes = BN_num_bytes((const BIGNUM *) a); 959 if ((size_t) num_bytes > buflen) 961 if (padlen > (size_t) num_bytes) 962 offset = padlen - num_bytes; 969 return num_bytes + offset;
|