/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowMemoryMappedFile.java | 25 private byte[] bytes; field in class:ShadowMemoryMappedFile 41 shadowMemoryMappedFile.bytes = Streams.readFully(is); 66 bytes = null; 80 return new RoboBufferIterator(bytes, endianness); 86 return bytes.length;
|
/external/selinux/libselinux/src/ |
regex.c | 167 PCRE2_UCHAR *bytes = NULL; local 172 1, &bytes, &serialized_size, NULL); 189 len = fwrite(bytes, 1, to_write, fp); 195 if (bytes) 196 pcre2_serialize_free(bytes); 398 /* determine the size of the pcre data in bytes */ 403 /* write the number of bytes in the pcre data */ 423 /* write the number of bytes in the pcre study data */
|
/external/skia/src/compute/skc/platforms/cl_12/ |
config_cl.h | 39 skc_uint bytes; // bytes per subblock -- pow2 member in struct:skc_config::__anon37983 45 skc_uint bytes; // bytes per block -- pow2 member in struct:skc_config::__anon37984 47 skc_uint subblocks; // subblocks per block -- block.bytes >= subblock.bytes 80 size_t buffer; // block.bytes * subbuf.blocks * subbuf.count 81 size_t subbuf; // block.bytes * subbuf.blocks -- multiple of CL_DEVICE_MEM_BASE_ADDR_ALIGN
|
/external/skia/src/gpu/text/ |
GrStrikeCache.cpp | 137 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 138 expand_bits(bytes, bits, width, height, dstRB, srcRB);
|
/external/skia/tests/ |
ColorSpaceTest.cpp | 98 size_t bytes = space->writeToMemory(nullptr); local 99 sk_sp<SkData> data2 = SkData::MakeUninitialized(bytes);
|
/external/skia/tools/debugger/ |
SkJsonWriteBuffer.cpp | 20 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local 22 SkString hexByte = SkStringPrintf("%02x", bytes[i]); 31 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local 33 SkString hexByte = SkStringPrintf("%02x", bytes[i]);
|
/external/skqp/src/compute/skc/platforms/cl_12/ |
config_cl.h | 39 skc_uint bytes; // bytes per subblock -- pow2 member in struct:skc_config::__anon38786 45 skc_uint bytes; // bytes per block -- pow2 member in struct:skc_config::__anon38787 47 skc_uint subblocks; // subblocks per block -- block.bytes >= subblock.bytes 80 size_t buffer; // block.bytes * subbuf.blocks * subbuf.count 81 size_t subbuf; // block.bytes * subbuf.blocks -- multiple of CL_DEVICE_MEM_BASE_ADDR_ALIGN
|
/external/skqp/src/gpu/ |
GrBufferAllocPool.cpp | 111 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; local 112 bytesInUse += bytes; 113 SkASSERT(bytes || unusedBlockAllowed); 246 void GrBufferAllocPool::putBack(size_t bytes) { 249 while (bytes) { 254 if (bytes >= bytesUsed) { 255 bytes -= bytesUsed; 264 block.fBytesFree += bytes; 265 fBytesInUse -= bytes; 266 bytes = 0 [all...] |
/external/skqp/src/gpu/text/ |
GrStrikeCache.cpp | 137 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 138 expand_bits(bytes, bits, width, height, dstRB, srcRB);
|
/external/skqp/tests/ |
ColorSpaceTest.cpp | 98 size_t bytes = space->writeToMemory(nullptr); local 99 sk_sp<SkData> data2 = SkData::MakeUninitialized(bytes);
|
/external/skqp/tools/debugger/ |
SkJsonWriteBuffer.cpp | 20 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local 22 SkString hexByte = SkStringPrintf("%02x", bytes[i]); 31 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local 33 SkString hexByte = SkStringPrintf("%02x", bytes[i]);
|
/external/sl4a/ScriptingLayerForAndroid/jni/ |
com_googlecode_android_scripting_Exec.cpp | 87 jbyteArray bytes = 0; local 96 bytes = (jbyteArray) env->CallObjectMethod(jstr, MID_String_getBytes); 99 jint len = env->GetArrayLength(bytes); 103 env->DeleteLocalRef(bytes); 106 env->GetByteArrayRegion(bytes, 0, len, (jbyte*) result); 111 env->DeleteLocalRef(bytes);
|
/external/sonic/ |
wave.c | 23 int bytesWritten; /* The number of bytes written so far, including header */ 31 void *bytes, 39 bytesWritten = fwrite(bytes, sizeof(char), length, file->soundFile); 60 char bytes[4]; local 64 bytes[i] = value; 67 writeBytes(file, bytes, 4); 75 char bytes[2]; local 79 bytes[i] = value; 82 writeBytes(file, bytes, 2); 85 /* Read bytes from the input file. Return the number of bytes actually read. * 119 unsigned char bytes[4]; local 134 unsigned char bytes[2]; local 332 unsigned char bytes[WAVE_BUF_LEN]; local 356 unsigned char bytes[WAVE_BUF_LEN]; local [all...] |
/external/squashfs-tools/kernel/fs/squashfs/ |
file.c | 379 int bytes, i, offset = 0, sparse = 0; local 408 bytes = index == file_end ? 424 bytes = buffer->length; 442 bytes = i_size_read(inode) & (msblk->block_size - 1); 452 for (i = start_index; i <= end_index && bytes > 0; i++, 453 bytes -= PAGE_CACHE_SIZE, offset += PAGE_CACHE_SIZE) { 455 int avail = sparse ? 0 : min_t(int, bytes, PAGE_CACHE_SIZE); 457 TRACE("bytes %d, i %d, available_bytes %d\n", bytes, i, avail);
|
/external/squashfs-tools/squashfs-tools/ |
process_fragments.c | 64 int bytes = file_buffer->size, sparse = TRUE, value; local 66 while(bytes --) { 80 static int read_filesystem(int fd, long long byte, int bytes, void *buff) 84 TRACE("read_filesystem: reading from position 0x%llx, bytes %d\n", 85 byte, bytes); 91 } else if(read_bytes(fd, buff, bytes) < bytes) {
|
unsquash-3.c | 33 int bytes = SQUASHFS_FRAGMENT_BYTES_3(sBlk.s.fragments); local 46 fragment_table = malloc(bytes); 77 bytes & (SQUASHFS_METADATA_SIZE - 1); 119 int bytes = lookup_entry(inode_table_hash, start); local 120 char *block_ptr = inode_table + bytes + offset; 125 if(bytes == -1) 289 int bytes; local 322 bytes = lookup_entry(directory_table_hash, start); 324 if(bytes == -1) 328 bytes += (*i)->offset [all...] |
/external/swiftshader/src/D3D9/ |
Direct3DSurface9.cpp | 407 int Direct3DSurface9::bytes(D3DFORMAT format) function in class:D3D9::Direct3DSurface9 409 return Surface::bytes(translateFormat(format));
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
unit_spirv.h | 55 unsigned char bytes[4]; member in union:__anon41471
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
SIMCCodeEmitter.cpp | 271 unsigned bytes = Desc.getSize(); local 273 for (unsigned i = 0; i < bytes; i++) { 277 if (bytes > 4)
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
StringRef.h | 113 iterator_range<const unsigned char *> bytes() const { function in class:llvm::StringRef
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
fusion_merger.cc | 48 // Returns the bytes read by fusion parameter 'param', by returning the byte 55 // value for bytes read. 67 // Slice for a more accurate estimate of bytes read. 68 double bytes = 0.0; local 75 // All users are slice: accumulate bytes of all user slice instructions. 77 bytes += ShapeUtil::ByteSizeOf(user->shape()); 81 bytes += ShapeUtil::ByteSizeOf(instruction->shape()); 84 return bytes; 87 // Returns the bytes read by all fusion parameters of instruction 'fusion'. 89 double bytes = 0.0 local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
cuda_solvers.h | 371 int64 bytes() const { return scratch_tensor_.TotalBytes(); } function in class:tensorflow::ScratchSpace 413 stream->ThenMemcpy(copy.mutable_data(), wrapped_src, this->bytes())
|
/external/toybox/toys/posix/ |
od.c | 19 -j Skip this many bytes of input 20 -N Stop dumping after this many bytes 22 plus optional size in bytes 25 -w Total line width in bytes (default 16) 163 int bytes = 0; local 166 j = od_out_t(types+i, buf, &bytes); 167 j = (j+bytes-1)/bytes; 175 int bytes = j; local 177 // pad for as many bytes as were consumed, and indent non-numbered line [all...] |
tail.c | 21 -c Output the last NUMBER bytes, +NUMBER counts from start 74 // Note: bytes and lines are negative here. 75 static int try_lseek(int fd, long bytes, long lines) 85 if (bytes) { 86 if (lseek(fd, bytes, SEEK_END)<0) lseek(fd, 0, SEEK_SET); 93 bytes = pos; 129 lseek(fd, bytes, SEEK_SET); 136 long bytes = TT.c, lines = TT.n; local 154 if (bytes<0 || lines<0) { 159 if (CFG_TAIL_SEEK && try_lseek(fd, bytes, lines)) return [all...] |
/external/turbine/javatests/com/google/turbine/bytecode/ |
ClassWriterTest.java | 106 ByteArrayDataOutput bytes = ByteStreams.newDataOutput(); local 107 ClassWriter.writeConstantPool(pool, bytes); 109 ConstantPoolReader.readConstantPool(new ByteReader(bytes.toByteArray(), 0));
|