Searched defs:size (Results 326 - 350 of 7454) sorted by relevance

<<11121314151617181920>>

/external/protobuf/src/google/protobuf/io/
H A Dcoded_stream_inl.h48 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 DMallocUsableSize_unittest.cpp36 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 Dresource.c19 size_t size; member in struct:__anon29171
32 *psize = e->size;
/external/qemu/android/utils/
H A Dfile_data.h26 // |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 Dcanonicalize_context.c17 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 Dcompute_create.c20 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 Dget_initial_context.c18 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 Dgetpeercon.c17 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 Dcbuffer.h21 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 Ddma.h27 hwaddr size; member in struct:QEMUSGList
/external/replicaisland/src/com/replica/replicaisland/
H A DGameComponentPool.java28 public GameComponentPool(Class<?> type, int size) { argument
29 super(size);
/external/sfntly/cpp/src/sfntly/math/
H A Dfont_math.h36 // 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 DBenchLogger.cpp26 void BenchLogger::fileWrite(const char msg[], size_t size) { argument
28 fFileStream->write(msg, size);
H A DReadPixBench.cpp30 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 DWritePixelsBench.cpp49 SkISize size = canvas->getDeviceSize(); variable
54 bmp.allocN32Pixels(size.width(), size.height());
/external/skia/experimental/FileReaderApp/
H A DReaderView.cpp42 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 Ddiscard.cpp45 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 DSkBBoxRecord.h22 SkBBoxRecord(const SkISize& size, uint32_t recordFlags) argument
23 : INHERITED(size, recordFlags) {
/external/skia/src/gpu/gl/
H A DGrGLStencilBuffer.cpp17 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 DSkMD5.h27 virtual bool write(const void* buffer, size_t size) SK_OVERRIDE {
28 this->update(reinterpret_cast<const uint8_t*>(buffer), size); variable
H A DSkSHA1.h27 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 DArrayListImpl.h49 size_t size; member in struct:ArrayListImpl_t
108 PORTABLE_API ESR_ReturnCode ArrayList_GetSize(ArrayList* self, size_t* size);
H A Dpstdio.h45 * real size of the file
47 int size; member in struct:FileRecord_t
49 * total size in memory
/external/srec/srec/include/
H A Dlog_tabl.h31 int size; member in struct:__anon31116
/external/valgrind/main/callgrind/
H A Dcosts.h23 Int size; member in struct:_CostChunk
31 ULong* CLG_(get_costarray)(Int size);

Completed in 378 milliseconds

<<11121314151617181920>>