/external/eigen/doc/snippets/ |
Tutorial_AdvancedInitialization_ThreeWays.cpp | 1 const int size = 6; variable 2 MatrixXd mat1(size, size); 3 mat1.topLeftCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2); 4 mat1.topRightCorner(size/2, size/2) = MatrixXd::Identity(size/2, size/2) [all...] |
/external/elfutils/libdwelf/ |
dwelf_scn_gnu_compressed_size.c | 1 /* Return size of GNU compressed section. 60 an 8-byte big-endian size. There is only one type and 62 uint64_t size; local 63 memcpy (&size, d->d_buf + 4, sizeof size); 64 size = be64toh (size); 66 /* One more sanity check, size should be bigger than original 67 data size plus some overhead (4 chars ZLIB + 8 bytes size + [all...] |
/external/elfutils/src/ |
arlib2.c | 35 size_t size = obstack_object_size (&symtab.longnamesob); local 40 return size - sizeof (struct ar_hdr);
|
/external/freetype/include/freetype/ |
ftsizes.h | 5 * FreeType size objects management (specification). 51 * Size Management 59 * pixel-size dependent information, available in the `face->size' 67 * modify the contents of the current `active' size; you thus need 83 * Create a new size object from a given face object. 91 * A handle to a new size object. 97 * You need to call @FT_Activate_Size in order to select the new size 103 FT_Size* size ); 112 * Discard a given size object. Note that @FT_Done_Fac 124 FT_Done_Size( FT_Size size ); variable 153 FT_Activate_Size( FT_Size size ); variable [all...] |
/external/libnetfilter_conntrack/src/expect/ |
snprintf.c | 19 int size; local 23 size = __snprintf_expect_default(buf, len, exp, type, flags); 26 size = __snprintf_expect_xml(buf, len, exp, type, flags); 34 buf[size+1 > len ? len-1 : size] = '\0'; 36 return size;
|
/external/skia/tools/skqp/ |
upload_model | 25 size() { gsutil du -s gs://$BUCKET | awk '{print $1}'; } function 39 SIZE=$(size) 59 D=$(( $(size) - $SIZE )) 60 printf 'Added %d bytes to %s, %d%%\n' $D $BUCKET $(( $D * 100 / $SIZE ))
|
/external/skqp/src/svg/ |
SkSVGCanvas.cpp | 15 SkISize size = bounds.roundOut().size(); local 16 sk_sp<SkBaseDevice> device(SkSVGDevice::Create(size, writer));
|
/external/skqp/tools/skqp/ |
upload_model | 25 size() { gsutil du -s gs://$BUCKET | awk '{print $1}'; } function 39 SIZE=$(size) 59 D=$(( $(size) - $SIZE )) 60 printf 'Added %d bytes to %s, %d%%\n' $D $BUCKET $(( $D * 100 / $SIZE ))
|
/bionic/tests/ |
stack_protector_test_helper.cpp | 24 int size = static_cast<int>(sizeof(buf) + sizeof(void*)); local 25 while ((p - buf) < size) *p++ = '\0';
|
/build/make/core/combo/ |
HOST_linux-x86.mk | 28 define get-file-size
|
/device/generic/goldfish/wifi/ipv6proxy/ |
address.h | 48 ssize_t size() const { return mStorage.size(); } function in class:Address 50 // Reset the address to be the max size possible for an address
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
bufferobject.h | 20 Py_ssize_t offset, Py_ssize_t size);
23 Py_ssize_t size);
25 PyAPI_FUNC(PyObject *) PyBuffer_FromMemory(void *ptr, Py_ssize_t size);
26 PyAPI_FUNC(PyObject *) PyBuffer_FromReadWriteMemory(void *ptr, Py_ssize_t size);
28 PyAPI_FUNC(PyObject *) PyBuffer_New(Py_ssize_t size);
variable
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
bufferobject.h | 20 Py_ssize_t offset, Py_ssize_t size);
23 Py_ssize_t size);
25 PyAPI_FUNC(PyObject *) PyBuffer_FromMemory(void *ptr, Py_ssize_t size);
26 PyAPI_FUNC(PyObject *) PyBuffer_FromReadWriteMemory(void *ptr, Py_ssize_t size);
28 PyAPI_FUNC(PyObject *) PyBuffer_New(Py_ssize_t size);
variable
|
/external/clang/tools/scan-build-py/tests/functional/src/ |
clean-two.c | 7 unsigned int const size = do_nothing_loop(); local 8 unsigned int const square = size * size;
|
/external/compiler-rt/test/esan/TestCases/ |
workingset-memset.cpp | 11 const int size = 128*1024*1024; local 12 char *p = (char *)mmap(0, size, PROT_READ | PROT_WRITE, 17 munmap(p, size); 19 // CHECK: {{.*}} EfficiencySanitizer: the total working set size: 77 KB (12{{[0-9]+}} cache lines)
|
workingset-midreport.cpp | 14 const int size = 0x1 << 25; // 523288 cache lines variable 18 char *buf = (char *)mmap(0, size, PROT_READ | PROT_WRITE, 26 for (int i = 0; i < size; ++i) 35 munmap(buf, size); 53 // CHECK-ESAN: {{.*}} EfficiencySanitizer: the total working set size: 32 MB (5242{{[0-9][0-9]}} cache lines) 69 // CHECK-ESAN: {{.*}} EfficiencySanitizer: the total working set size: 32 MB (5242{{[0-9][0-9]}} cache lines)
|
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/compiler-rt/test/lsan/TestCases/ |
register_root_region.cc | 17 size_t size = getpagesize() * 2; local 19 mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); 22 assert(0 == mprotect((char *)p + size / 2, size / 2, PROT_NONE)); 24 __lsan_register_root_region(p, size); 28 __lsan_unregister_root_region(p, size);
|
/external/compiler-rt/test/scudo/ |
malloc.cpp | 14 size_t size = 1U << 8; local 16 p = malloc(size); 19 memset(p, 'A', size);
|
memalign.cpp | 14 extern "C" void *aligned_alloc (size_t alignment, size_t size); 20 size_t size = alignment; local 24 p = memalign(alignment, size); 29 posix_memalign(&p, alignment, size); 33 p = aligned_alloc(alignment, size); 39 p = memalign(alignment - 1, size);
|
realloc.cpp | 7 // requested size can fit into the previously allocated chunk. Also tests that 8 // a new chunk is returned if the size is greater, and that the contents of the 20 size_t size = 32; local 24 old_p = p = realloc(nullptr, size); 27 size = malloc_usable_size(p); 28 // Our realloc implementation will return the same pointer if the size 29 // requested is lower or equal to the usable size of the associated chunk. 30 p = realloc(p, size - 1); 33 p = realloc(p, size); 36 // And a new one if the size is greater [all...] |
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/deqp/framework/delibs/decpp/ |
deMemPool.cpp | 34 deUintptr size = (deUintptr)strlen(string) + 1; local 35 char* copy = (char*)pool->alloc(size); 37 std::copy(string, string+size, copy);
|
/external/epid-sdk/ext/ipp/sources/ippcp/ |
pcpmont_getsize.c | 60 // Purpose: Specifies size of buffer in bytes. 68 // pCtxSize pointer to size of context 75 int size = 0; local 77 gsModEngineGetSize(maxBitSize, poolLength, &size); 80 + (cpSize)size
|
pcpprngsetaugment.c | 91 cpSize size = IPP_MIN(BN_SIZE(pAug), argSize); local 93 ZEXPAND_COPY_BNU(RAND_XAUGMENT(pCtx), (cpSize)(sizeof(RAND_XAUGMENT(pCtx))/sizeof(BNU_CHUNK_T)), BN_NUMBER(pAug), size);
|