/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
reallocarray.c | 30 reallocarray(void *optr, size_t nmemb, size_t size) 32 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && 33 nmemb > 0 && SIZE_MAX / nmemb < size) { 37 return realloc(optr, size * nmemb);
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
FieldList.java | 37 * @return the size 39 public int size(); method in interface:FieldList 44 * @param n {@code n >= 0, n < size();} which field
|
/external/clang/test/CodeGenCXX/ |
microsoft-new.cpp | 6 void *operator new(size_t size, arbitrary_t); 9 void *operator new[](size_t size, arbitrary2_t); 20 void *operator new[](size_t size, arbitrary_t); 31 void *operator new(size_t size, arbitrary2_t);
|
/external/clang/test/SemaCXX/ |
bitfield-layout.cpp | 3 #define CHECK_SIZE(name, size) extern int name##1[sizeof(name) == size ? 1 : -1]; 4 #define CHECK_ALIGN(name, size) extern int name##2[__alignof(name) == size ? 1 : -1];
|
/external/compiler-rt/test/esan/TestCases/ |
workingset-samples.cpp | 9 const int size = 0x1 << 25; // 523288 cache lines variable 13 char *buf = (char *)mmap(0, size, PROT_READ | PROT_WRITE, 21 for (int i = 0; i < size; ++i) 25 munmap(buf, size); 41 // CHECK: {{.*}} EfficiencySanitizer: the total working set size: 32 MB (5242{{[0-9][0-9]}} cache lines)
|
/external/dng_sdk/source/ |
dng_jpeg_memory_source.h | 14 // buffer with length 'size'. 15 jpeg_source_mgr CreateJpegMemorySource(const uint8 *buffer, size_t size);
|
/external/giflib/ |
openbsd-reallocarray.c | 30 reallocarray(void *optr, size_t nmemb, size_t size) 32 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && 33 nmemb > 0 && SIZE_MAX / nmemb < size) { 37 return realloc(optr, size * nmemb);
|
/external/libcxx/test/std/numerics/rand/rand.util/rand.util.seedseq/ |
default.pass.cpp | 22 assert(s.size() == 0);
|
/external/libmojo/mojo/public/cpp/bindings/ |
array_traits_carray.h | 14 CArray() : size(0), max_size(0), data(nullptr) {} 15 CArray(size_t size, size_t max_size, T* data) 16 : size(size), max_size(max_size), data(data) {} 17 size_t size; member in struct:mojo::CArray 24 ConstCArray() : size(0), data(nullptr) {} 25 ConstCArray(size_t size, const T* data) : size(size), data(data) {} 26 size_t size; member in struct:mojo::ConstCArray [all...] |
/external/libvpx/libvpx/vpx_dsp/ |
postproc.h | 19 int vpx_setup_noise(double sigma, int8_t *noise, int size);
|
/external/ltp/testcases/kernel/syscalls/getdents/ |
getdents.h | 38 getdents(unsigned int fd, struct linux_dirent *dirp, unsigned int size) 40 return ltp_syscall(__NR_getdents, fd, dirp, size); 52 getdents64(unsigned int fd, struct linux_dirent64 *dirp64, unsigned int size) 54 return ltp_syscall(__NR_getdents64, fd, dirp64, size);
|
/external/ltp/tools/ |
make-file.sh | 29 size=$2 32 echo "usage: ${0##*/} <file> <size in bytes>" 38 dd if=/dev/zero bs=1 count="$size" 2>/dev/null | tr "\0" "A" > "$file"
|
/external/lzma/CPP/7zip/Common/ |
StreamUtils.h | 8 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *size) throw();
9 HRESULT ReadStream_FALSE(ISequentialInStream *stream, void *data, size_t size) throw();
10 HRESULT ReadStream_FAIL(ISequentialInStream *stream, void *data, size_t size) throw();
11 HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size) throw();
|
/external/lzma/CPP/Windows/ |
System.h | 13 bool GetRamSize(UInt64 &size); // returns false, if unknown ram size
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SeekableInputStream.java | 25 * would cause the position to exceed the stream size, this will do 45 long size = length(); local 47 if (pos >= size) 50 if (size - pos < n) 51 n = size - pos; 58 * Gets the size of the stream.
|
/external/pdfium/testing/libfuzzer/ |
pdf_cfx_barcode_fuzzer.cc | 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { 11 if (size < 2 * sizeof(wchar_t)) 18 size -= sizeof(wchar_t); 31 size / sizeof(wchar_t));
|
/external/perf_data_converter/src/quipper/ |
buffer_reader.h | 12 // Read from a fixed-size data buffer. Does not take ownership of the buffer. 15 // The data source is indicated by |buffer| and is |size| bytes long. 16 BufferReader(const void* buffer, size_t size) 18 size_ = size; 25 bool ReadData(const size_t size, void* dest) override; 27 // Reads |size| bytes of the buffer as a null-terminated string into |str|. 29 // over. If there is no null terminator within these |size| bytes, then the 30 // string is automatically terminated after |size| bytes. 31 bool ReadString(const size_t size, string* str) override;
|
data_writer.h | 27 virtual size_t size() const { return size_; } function in class:quipper::DataWriter 29 // Writes raw data. Returns true if it managed to write |size| bytes. 30 virtual bool WriteData(const void* src, const size_t size) = 0; 32 // Like WriteData(), but prints an error if it doesn't write all |size| bytes. 33 virtual bool WriteDataValue(const void* src, const size_t size, 36 // Writes a string. If the string length is smaller than |size|, it will fill 38 // longer than |size|, it will truncate the string, and will not add a null 40 virtual bool WriteString(const string& str, const size_t size) = 0; 42 // Writes a string |src| to data, prefixed with a 32-bit size field. The size [all...] |
/external/perfetto/src/ipc/ |
buffered_frame_deserializer_fuzzer.cc | 24 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size); 26 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { 29 memcpy(rbuf.data, data, size); 30 ::perfetto::base::ignore_result(bfd.EndReceive(size));
|
/external/perfetto/src/tracing/core/ |
packet_stream_validator.cc | 31 size_t size = 0; local 33 size += slice.size; 36 if (!packet.ParseFromBoundedZeroCopyStream(&stream, static_cast<int>(size)))
|
/external/selinux/libsepol/cil/src/ |
cil_parser.h | 35 int cil_parser(char *path, char *buffer, uint32_t size, struct cil_tree **parse_tree);
|
/external/strace/tests/ |
xstatfs64.c | 28 #define SYSCALL_INVOKE(file, desc, ptr, size) \ 29 syscall(SYSCALL_NR, SYSCALL_ARG(file, desc), size, ptr) 30 #define PRINT_SYSCALL_HEADER(file, desc, size) \ 32 SYSCALL_ARG(file, desc), (unsigned) size)
|
/external/strace/tests-m32/ |
xstatfs64.c | 28 #define SYSCALL_INVOKE(file, desc, ptr, size) \ 29 syscall(SYSCALL_NR, SYSCALL_ARG(file, desc), size, ptr) 30 #define PRINT_SYSCALL_HEADER(file, desc, size) \ 32 SYSCALL_ARG(file, desc), (unsigned) size)
|
/external/strace/tests-mx32/ |
xstatfs64.c | 28 #define SYSCALL_INVOKE(file, desc, ptr, size) \ 29 syscall(SYSCALL_NR, SYSCALL_ARG(file, desc), size, ptr) 30 #define PRINT_SYSCALL_HEADER(file, desc, size) \ 32 SYSCALL_ARG(file, desc), (unsigned) size)
|
/external/v4l2_codec2/vda/ |
native_pixmap_handle.cc | 11 : stride(0), offset(0), size(0), modifier(0) {} 15 uint64_t size, 17 : stride(stride), offset(offset), size(size), modifier(modifier) {}
|