/external/libnl/lib/ |
object.c | 99 int size; local 105 size = ops->oo_size - doff; 106 if (size < 0) 113 if (size) 114 memcpy((void *)new + doff, (void *)obj + doff, size); 121 } else if (size && ops->oo_free_data)
|
/external/libopus/celt/ |
modes.h | 51 int size; member in struct:__anon16087
|
/external/libselinux/src/ |
mapping.c | 33 size_t size = sizeof(struct selinux_mapping); local 54 current_mapping = (struct selinux_mapping *)calloc(++i, size); 84 /* Set the mapping size here so the above lookups are "raw" */
|
/external/libvncserver/libvncserver/ |
auth.c | 204 /* The size of the message is the count of security types +1, 206 int size = 1; local 223 handler && size<MAX_SECURITY_TYPES; handler = handler->next) { 224 buffer[size] = handler->type; 225 size++; 227 buffer[0] = (unsigned char)size-1; 230 if (rfbWriteExact(cl, (char *)buffer, size) < 0) { 239 if(size <= 1) {
|
/external/libvpx/libvpx/test/ |
partial_idct_test.cc | 60 int size; local 63 size = 4; 66 size = 8; 69 size = 16; 72 size = 32; 75 FAIL() << "Wrong Size!"; 84 const int block_size = size * size; 113 ftxfm_(input_extreme_block, output_ref_block, size); 122 ASM_REGISTER_STATE_CHECK(full_itxfm_(test_coef_block1, dst1, size)); 139 int size; local [all...] |
/external/llvm/include/llvm/ADT/ |
PackedVector.h | 100 explicit PackedVector(unsigned size) : Bits(size << (BitNum-1)) { } 104 unsigned size() const { return Bits.size() >> (BitNum - 1); } function in class:llvm::PackedVector 118 resize(size()+1); 119 (*this)[size()-1] = val;
|
SetVector.h | 69 size_type size() const { function in class:llvm::SetVector 70 return vector_.size(); 121 assert(n < vector_.size() && "SetVector access out of range!"); 239 /// a certain size.
|
StringRef.h | 118 /// size - Get the string size. 120 size_t size() const { return Length; } function in class:llvm::StringRef 298 /// Complexity: O(size() + Chars.size()) 308 /// Complexity: O(size() + Chars.size()) 320 /// Complexity: O(size() + Chars.size()) 330 /// Complexity: O(size() + Chars.size() [all...] |
/external/llvm/include/llvm/Analysis/ |
Trace.h | 63 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) 101 unsigned size() const { return BasicBlocks.size(); } function in class:llvm::Trace
|
/external/llvm/include/llvm/Support/ |
ConvertUTF.h | 191 * point to at least WideCharWidth * (Source.Size() + 1) bytes. On success, 233 unsigned size = getNumBytesForUTF8(**source); local 234 if ((ptrdiff_t)size > sourceEnd - *source) 236 return ConvertUTF8toUTF32(source, *source + size, &target, target + 1, flags);
|
StringPool.h | 124 inline unsigned size() const { function in class:llvm::PooledStringPtr
|
/external/llvm/utils/TableGen/ |
SequenceToOffsetTable.h | 61 return A.size() <= B.size() && std::equal(A.rbegin(), A.rend(), B.rbegin()); 87 unsigned size() const { function in class:llvm::SequenceToOffsetTable 88 assert(Entries && "Call layout() before size()"); 100 Entries += I->first.size() + 1; 110 return I->second + (I->first.size() - Seq.size());
|
/external/ltrace/ |
glob.c | 104 size_t size = 0; local 115 &size, &allocd) < 0) { 122 if (append(&buf, "\\*", 0, &size, &allocd) < 0) 125 if (append(&buf, "?", 0, &size, &allocd) < 0) 128 &size, &allocd) < 0) 143 &size, &allocd) < 0) 147 &size, &allocd) < 0) 152 if (append(&buf, ".*", 0, &size, &allocd) < 0) 155 if (append(&buf, ".", 0, &size, &allocd) < 0) 158 if (append(&buf, "\\.", 0, &size, &allocd) < 0 [all...] |
/external/lzma/CPP/7zip/Compress/ |
LzmaEncoder.cpp | 15 static void *SzBigAlloc(void *, size_t size) { return BigAlloc(size); }
19 static void *SzAlloc(void *, size_t size) { return MyAlloc(size); }
138 size_t size = LZMA_PROPS_SIZE;
local 139 RINOK(LzmaEnc_WriteProperties(_encoder, props, &size));
140 return WriteStream(outStream, props, size);
|
PpmdEncoder.cpp | 17 static void *SzBigAlloc(void *, size_t size) { return BigAlloc(size); }
133 UInt32 size;
local 134 RINOK(inStream->Read(_inBuf, kBufSize, &size));
135 if (size == 0)
142 for (UInt32 i = 0; i < size; i++)
147 processed += size;
|
/external/lzma/Java/SevenZip/Compression/LZ/ |
OutWindow.java | 47 int size = _pos - _streamPos;
local 48 if (size == 0)
50 _stream.write(_buffer, _streamPos, size);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
XZInputStream.java | 50 * <h4>When uncompressed size is known beforehand</h4> 270 int size = 0; local 277 return size == 0 ? -1 : size; 283 size += ret; 292 if (size == 0) 296 return size; 303 // The size of Stream Padding must be a multiple of four bytes,
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_bufmgr_mm.c | 58 pb_size size; member in struct:mm_pb_manager 176 pb_size size, 198 mm_buf->base.size = size; 204 mm_buf->block = u_mmAllocMem(mm->heap, (int)size, (int)mm->align2, 0); 216 assert(0 <= (pb_size)mm_buf->block->ofs && (pb_size)mm_buf->block->ofs < mm->size); 217 assert(size <= (pb_size)mm_buf->block->size && (pb_size)mm_buf->block->ofs + (pb_size)mm_buf->block->size <= mm->size); [all...] |
pb_bufmgr_ondemand.c | 58 pb_size size; member in struct:pb_ondemand_buffer 149 buf->buffer = provider->create_buffer(provider, buf->size, &buf->desc); 159 memcpy(map, buf->data, buf->size); 237 pb_size size, 250 buf->base.size = size; 255 buf->data = align_malloc(size, desc->alignment < sizeof(void*) ? sizeof(void*) : desc->alignment); 261 buf->size = size;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_bitmask.c | 56 unsigned size; member in struct:util_bitmask 78 bm->size = UTIL_BITMASK_INITIAL_WORDS * UTIL_BITMASK_BITS_PER_WORD; 100 if(bm->size >= minimum_size) 103 assert(bm->size % UTIL_BITMASK_BITS_PER_WORD == 0); 104 new_size = bm->size; 108 if(new_size < bm->size) 115 bm->size / UTIL_BITMASK_BITS_PER_BYTE, 120 memset(new_words + bm->size/UTIL_BITMASK_BITS_PER_WORD, 122 (new_size - bm->size)/UTIL_BITMASK_BITS_PER_BYTE); 124 bm->size = new_size [all...] |
u_dynarray.h | 36 * Also, size <= capacity and data != 0 if and only if capacity != 0 37 * capacity will always be the allocation size of data 42 unsigned size; member in struct:util_dynarray 76 p = (char *)buf->data + buf->size; 77 buf->size = newsize; 84 return util_dynarray_resize(buf, buf->size + diff); 90 if (buf->size != buf->capacity) { 91 if (buf->size) { 92 buf->data = REALLOC(buf->data, buf->capacity, buf->size); 93 buf->capacity = buf->size; [all...] |
u_handle_table.c | 52 unsigned size; member in struct:handle_table 76 ht->size = HANDLE_TABLE_INITIAL_SIZE; 106 if(ht->size > minimum_size) 107 return ht->size; 109 new_size = ht->size; 115 ht->size*sizeof(void *), 120 memset(new_objects + ht->size, 0, (new_size - ht->size)*sizeof(void *)); 122 ht->size = new_size; 125 return ht->size; [all...] |
u_upload_mgr.c | 44 unsigned default_size; /* Minimum size of the upload buffer, in bytes. */ 51 unsigned size; /* Actual size of the upload buffer. */ member in struct:u_upload_mgr 105 upload->size = 0; 120 unsigned size; local 128 size = align(MAX2(upload->default_size, min_size), 4096); 133 size ); 140 0, size, 145 upload->size = 0; 150 upload->size = size [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup_vbuf.c | 64 /* Vertex size/info depends on the latest state. 78 unsigned size = vertex_size * nr_vertices; local 80 if (setup->vertex_buffer_size < size) { 82 setup->vertex_buffer = align_malloc(size, 16); 83 setup->vertex_buffer_size = size; 138 const unsigned stride = setup->vertex_info->size * sizeof(float); 337 const unsigned stride = setup->vertex_info->size * sizeof(float);
|
lp_state_setup.h | 18 unsigned size:16; member in struct:lp_setup_variant_key
|