/external/libselinux/src/ |
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/mesa3d/src/gallium/winsys/sw/wayland/ |
wayland_sw_winsys.h | 35 unsigned size; member in struct:winsys_handle
|
/external/nanopb-c/tests/missing_fields/ |
missing_fields.c | 11 size_t size; local 24 size = stream.bytes_written; 30 pb_istream_t stream = pb_istream_from_buffer(buffer, size); 42 pb_istream_t stream = pb_istream_from_buffer(buffer, size);
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfStringAttribute.cpp | 61 int size = _value.size(); local 63 for (int i = 0; i < size; i++) 70 StringAttribute::readValueFrom (IStream &is, int size, int) 72 _value.resize (size); 74 for (int i = 0; i < size; i++)
|
/external/opencv3/modules/core/perf/ |
perf_inRange.cpp | 14 Size size = get<0>(GetParam()); local 16 Mat src1(size, type); 17 Mat src2(size, type); 18 Mat src3(size, type); 19 Mat dst(size, type);
|
/external/toybox/toys/other/ |
truncate.c | 11 usage: truncate [-c] -s SIZE file... 16 -s New size (with optional prefix and suffix) 18 SIZE prefix: + add, - subtract, < shrink to, > expand to, 20 SIZE suffix: k=1024, m=1024^2, g=1024^3, t=1024^4, p=1024^5, e=1024^6 29 long size; 35 long long size; local 39 if (TT.type == -1) size = TT.size; 41 size = fdlength(fd); 42 if (TT.type<2) size += TT.size*(1-(2*TT.type)) [all...] |
/external/valgrind/coregrind/m_gdbserver/ |
regdef.h | 32 by the size of a byte (to match the layout of each register in 38 /* The size (in bits) of the value of this register, as transmitted. */ 39 int size; member in struct:reg
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
protobuf_utils.cc | 16 // The "wire format" for the size is little-endian. Assume we're running on 21 int32_t size = 0; local 22 if (fread(&size, sizeof(size), 1, file) != 1) 24 if (size <= 0) 27 bytes->reset(new uint8_t[size]); 28 return fread(bytes->get(), sizeof((*bytes)[0]), size, file); 34 size_t size = ReadMessageBytesFromFile(file, &bytes); local 35 if (!size) 39 return msg->ParseFromArray(bytes.get(), size); [all...] |
/frameworks/av/media/libmedia/ |
MidiIoWrapper.cpp | 27 static int readAt(void *handle, void *buffer, int pos, int size) { 28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size); 30 static int size(void *handle) { function 31 return ((android::MidiIoWrapper*)handle)->size(); 43 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { 47 mLength = size; 69 int MidiIoWrapper::readAt(void *buffer, int offset, int size) { 70 ALOGV("readAt(%p, %d, %d)", buffer, offset, size); 73 return mDataSource->readAt(offset, buffer, size); 80 if (offset + size > mLength) [all...] |
/frameworks/base/libs/hwui/protos/ |
ProtoHelpers.h | 33 size_t size = src.writeToMemory(nullptr); local 34 dest->resize(size);
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
NullFragment.h | 26 /// size - 27 size_t size() const { return 0x0; } function in class:mcld::NullFragment
|
/frameworks/compile/mclinker/lib/Fragment/ |
RegionFragment.cpp | 23 size_t RegionFragment::size() const { function in class:mcld::RegionFragment 24 return m_Region.size();
|
/frameworks/compile/mclinker/lib/Support/ |
MemoryArea.cpp | 45 size_t MemoryArea::size() const { function in class:mcld::MemoryArea
|
/frameworks/compile/mclinker/lib/Target/ |
ELFAttributeValue.cpp | 19 size_t size = 0; local 22 size += leb128::size<uint32_t>(m_IntValue); 25 size += m_StringValue.length() + 1 /* for NULL-terminator */; 27 if (size <= 0) 31 return size;
|
/hardware/qcom/display/msm8084/libqdutils/ |
qdMetaData.cpp | 52 unsigned long size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local 53 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, 93 if(munmap(base, size))
|
/hardware/qcom/display/msm8226/libqdutils/ |
qdMetaData.cpp | 53 unsigned long size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local 54 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, 94 if(munmap(base, size))
|
/hardware/qcom/display/msm8909/libqdutils/ |
qdMetaData.cpp | 53 unsigned long size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local 54 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, 100 if(munmap(base, size))
|
/hardware/qcom/display/msm8994/libqdutils/ |
qdMetaData.cpp | 53 unsigned long size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local 54 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, 100 if(munmap(base, size))
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/range/ |
size.hpp | 40 size(const SinglePassRange& rng) function in namespace:boost
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/ |
blk.h | 20 size_t size; member in struct:isl_blk
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
blk.h | 20 size_t size; member in struct:isl_blk
|
/toolchain/binutils/binutils-2.25/include/vms/ |
eicp.h | 31 /* Size in bytes of the image section. */ 32 unsigned char size[4]; member in struct:vms_eicp
|
/external/testng/src/test/java/test/skipex/ |
SkippedExceptionTest.java | 26 Assert.assertEquals(testSkips.size(), 1);
29 Assert.assertEquals(confSkips.size(), 1);
44 Assert.assertEquals(skips.size(), 1);
45 Assert.assertEquals(failures.size(), 1);
46 Assert.assertEquals(passed.size(), 1);
|
/art/runtime/base/ |
bit_field.h | 34 static constexpr size_t size = kSize; member in class:art::BitField 37 static_assert(size != 0u, "Invalid size."); 38 static_assert(size <= sizeof(uintptr_t) * kBitsPerByte, "Invalid size."); 39 static_assert(size + position <= sizeof(uintptr_t) * kBitsPerByte, "Invalid position + size."); 43 return (static_cast<uintptr_t>(value) & ~((kUintPtrTOne << size) - 1)) == 0; 48 return (kUintPtrTOne << size) - 1; 54 return ((kUintPtrTOne << size) - 1) << position [all...] |
/bionic/libc/private/ |
ThreadLocalBuffer.h | 37 template <typename T, size_t Size = sizeof(T)> 49 result = reinterpret_cast<T*>(calloc(1, Size)); 55 size_t size() { return Size; } function in class:ThreadLocalBuffer
|