/external/clang/test/Sema/ |
warn-strlcpycat-size.c | 1 // RUN: %clang_cc1 -Wstrlcpy-strlcat-size -verify -fsyntax-only %s 4 size_t strlcpy (char * restrict dst, const char * restrict src, size_t size); 5 size_t strlcat (char * restrict dst, const char * restrict src, size_t size); 22 strlcpy(s1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 23 strlcpy(s1, s3, strlen(s3)+1); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be t (…) [all...] |
/external/lzma/C/ |
7zStream.c | 8 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType)
10 while (size != 0)
12 size_t processed = size;
17 size -= processed;
22 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size)
24 return SeqInStream_Read2(stream, buf, size, SZ_ERROR_INPUT_EOF);
40 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size)
43 if (*size == 0)
45 RINOK(stream->Look(stream, &lookBuf, size));
46 memcpy(buf, lookBuf, *size);
[all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkMemory_mozalloc.cpp | 25 void* sk_malloc_throw(size_t size) { 26 return sk_malloc_flags(size, SK_MALLOC_THROW); 29 void* sk_realloc_throw(void* addr, size_t size) { 30 return moz_xrealloc(addr, size); 37 void* sk_malloc_flags(size_t size, unsigned flags) { 38 return (flags & SK_MALLOC_THROW) ? moz_xmalloc(size) : moz_malloc(size); 41 void* sk_calloc(size_t size) { 42 return moz_calloc(size, 1); 45 void* sk_calloc_throw(size_t size) { [all...] |
/external/libselinux/src/ |
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...] |
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...] |
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/skia/src/ports/ |
SkMemory_mozalloc.cpp | 25 void* sk_malloc_throw(size_t size) { 26 return sk_malloc_flags(size, SK_MALLOC_THROW); 29 void* sk_realloc_throw(void* addr, size_t size) { 30 return moz_xrealloc(addr, size); 37 void* sk_malloc_flags(size_t size, unsigned flags) { 38 return (flags & SK_MALLOC_THROW) ? moz_xmalloc(size) : moz_malloc(size); 41 void* sk_calloc(size_t size) { 42 return moz_calloc(size, 1); 45 void* sk_calloc_throw(size_t size) { [all...] |
/external/chromium_org/ui/gfx/ |
size.h | 16 typedef struct tagSIZE SIZE; 25 // A size has width and height values. 26 class GFX_EXPORT Size : public SizeBase<Size, int> { 28 Size() : SizeBase<Size, int>(0, 0) {} 29 Size(int width, int height) : SizeBase<Size, int>(width, height) {} 31 explicit Size(const CGSize& s); 34 ~Size() {} [all...] |
/external/elfutils/libasm/ |
asm_adduint8.c | 33 #ifndef SIZE 34 # define SIZE 8 37 #define UFCT(size) _UFCT(size) 38 #define _UFCT(size) asm_adduint##size 39 #define FCT(size) _FCT(size) 40 #define _FCT(size) asm_addint##size [all...] |
/external/chromium_org/cc/base/ |
tiling_data_unittest.cc | 16 gfx::Size max_texture_size, 17 gfx::Size total_size, 31 gfx::Size max_texture_size, 32 gfx::Size total_size, 40 gfx::Size max_texture_size, 41 gfx::Size total_size, 49 gfx::Size max_texture_size, 50 gfx::Size total_size, 58 gfx::Size max_texture_size, 59 gfx::Size total_size [all...] |
/external/chromium_org/cc/resources/ |
resource.h | 11 #include "ui/gfx/size.h" 18 Resource(unsigned id, gfx::Size size, ResourceFormat format) 20 size_(size), 24 gfx::Size size() const { return size_; } function in class:cc::Resource 28 inline static size_t MemorySizeBytes(gfx::Size size, ResourceFormat format) { 29 DCHECK_EQ(0u, (BitsPerPixel(format) * size.width() * size.height()) % 8) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/data/ |
zero_sized_iframe.html | 3 This is an iframe with zero size.
|
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/ |
u_execmem.h | 5 u_execmem_alloc(unsigned int size);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
addrop-err.errwarn | 1 -:2: error: invalid effective address (displacement size)
|
opsize-err.errwarn | 1 -:3: error: invalid size for operand 2
|
strict-err.errwarn | 1 -:2: error: invalid size for operand 1 2 -:3: error: invalid size for operand 1 3 -:4: error: invalid size for operand 2 4 -:5: error: invalid size for operand 2
|
/external/lzma/CPP/7zip/Common/ |
StreamUtils.cpp | 11 size_t size = *processedSize;
local 13 while (size != 0)
15 UInt32 curSize = (size < kBlockSize) ? (UInt32)size : kBlockSize;
20 size -= processedSizeLoc;
28 HRESULT ReadStream_FALSE(ISequentialInStream *stream, void *data, size_t size)
30 size_t processedSize = size;
32 return (size == processedSize) ? S_OK : S_FALSE;
35 HRESULT ReadStream_FAIL(ISequentialInStream *stream, void *data, size_t size)
37 size_t processedSize = size;
[all...] |
StreamUtils.h | 8 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *size);
9 HRESULT ReadStream_FALSE(ISequentialInStream *stream, void *data, size_t size);
10 HRESULT ReadStream_FAIL(ISequentialInStream *stream, void *data, size_t size);
11 HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size);
|
/external/lzma/CPP/7zip/Compress/ |
BcjCoder.cpp | 7 UInt32 CBCJ_x86_Encoder::SubFilter(Byte *data, UInt32 size)
9 return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 1);
12 UInt32 CBCJ_x86_Decoder::SubFilter(Byte *data, UInt32 size)
14 return (UInt32)::x86_Convert(data, size, _bufferPos, &_prevMask, 0);
|
/external/mesa3d/src/mapi/mapi/ |
u_execmem.h | 5 u_execmem_alloc(unsigned int size);
|
/external/valgrind/main/memcheck/tests/ |
sbfragment.stdout.exp | 1 after 3000 loops, last size block requested 96032008
|
/external/chromium_org/media/test/data/ |
bear-640x360-manifest.js | 7 init: { offset: 0, size: 4340}, 9 { offset: 4340, size: 50950, timecode: 0.000000}, 10 { offset: 55290, size: 18785, timecode: 0.527000}, 11 { offset: 74075, size: 19810, timecode: 1.014000}, 12 { offset: 93885, size: 21706, timecode: 1.522000}, 13 { offset: 115591, size: 20249, timecode: 2.016000}, 14 { offset: 135840, size: 9946, timecode: 2.515000},
|
/external/chromium_org/third_party/lzma_sdk/ |
Alloc.h | 13 void *MyAlloc(size_t size); 20 void *MidAlloc(size_t size); 22 void *BigAlloc(size_t size); 27 #define MidAlloc(size) MyAlloc(size) 29 #define BigAlloc(size) MyAlloc(size)
|
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
Alloc.h | 14 void *MyAlloc(size_t size); 21 void *MidAlloc(size_t size); 23 void *BigAlloc(size_t size); 28 #define MidAlloc(size) MyAlloc(size) 30 #define BigAlloc(size) MyAlloc(size)
|
/external/eigen/Eigen/src/Eigen2Support/ |
VectorBlock.h | 19 MatrixBase<Derived>::start(Index size) 22 return VectorBlock<Derived>(derived(), 0, size); 28 MatrixBase<Derived>::start(Index size) const 31 return VectorBlock<const Derived>(derived(), 0, size); 37 MatrixBase<Derived>::end(Index size) 40 return VectorBlock<Derived>(derived(), this->size() - size, size); 46 MatrixBase<Derived>::end(Index size) const 49 return VectorBlock<const Derived>(derived(), this->size() - size, size) [all...] |