/external/libselinux/src/ |
H A D | getfilecon.c | 13 ssize_t size; local 16 size = INITCONTEXTLEN + 1; 17 buf = malloc(size); 20 memset(buf, 0, size); 22 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 26 size = getxattr(path, XATTR_NAME_SELINUX, NULL, 0); 27 if (size < 0) 30 size++; 31 newbuf = realloc(buf, size); 36 memset(buf, 0, size); [all...] |
H A D | lgetfilecon.c | 13 ssize_t size; local 16 size = INITCONTEXTLEN + 1; 17 buf = malloc(size); 20 memset(buf, 0, size); 22 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 26 size = lgetxattr(path, XATTR_NAME_SELINUX, NULL, 0); 27 if (size < 0) 30 size++; 31 newbuf = realloc(buf, size); 36 memset(buf, 0, size); [all...] |
/external/qemu/distrib/libselinux/src/ |
H A D | fgetfilecon.c | 13 ssize_t size; local 16 size = INITCONTEXTLEN + 1; 17 buf = malloc(size); 20 memset(buf, 0, size); 22 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1); 26 size = fgetxattr(fd, XATTR_NAME_SELINUX, NULL, 0); 27 if (size < 0) 30 size++; 31 newbuf = realloc(buf, size); 36 memset(buf, 0, size); [all...] |
H A D | getfilecon.c | 13 ssize_t size; local 16 size = INITCONTEXTLEN + 1; 17 buf = malloc(size); 20 memset(buf, 0, size); 22 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 26 size = getxattr(path, XATTR_NAME_SELINUX, NULL, 0); 27 if (size < 0) 30 size++; 31 newbuf = realloc(buf, size); 36 memset(buf, 0, size); [all...] |
H A D | lgetfilecon.c | 13 ssize_t size; local 16 size = INITCONTEXTLEN + 1; 17 buf = malloc(size); 20 memset(buf, 0, size); 22 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 26 size = lgetxattr(path, XATTR_NAME_SELINUX, NULL, 0); 27 if (size < 0) 30 size++; 31 newbuf = realloc(buf, size); 36 memset(buf, 0, size); [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | block_jacobi_preconditioner.cc | 49 for (int c = 0; c < block_structure_.cols.size(); ++c) { 50 int size = block_structure_.cols[c].size; local 51 storage_needed += size * size; 55 blocks_.resize(block_structure_.cols.size()); 60 for (int c = 0; c < block_structure_.cols.size(); ++c) { 61 int size = block_structure_.cols[c].size; local 63 block_cursor += size * siz 106 const int size = block_structure_.cols[c].size; local 125 const int size = block_structure_.cols[c].size; local [all...] |
/external/libcxx/test/containers/sequences/vector/vector.modifiers/ |
H A D | push_back.pass.cpp | 24 assert(c.size() == 1); 25 for (int j = 0; j < c.size(); ++j) 28 assert(c.size() == 2); 29 for (int j = 0; j < c.size(); ++j) 32 assert(c.size() == 3); 33 for (int j = 0; j < c.size(); ++j) 36 assert(c.size() == 4); 37 for (int j = 0; j < c.size(); ++j) 40 assert(c.size() == 5); 41 for (int j = 0; j < c.size(); [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | StringMac.mm | 33 CFIndex size = CFStringGetLength(reinterpret_cast<CFStringRef>(str)); 34 if (size == 0) 37 Vector<LChar, 1024> lcharBuffer(size); 39 CFIndex convertedsize = CFStringGetBytes(reinterpret_cast<CFStringRef>(str), CFRangeMake(0, size), kCFStringEncodingISOLatin1, 0, false, lcharBuffer.data(), size, &usedBufLen); 40 if ((convertedsize == size) && (usedBufLen == size)) { 41 m_impl = StringImpl::create(lcharBuffer.data(), size); 45 Vector<UChar, 1024> ucharBuffer(size); 46 CFStringGetCharacters(reinterpret_cast<CFStringRef>(str), CFRangeMake(0, size), ucharBuffe [all...] |
/external/qemu/util/ |
H A D | bitops.c | 21 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, argument 28 if (offset >= size) { 29 return size; 31 size -= result; 36 if (size < BITS_PER_LONG) { 42 size -= BITS_PER_LONG; 45 while (size >= 4*BITS_PER_LONG) { 59 size -= 4*BITS_PER_LONG; 61 while (size >= BITS_PER_LONG) { 66 size 86 find_next_zero_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument 131 find_last_bit(const unsigned long *addr, unsigned long size) argument [all...] |
/external/pcre/dist/sljit/ |
H A D | sljitExecAllocator.c | 41 header contains the size of the previous and the next block. These sizes 43 Block size: 44 0 - The block is a free_block, with a different size member. 46 n - The block is used at the moment, and the value contains its size. 47 Previous block size: 49 n - The size of the previous block. 51 Using these size values we can go forward or backward on the block chain. 74 * the size is always divisible by CHUNK_SIZE 84 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) argument 86 return VirtualAlloc(NULL, size, MEM_COMMI 89 free_chunk(void* chunk, sljit_uw size) argument 97 alloc_chunk(sljit_uw size) argument 114 free_chunk(void* chunk, sljit_uw size) argument 128 sljit_uw size; member in struct:block_header 136 sljit_uw size; member in struct:free_block 150 sljit_insert_free_block(struct free_block *free_block, sljit_uw size) argument 175 sljit_malloc_exec(sljit_uw size) argument [all...] |
/external/jemalloc/test/integration/ |
H A D | posix_memalign.c | 30 size_t alignment, size; local 35 size = UINT64_C(0x8000000000000000); 38 size = 0x80000000LU; 40 assert_d_ne(posix_memalign(&p, alignment, size), 0, 42 alignment, size); local 46 size = UINT64_C(0xc000000000000001); 49 size = 0xc0000001LU; 51 assert_d_ne(posix_memalign(&p, alignment, size), 0, 53 alignment, size); local 57 size 63 alignment, size); local 69 size_t alignment, size, total; local [all...] |
/external/aac/libFDK/include/ |
H A D | dct.h | 105 * \param size size of pDat. 109 void dct_II(FIXP_DBL *pDat, FIXP_DBL *tmp, int size, int *pDat_e); 117 * \param size size of pDat. 121 void dct_III(FIXP_DBL *pDat, FIXP_DBL *tmp, int size, int *pDat_e); 128 * \param size size of pDat. 132 void dct_IV(FIXP_DBL *pDat,int size, int *pDat_e); 139 * \param size siz [all...] |
/external/chromium_org/base/process/ |
H A D | memory.cc | 12 bool UncheckedCalloc(size_t num_items, size_t size, void** result) { argument 13 const size_t alloc_size = num_items * size; 16 if (size && ((alloc_size / size) != num_items)) {
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
H A D | provided_file_system_interface.cc | 10 EntryMetadata::EntryMetadata() : is_directory(false), size(0) {
|
/external/chromium_org/chrome/browser/media_galleries/win/ |
H A D | mtp_device_object_entry.cc | 9 MTPDeviceObjectEntry::MTPDeviceObjectEntry() : is_directory(false), size(0) { 15 int64 size, 20 size(size), 12 MTPDeviceObjectEntry(const base::string16& object_id, const base::string16& object_name, bool is_directory, int64 size, const base::Time& last_modified_time) argument
|
/external/chromium_org/chrome/browser/resources/print_preview/settings/ |
H A D | media_size_settings.css | 5 #media-size-settings .media-size-settings-select {
|
/external/chromium_org/pdf/pdfium/ |
H A D | pdfium_mem_buffer_file_write.cc | 19 unsigned long size) { 22 return mem_buffer_file_write->DoWriteBlock(data, size); 26 unsigned long size) { 27 buffer_.append(static_cast<const unsigned char*>(data), size); local 17 WriteBlockImpl(FPDF_FILEWRITE* this_file_write, const void* data, unsigned long size) argument 25 DoWriteBlock(const void* data, unsigned long size) argument
|
H A D | pdfium_mem_buffer_file_write.h | 21 size_t size() { return buffer_.size(); } function in class:chrome_pdf::PDFiumMemBufferFileWrite 24 int DoWriteBlock(const void* data, unsigned long size); 26 unsigned long size);
|
/external/chromium_org/storage/common/fileapi/ |
H A D | directory_entry.cc | 9 DirectoryEntry::DirectoryEntry() : is_directory(false), size(0) {} 13 int64 size, 17 size(size), 11 DirectoryEntry(const std::string& name, DirectoryEntryType type, int64 size, const base::Time& last_modified_time) argument
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | UnacceleratedImageBufferSurface.cpp | 39 UnacceleratedImageBufferSurface::UnacceleratedImageBufferSurface(const IntSize& size, OpacityMode opacityMode) argument 40 : ImageBufferSurface(size, opacityMode) 41 , m_surface(adoptRef(SkSurface::NewRasterPMColor(size.width(), size.height())))
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | CompositionUnderlineVectorBuilder.cpp | 41 size_t size = underlines.size(); local 42 reserveCapacity(size); 43 for (size_t i = 0; i < size; ++i)
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/include/ |
H A D | alloc.h | 52 crypto_alloc(size_t size);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rtasm/ |
H A D | rtasm_execmem.h | 38 rtasm_exec_malloc( size_t size );
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
H A D | GrBufferObj.cpp | 11 void GrBufferObj::allocate(GrGLsizeiptr size, const GrGLchar *dataPtr) { argument 12 GrAlwaysAssert(size >= 0); 17 fSize = size; 18 fDataPtr = new GrGLchar[size];
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
H A D | get_mangled_names.cc | 56 void* operator new(size_t size) { return &m; } argument 58 void* operator new[](size_t size) { return &m; } argument 61 void* operator new(size_t size, const std::nothrow_t&) throw() { return &m; } argument 63 void* operator new[](size_t size, const std::nothrow_t&) throw() { return &m; } argument
|