/external/strace/tests-mx32/ |
mincore.c | 35 const size_t size, unsigned char *const vec) 39 if (mincore(addr, size, vec)) 42 printf("mincore(%p, %zu, [", addr, size); 59 const size_t size = pages * page_size; local 60 void *const addr = tail_alloc(size); 63 mincore(addr, size, NULL); 65 addr, size, errno2name()); 67 print_mincore(pages, addr, size, vec); 68 if (size) 69 print_mincore(pages, addr, size - page_size + 1, vec) [all...] |
/external/swiftshader/src/D3D8/ |
Direct3DPixelShader8.cpp | 25 size = 0; 27 while(shaderToken[size] != 0x0000FFFF) 29 size++; 32 size++; 34 this->shaderToken = new unsigned long[size]; 35 memcpy(this->shaderToken, shaderToken, size * sizeof(unsigned long)); 67 void Direct3DPixelShader8::GetFunction(void *data, unsigned int *size) 73 memcpy(data, shaderToken, this->size * 4); 76 *size = this->size * 4 [all...] |
/external/tensorflow/tensorflow/core/framework/ |
bfloat16.cc | 20 void FloatToBFloat16(const float* src, bfloat16* dst, int64 size) { 24 for (; size != 0; p += 2, q++, size--) { 28 for (; size != 0; p += 2, q++, size--) { 34 void BFloat16ToFloat(const bfloat16* src, float* dst, int64 size) { 38 for (; size != 0; p++, q += 2, size--) { 43 for (; size != 0; p++, q += 2, size--) [all...] |
/frameworks/base/core/java/android/app/usage/ |
EventList.java | 39 * Returns the size of the list 42 public int size() { method in class:EventList 43 return mEvents.size(); 55 * @param index the index of the event to return, such that {@code 0 <= index < size()} 69 final int size = mEvents.size(); local 71 if (size == 0 || event.mTimeStamp >= mEvents.get(size - 1).mTimeStamp) { 87 * {@code true}, or {@link #size() size} if no such {@code index} exists 90 final int size = mEvents.size(); local [all...] |
/frameworks/base/libs/androidfw/ |
ChunkIterator.cpp | 30 reinterpret_cast<const uint8_t*>(this_chunk) + dtohl(this_chunk->size)); 31 len_ -= dtohl(this_chunk->size); 50 const size_t size = dtohl(next_chunk_->size); local 51 if (size > len_) { 52 last_error_ = "chunk size is bigger than given data"; 77 const size_t size = dtohl(next_chunk_->size); local 79 last_error_ = "header size too small"; 83 if (header_size > size) { [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/ |
mips64r2-ill.s | 9 # dext macro position/size checks 17 # constraint: 0 < size <= 64 18 dext $4, $5, 0, 0 # error (size) 21 dext $4, $5, 0, 65 # error (size) 23 # constraint: 0 < (pos+size) <= 64 31 dext $4, $5, 1, 64 # error (size) 33 dext $4, $5, 63, 2 # error (size) 34 dext $4, $5, 63, 63 # error (size) 35 dext $4, $5, 63, 64 # error (size) 37 # dextm instruction position/size check [all...] |
/external/aac/libFDK/include/ |
dct.h | 118 * \param size size of pDat. 122 void dct_II(FIXP_DBL *pDat, FIXP_DBL *tmp, int size, int *pDat_e); 130 * \param size size of pDat. 134 void dct_III(FIXP_DBL *pDat, FIXP_DBL *tmp, int size, int *pDat_e); 143 * \param size size of pDat. 147 void dst_III(FIXP_DBL *pDat, FIXP_DBL *tmp, int size, int *pDat_e); 154 * \param size size of pDat [all...] |
/external/fio/oslib/ |
strlcat.c | 4 size_t strlcat(char *dst, const char *src, size_t size) 10 size -= dstlen + 1; 13 if (!size) 17 if (srclen > size) 18 srclen = size;
|
/external/libchrome/base/process/ |
memory_stubs.cc | 22 void TerminateBecauseOutOfMemory(size_t size) { 34 bool UncheckedMalloc(size_t size, void** result) { 35 *result = malloc(size); 39 bool UncheckedCalloc(size_t num_items, size_t size, void** result) { 40 *result = calloc(num_items, size);
|
/external/perfetto/src/tracing/test/ |
test_shared_memory.cc | 26 TestSharedMemory::TestSharedMemory(size_t size) { 27 mem_ = base::PageAllocator::Allocate(size); 28 size_ = size; 36 size_t size) { 37 return std::unique_ptr<SharedMemory>(new TestSharedMemory(size));
|
/external/proguard/src/proguard/gui/splash/ |
VariableSizeFont.java | 26 * This VariableFont varies in size with respect to its Timing. 33 private final VariableDouble size; field in class:VariableSizeFont 42 * @param size the variable size of the font. 44 public VariableSizeFont(Font font, VariableDouble size) 47 this.size = size; 55 float s = (float)size.getDouble(time);
|
/external/syslinux/efi/ |
mem.c | 9 void *efi_malloc(size_t size, enum heap heap, malloc_tag_t tag) 11 return AllocatePool(size); 14 void *efi_realloc(void *ptr, size_t size) 18 newptr = AllocatePool(size); 19 memcpy(newptr, ptr, size);
|
/external/vboot_reference/firmware/lib/ |
vboot_common_init.c | 15 int VbSharedDataInit(VbSharedDataHeader *header, uint64_t size) 17 VBDEBUG(("VbSharedDataInit, %d bytes, header %d bytes\n", (int)size, 20 if (size < sizeof(VbSharedDataHeader)) { 24 if (size < VB_SHARED_DATA_MIN_SIZE) { 39 header->data_size = size;
|
/frameworks/base/tools/aapt2/util/ |
BigBuffer.cpp | 27 void* BigBuffer::NextBlockImpl(size_t size) { 30 if (block.block_size_ - block.size >= size) { 31 void* out_buffer = block.buffer.get() + block.size; 32 block.size += size; 33 size_ += size; 38 const size_t actual_size = std::max(block_size_, size); 46 block.size = size; 59 size_t size = block.block_size_ - block.size; local [all...] |
/frameworks/native/libs/binder/ |
MemoryBase.cpp | 29 ssize_t offset, size_t size) 30 : mSize(size), mOffset(offset), mHeap(heap) 34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const 37 if (size) *size = mSize;
|
/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/printer/ |
bound_registers.py | 20 """Adds size field to a mpx __gdb_builtin_type_bound128 type.""" 28 size = (long) ((upper) - (lower)) 29 if size > -1: 30 size = size + 1 31 result = '{lbound = %s, ubound = %s} : size %s' % (lower, upper, size)
|
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/printer/ |
bound_registers.py | 20 """Adds size field to a mpx __gdb_builtin_type_bound128 type.""" 28 size = (long) ((upper) - (lower)) 29 if size > -1: 30 size = size + 1 31 result = '{lbound = %s, ubound = %s} : size %s' % (lower, upper, size)
|
/system/core/demangle/ |
demangle_fuzzer.cpp | 26 extern "C" void LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { 27 std::vector<char> data_str(size + 1); 28 memcpy(data_str.data(), data, size); 29 data_str[size] = '\0'; 33 if (size != 0 && data_str[0] != '\0' && demangled_name.empty()) {
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
DataSource.java | 58 long size(); method in interface:DataSource 64 * @param size size (in bytes) of the chunk 66 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative, or if 67 * {@code offset + size} is greater than {@link #size()}. 69 void feed(long offset, long size, DataSink sink) throws IOException; 77 * {@code size}. 80 * @param size size (in bytes) of the chun [all...] |
/external/proguard/src/proguard/util/ |
ArrayUtil.java | 35 * @param size the size of the arrays to be checked. 38 public static boolean equal(byte[] array1, byte[] array2, int size) 40 for (int index = 0; index < size; index++) 56 * @param size the size of the arrays to be checked. 59 public static boolean equal(short[] array1, short[] array2, int size) 61 for (int index = 0; index < size; index++) 77 * @param size the size of the arrays to be checked [all...] |
/external/deqp/scripts/opengl/ |
gen_call_log_wrapper.py | 35 def pointer (size): 36 return lambda name: "getPointerStr(%s, %s)" % (name, size) 38 def enumPointer (group, size): 39 return lambda name: "getEnumPointerStr(%(name)s, %(size)s, %(nameFunc)s)" % {"name": name, "size": size, "nameFunc": ("get%sName" % group)} 41 def booleanPointer (size): 42 return lambda name: "getBooleanPointerStr(%s, %s)" % (name, size) 90 "glDeleteBuffers": LogSpec({1: pointer(size = "n")}), 91 "glDeleteFramebuffers": LogSpec({1: pointer(size = "n")}) [all...] |
/external/skia/include/private/ |
SkMalloc.h | 44 * Return a block of memory (at least 4-byte aligned) of at least the specified size. 51 SK_API extern void* sk_malloc_flags(size_t size, unsigned flags); 56 SK_API extern void* sk_realloc_throw(void* buffer, size_t size); 58 static inline void* sk_malloc_throw(size_t size) { 59 return sk_malloc_flags(size, SK_MALLOC_THROW); 62 static inline void* sk_calloc_throw(size_t size) { 63 return sk_malloc_flags(size, SK_MALLOC_THROW | SK_MALLOC_ZERO_INITIALIZE); 66 static inline void* sk_calloc_canfail(size_t size) { 70 if (size > 200000) { 74 return sk_malloc_flags(size, SK_MALLOC_ZERO_INITIALIZE) [all...] |
/frameworks/rs/tests/lldb/cpp/BranchingFunCalls/ |
BranchingFunCalls.cpp | 23 static const int size = 64; local 30 tb.setX(size); 31 tb.setY(size); 37 int * input = new int[size*size]; 38 for(int i = 0; i < size*size; ++i) { 39 input[i] = i - (size*size / 2); 41 a->copy2DRangeFrom(0, 0, size, size, input) [all...] |
/frameworks/rs/tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/ |
jnibranchingfuncalls.cpp | 30 static const int size = 64; local 39 tb.setX(size); 40 tb.setY(size); 46 int * input = new int[size*size]; 47 for(int i = 0; i < size*size; ++i) { 48 input[i] = i - (size*size / 2); 50 a->copy2DRangeFrom(0, 0, size, size, input) [all...] |
/libcore/luni/src/main/java/libcore/io/ |
MemoryMappedFile.java | 38 private final int size; field in class:MemoryMappedFile 41 public MemoryMappedFile(long address, long size) { 44 if (size < 0 || size > Integer.MAX_VALUE) { 45 throw new IllegalArgumentException("Unsupported file size=" + size); 47 this.size = (int) size; 56 long size = Libcore.os.fstat(fd).st_size; local 57 long address = Libcore.os.mmap(0L, size, PROT_READ, MAP_SHARED, fd, 0) 109 public int size() { method in class:MemoryMappedFile [all...] |