/device/generic/goldfish/wifi/ipv6proxy/ |
message.h | 21 size_t size() const { return mSize; } function in class:Message 26 void setSize(size_t size) { mSize = size; }
|
/external/annotation-tools/asmx/src/org/objectweb/asm/tree/analysis/ |
DataflowValue.java | 45 * The size of this value. 47 public final int size; field in class:DataflowValue 66 public DataflowValue(final int size) { 67 this(size, SmallSet.EMPTY_SET); 70 public DataflowValue(final int size, final AbstractInsnNode insn) { 71 this.size = size; 75 public DataflowValue(final int size, final Set insns) { 76 this.size = size; [all...] |
/external/compiler-rt/lib/scudo/ |
scudo_new_delete.cpp | 30 void *operator new(size_t size) { 31 return scudoMalloc(size, FromNew); 34 void *operator new[](size_t size) { 35 return scudoMalloc(size, FromNewArray); 38 void *operator new(size_t size, std::nothrow_t const&) { 39 return scudoMalloc(size, FromNew); 42 void *operator new[](size_t size, std::nothrow_t const&) { 43 return scudoMalloc(size, FromNewArray); 63 void operator delete(void *ptr, size_t size) NOEXCEPT { 64 scudoSizedFree(ptr, size, FromNew) [all...] |
/external/compiler-rt/test/scudo/ |
sizes.cpp | 8 // Tests for various edge cases related to sizes, notably the maximum size the 23 // Currently the maximum size the allocator can allocate is 1ULL<<40 bytes. 24 size_t size = std::numeric_limits<size_t>::max(); local 25 void *p = malloc(size); 28 size = (1ULL << 40) - 16; 29 p = malloc(size); 35 size_t size = std::numeric_limits<size_t>::max(); local 36 void *p = calloc((size / 0x1000) + 1, 0x1000); 41 // Playing with the actual usable size of a chunk. 45 size_t size = malloc_usable_size(p) [all...] |
/external/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.members/ |
size.pass.cpp | 14 // size_type size() const; 22 assert(q.size() == 0); 24 assert(q.size() == 1); 26 assert(q.size() == 0);
|
/external/libcxx/test/std/numerics/numarray/class.gslice/gslice.cons/ |
default.pass.cpp | 23 assert(gs.size().size() == 0); 24 assert(gs.stride().size() == 0);
|
/external/libmojo/ui/gfx/geometry/ |
size_conversions.h | 8 #include "ui/gfx/geometry/size.h" 13 // Returns a Size with each component from the input SizeF floored. 14 GFX_EXPORT Size ToFlooredSize(const SizeF& size); 16 // Returns a Size with each component from the input SizeF ceiled. 17 GFX_EXPORT Size ToCeiledSize(const SizeF& size); 19 // Returns a Size with each component from the input SizeF rounded. 20 GFX_EXPORT Size ToRoundedSize(const SizeF& size); [all...] |
/external/llvm/lib/Support/ |
StringSaver.cpp | 15 char *P = Alloc.Allocate<char>(S.size() + 1); 16 memcpy(P, S.data(), S.size()); 17 P[S.size()] = '\0';
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/common/ |
Util.java | 20 int size = 0; local 22 ++size; 26 return size;
|
/external/perf_data_converter/src/quipper/ |
buffer_writer.cc | 13 bool BufferWriter::WriteData(const void* src, const size_t size) { 17 if (offset_ + size > size_ || offset_ >= size_ || size > size_) return false; 18 memcpy(buffer_ + offset_, src, size); 19 offset_ += size; 23 bool BufferWriter::WriteString(const string& str, const size_t size) { 25 size_t write_size = std::min(str.size(), size); 26 if (offset_ + size > size_ || !WriteData(str.c_str(), write_size)) 31 memset(buffer_ + offset_, 0, size - write_size) [all...] |
/external/skia/src/ports/ |
SkMemory_malloc.cpp | 15 static inline void sk_out_of_memory(size_t size) { 17 size); 25 static inline void* throw_on_failure(size_t size, void* p) { 26 if (size > 0 && p == nullptr) { 28 sk_out_of_memory(size); 54 void* sk_realloc_throw(void* addr, size_t size) { 55 return throw_on_failure(size, realloc(addr, size)); 64 void* sk_malloc_flags(size_t size, unsigned flags) { 67 p = calloc(size, 1) [all...] |
/external/skqp/src/ports/ |
SkMemory_malloc.cpp | 15 static inline void sk_out_of_memory(size_t size) { 17 size); 25 static inline void* throw_on_failure(size_t size, void* p) { 26 if (size > 0 && p == nullptr) { 28 sk_out_of_memory(size); 57 void* sk_realloc_throw(void* addr, size_t size) { 58 return throw_on_failure(size, realloc(addr, size)); 67 void* sk_malloc_flags(size_t size, unsigned flags) { 70 p = calloc(size, 1) [all...] |
/external/strace/tests/ |
epoll_create.c | 12 const long int size = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_epoll_create, size); 16 (int) size, rc, errno2name());
|
/external/strace/tests-m32/ |
epoll_create.c | 12 const long int size = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_epoll_create, size); 16 (int) size, rc, errno2name());
|
/external/strace/tests-mx32/ |
epoll_create.c | 12 const long int size = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_epoll_create, size); 16 (int) size, rc, errno2name());
|
/external/syslinux/com32/lib/ |
fread2.c | 10 size_t fread(void *ptr, size_t size, size_t nmemb, FILE * f) 12 return _fread(ptr, size * nmemb, f) / size;
|
fwrite2.c | 10 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE * f) 12 return _fwrite(ptr, size * nmemb, f) / size;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusimagecodec.h | 29 static __inline__ GpStatus GetImageDecoders(UINT numDecoders, UINT size, 33 return DllExports::GdipGetImageDecoders(numDecoders, size, decoders); 35 return GdipGetImageDecoders(numDecoders, size, decoders); 39 static __inline__ GpStatus GetImageDecodersSize(UINT *numDecoders, UINT *size) 42 return DllExports::GdipGetImageDecodersSize(numDecoders, size); 44 return GdipGetImageDecodersSize(numDecoders, size); 48 static __inline__ GpStatus GetImageEncoders(UINT numEncoders, UINT size, 52 return DllExports::GdipGetImageEncoders(numEncoders, size, encoders); 54 return GdipGetImageEncoders(numEncoders, size, encoders); 58 static __inline__ GpStatus GetImageEncodersSize(UINT *numEncoders, UINT *size) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/container.adaptors/priority.queue/priqueue.members/ |
size.pass.cpp | 14 // size_type size() const; 22 assert(q.size() == 0); 24 assert(q.size() == 1); 26 assert(q.size() == 0);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/numarray/class.gslice/gslice.cons/ |
default.pass.cpp | 23 assert(gs.size().size() == 0); 24 assert(gs.stride().size() == 0);
|
/system/bt/hci/src/ |
buffer_allocator.cc | 24 static void* buffer_alloc(size_t size) { 25 CHECK(size <= BT_DEFAULT_BUFFER_SIZE); 26 return osi_malloc(size);
|
/toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/ |
nm-elf-1.s | 9 .size text_symbol1, . - text_symbol1 13 .size text_symbol2, . - text_symbol2 16 .size text_symbol3, . - text_symbol3
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_emit.h | 37 unsigned size, void* state); 40 unsigned size, void* state); 43 unsigned size, void* state); 46 unsigned size, void* state); 49 unsigned size, void *state); 53 void r300_emit_fs(struct r300_context* r300, unsigned size, void *state); 55 void r300_emit_fs_constants(struct r300_context* r300, unsigned size, void *state); 57 void r300_emit_fs_rc_constant_state(struct r300_context* r300, unsigned size, void *state); 59 void r500_emit_fs(struct r300_context* r300, unsigned size, void *state); 61 void r500_emit_fs_constants(struct r300_context* r300, unsigned size, void *state) [all...] |
/art/test/413-regalloc-regression/src/ |
Main.java | 19 private int size; field in class:Main 23 size = 0; 27 for (int i = index; i < size - 1; i++) { 30 data[--size] = null; 35 main.size++; 37 if (main.size != 0) { 38 throw new Error("Unexpected size");
|
/cts/tests/tests/media/libndkaudio/ |
WaveTableGenerator.cpp | 29 float* WaveTableGenerator::genSinWave(int size, float maxValue) { 30 return genSinWave(size, maxValue, new float[size]); 33 float* WaveTableGenerator::genSinWave(int size, float maxValue, float* tbl) { 34 float incr = (kPI * 2.0f) / (float) size; 36 for (int index = 0; index < size; index++) {
|