/external/protobuf/src/google/protobuf/io/ |
H A D | coded_stream_inl.h | 48 int size) { 49 if (size < 0) return false; // security: size is often user-supplied 51 if (BufferSize() >= size) { 52 STLStringResizeUninitialized(buffer, size); 53 memcpy(string_as_array(buffer), buffer_, size); local 54 Advance(size); 58 return ReadStringFallback(buffer, size); 47 InternalReadStringInline(string* buffer, int size) argument
|
/external/qemu/android/base/memory/ |
H A D | MallocUsableSize_unittest.cpp | 36 size_t size = computeSize(n); local 37 EXPECT_LE(size, ::malloc_usable_size(blocks[n])) 38 << "For block " << n << " of " << size << " bytes"; local
|
/external/qemu/android/ |
H A D | resource.c | 19 size_t size; member in struct:__anon29171 32 *psize = e->size;
|
/external/qemu/android/utils/ |
H A D | file_data.h | 26 // |size| is the size of the data in bytes. 28 // Note that |data| will always be NULL if |size| is 0. 31 size_t size; member in struct:__anon29207 42 return fileData->size == 0;
|
/external/qemu/distrib/libselinux/src/ |
H A D | canonicalize_context.c | 17 size_t size; local 30 size = selinux_page_size; 31 buf = malloc(size); 36 strncpy(buf, con, size); 42 memset(buf, 0, size); 43 ret = read(fd, buf, size - 1); 47 strncpy(buf, con, size);
|
H A D | compute_create.c | 20 size_t size; local 33 size = selinux_page_size; 34 buf = malloc(size); 39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); 45 memset(buf, 0, size); 46 ret = read(fd, buf, size - 1);
|
H A D | get_initial_context.c | 18 size_t size; local 32 size = selinux_page_size; 33 buf = malloc(size); 38 memset(buf, 0, size); 39 ret = read(fd, buf, size - 1);
|
H A D | getpeercon.c | 17 socklen_t size; local 20 size = INITCONTEXTLEN + 1; 21 buf = malloc(size); 24 memset(buf, 0, size); 26 ret = getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buf, &size); 30 newbuf = realloc(buf, size); 35 memset(buf, 0, size); 36 ret = getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buf, &size);
|
/external/qemu/include/android/ |
H A D | cbuffer.h | 21 int size; member in struct:__anon29678 27 cbuffer_reset( CBuffer* cb, void* buff, int size ) 30 cb->size = size; 38 return cb->size - cb->count;
|
/external/qemu/include/sysemu/ |
H A D | dma.h | 27 hwaddr size; member in struct:QEMUSGList
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | GameComponentPool.java | 28 public GameComponentPool(Class<?> type, int size) { argument 29 super(size);
|
/external/sfntly/cpp/src/sfntly/math/ |
H A D | font_math.h | 36 // the same units. So, if the size is given as the number of bytes then the 37 // alignment size must also be specified as byte size to align to. 38 // @param size the size of the data that may need padding 41 static int32_t PaddingRequired(int32_t size, int32_t alignment_size) { argument 42 int32_t padding = alignment_size - (size % alignment_size);
|
/external/skia/bench/ |
H A D | BenchLogger.cpp | 26 void BenchLogger::fileWrite(const char msg[], size_t size) { argument 28 fFileStream->write(msg, size);
|
H A D | ReadPixBench.cpp | 30 SkISize size = canvas->getDeviceSize(); variable 32 int offX = (size.width() - kWindowSize) / kNumStepsX; 33 int offY = (size.height() - kWindowSize) / kNumStepsY; 39 canvas->drawCircle(SkIntToScalar(size.width()/2), 40 SkIntToScalar(size.height()/2), 41 SkIntToScalar(size.width()/2),
|
H A D | WritePixelsBench.cpp | 49 SkISize size = canvas->getDeviceSize(); variable 54 bmp.allocN32Pixels(size.width(), size.height());
|
/external/skia/experimental/FileReaderApp/ |
H A D | ReaderView.cpp | 42 int size = ftell(f) * sizeof(char); local 43 if (size <= fFilePos) { 49 int toBeRead = size - fFilePos; 50 if (size > 0 && toBeRead > 0) {
|
/external/skia/gm/ |
H A D | discard.cpp | 45 SkISize size = this->getISize(); variable 46 size.fWidth /= 10; 47 size.fHeight /= 10; 48 SkImageInfo info = SkImageInfo::MakeN32Premul(size);
|
/external/skia/src/core/ |
H A D | SkBBoxRecord.h | 22 SkBBoxRecord(const SkISize& size, uint32_t recordFlags) argument 23 : INHERITED(size, recordFlags) {
|
/external/skia/src/gpu/gl/ |
H A D | GrGLStencilBuffer.cpp | 17 uint64_t size = this->width(); local 18 size *= this->height(); 19 size *= fFormat.fTotalBits; 20 size *= SkTMax(1,this->numSamples()); 21 return static_cast<size_t>(size / 8);
|
/external/skia/src/utils/ |
H A D | SkMD5.h | 27 virtual bool write(const void* buffer, size_t size) SK_OVERRIDE { 28 this->update(reinterpret_cast<const uint8_t*>(buffer), size); variable
|
H A D | SkSHA1.h | 27 virtual bool write(const void* buffer, size_t size) SK_OVERRIDE { 28 update(reinterpret_cast<const uint8_t*>(buffer), size); variable
|
/external/srec/portable/include/ |
H A D | ArrayListImpl.h | 49 size_t size; member in struct:ArrayListImpl_t 108 PORTABLE_API ESR_ReturnCode ArrayList_GetSize(ArrayList* self, size_t* size);
|
H A D | pstdio.h | 45 * real size of the file 47 int size; member in struct:FileRecord_t 49 * total size in memory
|
/external/srec/srec/include/ |
H A D | log_tabl.h | 31 int size; member in struct:__anon31116
|
/external/valgrind/main/callgrind/ |
H A D | costs.h | 23 Int size; member in struct:_CostChunk 31 ULong* CLG_(get_costarray)(Int size);
|