Searched refs:size (Results 126 - 150 of 26517) sorted by relevance

1234567891011>>

/external/chromium_org/sdch/open-vcdiff/src/
H A Dvcdecoder2_test.cc32 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
33 for (size_t i = 0; i < delta_file_header_.size(); ++i) {
41 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
42 for (size_t i = 0; i < delta_file_.size(); ++i) {
51 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
52 for (size_t i = 0; i < delta_file_.size(); ++i) {
62 delta_file_.resize(delta_file_.size() - 1);
63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
64 for (size_t i = 0; i < delta_file_.size(); ++i) {
69 EXPECT_GE(expected_target_.size(), output
[all...]
H A Dvcdecoder3_test.cc47 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
49 delta_file_header_.size(),
56 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
58 delta_file_header_.size() - 2,
66 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
68 delta_file_.size(),
75 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
77 delta_file_.size(),
84 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
86 delta_file_.size(),
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/
H A Ddevice.cpp56 *num_devices = devs.size();
59 std::min((cl_uint)devs.size(), num_entries),
67 size_t size, void *buf, size_t *size_ret) {
73 return scalar_property<cl_device_type>(buf, size, size_ret, dev->type());
76 return scalar_property<cl_uint>(buf, size, size_ret, dev->vendor_id());
79 return scalar_property<cl_uint>(buf, size, size_ret, 1);
82 return scalar_property<cl_uint>(buf, size, size_ret,
83 dev->max_block_size().size());
86 return vector_property<size_t>(buf, size, size_ret,
90 return scalar_property<size_t>(buf, size, size_re
66 clGetDeviceInfo(cl_device_id dev, cl_device_info param, size_t size, void *buf, size_t *size_ret) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/clover/api/
H A Ddevice.cpp56 *num_devices = devs.size();
59 std::min((cl_uint)devs.size(), num_entries),
67 size_t size, void *buf, size_t *size_ret) {
73 return scalar_property<cl_device_type>(buf, size, size_ret, dev->type());
76 return scalar_property<cl_uint>(buf, size, size_ret, dev->vendor_id());
79 return scalar_property<cl_uint>(buf, size, size_ret, 1);
82 return scalar_property<cl_uint>(buf, size, size_ret,
83 dev->max_block_size().size());
86 return vector_property<size_t>(buf, size, size_ret,
90 return scalar_property<size_t>(buf, size, size_re
66 clGetDeviceInfo(cl_device_id dev, cl_device_info param, size_t size, void *buf, size_t *size_ret) argument
[all...]
/external/proguard/src/proguard/util/
H A DArrayUtil.java35 * @param size the size of the arrays to be checked.
38 public static boolean equal(byte[] array1, byte[] array2, int size) argument
40 for (int index = 0; index < size; index++)
56 * @param size the size of the arrays to be checked.
59 public static boolean equal(short[] array1, short[] array2, int size) argument
61 for (int index = 0; index < size; index++)
77 * @param size the size o
80 equal(int[] array1, int[] array2, int size) argument
101 equal(Object[] array1, Object[] array2, int size) argument
121 hashCode(byte[] array, int size) argument
140 hashCode(short[] array, int size) argument
159 hashCode(int[] array, int size) argument
178 hashCode(Object[] array, int size) argument
330 extendArray(boolean[] array, int size) argument
357 ensureArraySize(boolean[] array, int size, boolean initialValue) argument
390 add(byte[] array, int size, byte element) argument
409 insert(byte[] array, int size, int index, byte element) argument
430 remove(byte[] array, int size, int index) argument
446 extendArray(byte[] array, int size) argument
473 ensureArraySize(byte[] array, int size, byte initialValue) argument
506 add(short[] array, int size, short element) argument
525 insert(short[] array, int size, int index, short element) argument
546 remove(short[] array, int size, int index) argument
562 extendArray(short[] array, int size) argument
589 ensureArraySize(short[] array, int size, short initialValue) argument
622 add(int[] array, int size, int element) argument
641 insert(int[] array, int size, int index, int element) argument
662 remove(int[] array, int size, int index) argument
678 extendArray(int[] array, int size) argument
705 ensureArraySize(int[] array, int size, int initialValue) argument
738 add(long[] array, int size, long element) argument
757 insert(long[] array, int size, int index, long element) argument
778 remove(long[] array, int size, int index) argument
794 extendArray(long[] array, int size) argument
821 ensureArraySize(long[] array, int size, long initialValue) argument
854 add(Object[] array, int size, Object element) argument
873 insert(Object[] array, int size, int index, Object element) argument
894 remove(Object[] array, int size, int index) argument
910 extendArray(Object[] array, int size) argument
937 ensureArraySize(Object[] array, int size, Object initialValue) argument
[all...]
/external/chromium_org/base/allocator/
H A Dgeneric_allocators.cc13 inline void* generic_cpp_alloc(size_t size, bool nothrow) { argument
16 ptr = malloc(size);
27 void* operator new(size_t size) { argument
28 return generic_cpp_alloc(size, false);
35 void* operator new[](size_t size) { argument
36 return generic_cpp_alloc(size, false);
43 void* operator new(size_t size, const std::nothrow_t& nt) { argument
44 return generic_cpp_alloc(size, true);
51 void* operator new[](size_t size, const std::nothrow_t& nt) { argument
52 return generic_cpp_alloc(size, tru
76 const size_t size = n * elem_size; local
103 const size_t size = n * elem_size; local
108 _calloc_impl(size_t n, size_t size) argument
156 _malloc_dbg(size_t size, int , const char*, int) argument
160 _realloc_dbg(void* ptr, size_t size, int, const char*, int) argument
168 _calloc_dbg(size_t n, size_t size, int, const char*, int) argument
[all...]
/external/chromium_org/third_party/lzma_sdk/
H A D7zAlloc.c21 void *SzAlloc(void *p, size_t size) argument
24 if (size == 0)
27 fprintf(stderr, "\nAlloc %10d bytes; count = %10d", size, g_allocCount);
30 return malloc(size);
46 void *SzAllocTemp(void *p, size_t size) argument
49 if (size == 0)
52 fprintf(stderr, "\nAlloc_temp %10d bytes; count = %10d", size, g_allocCountTemp);
55 return HeapAlloc(GetProcessHeap(), 0, size);
58 return malloc(size);
H A D7zCrcOpt.c10 UInt32 MY_FAST_CALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table) argument
13 for (; size > 0 && ((unsigned)(ptrdiff_t)p & 3) != 0; size--, p++)
15 for (; size >= 4; size -= 4, p += 4)
24 for (; size > 0; size--, p++)
29 UInt32 MY_FAST_CALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table) argument
31 return CrcUpdateT4(v, data, size, table);
/external/lzma/C/
H A D7zAlloc.c21 void *SzAlloc(void *p, size_t size) argument
24 if (size == 0)
27 fprintf(stderr, "\nAlloc %10d bytes; count = %10d", size, g_allocCount);
30 return malloc(size);
46 void *SzAllocTemp(void *p, size_t size) argument
49 if (size == 0)
52 fprintf(stderr, "\nAlloc_temp %10d bytes; count = %10d", size, g_allocCountTemp);
55 return HeapAlloc(GetProcessHeap(), 0, size);
58 return malloc(size);
H A D7zCrcOpt.c10 UInt32 MY_FAST_CALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table) argument
13 for (; size > 0 && ((unsigned)(ptrdiff_t)p & 3) != 0; size--, p++)
15 for (; size >= 4; size -= 4, p += 4)
24 for (; size > 0; size--, p++)
29 UInt32 MY_FAST_CALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table) argument
31 return CrcUpdateT4(v, data, size, table);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
H A DVariableSizeIterator.java43 protected final int size; field in class:VariableSizeIterator
47 protected VariableSizeIterator(@Nonnull DexBackedDexFile dexFile, int offset, int size) { argument
49 this.size = size;
52 protected VariableSizeIterator(@Nonnull DexReader reader, int size) { argument
54 this.size = size;
61 * @param index The index of the item being read. This is guaranteed to be less than {@code size}
72 return index < size;
77 if (index >= size) {
[all...]
/external/valgrind/main/memcheck/tests/
H A Dundef_malloc_args.c13 size_t size = def_size; local
14 (void) VALGRIND_MAKE_MEM_UNDEFINED(&size, 1);
15 p = malloc(size);
43 size_t size = def_size;
44 (void) VALGRIND_MAKE_MEM_UNDEFINED(&size, 1);
45 new_p = memalign(nmemb, size);
50 size_t size = def_size;
51 (void) VALGRIND_MAKE_MEM_UNDEFINED(&size, 1);
52 new_p = valloc(size);
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DCachedMetadata.h46 static PassRefPtr<CachedMetadata> create(unsigned dataTypeID, const char* data, size_t size) argument
48 return adoptRef(new CachedMetadata(dataTypeID, data, size));
51 static PassRefPtr<CachedMetadata> deserialize(const char* data, size_t size) argument
53 return adoptRef(new CachedMetadata(data, size));
70 if (m_serializedData.size() < dataStart)
75 size_t size() const function in class:blink::CachedMetadata
77 if (m_serializedData.size() < dataStart)
79 return m_serializedData.size() - dataStart;
86 if (m_serializedData.size() < position + sizeof(unsigned))
97 CachedMetadata(const char* data, size_t size) argument
105 CachedMetadata(unsigned dataTypeID, const char* data, size_t size) argument
[all...]
/external/chromium_org/v8/src/
H A Dregexp-stack.cc36 size_t size = sizeof(thread_local_); local
37 MemCopy(reinterpret_cast<void*>(to), &thread_local_, size); local
39 return to + size;
44 size_t size = sizeof(thread_local_); local
45 MemCopy(&thread_local_, reinterpret_cast<void*>(from), size);
46 return from + size;
66 Address RegExpStack::EnsureCapacity(size_t size) { argument
67 if (size > kMaximumStackSize) return NULL;
68 if (size < kMinimumStackSize) size
[all...]
/external/libcxx/test/containers/associative/map/map.access/
H A Dsize.pass.cpp14 // size_type size() const;
26 assert(m.size() == 0);
28 assert(m.size() == 1);
30 assert(m.size() == 2);
32 assert(m.size() == 3);
34 assert(m.size() == 2);
36 assert(m.size() == 1);
38 assert(m.size() == 0);
44 assert(m.size() == 0);
46 assert(m.size()
[all...]
/external/libcxx/test/containers/associative/multimap/
H A Dsize.pass.cpp14 // size_type size() const;
26 assert(m.size() == 0);
28 assert(m.size() == 1);
30 assert(m.size() == 2);
32 assert(m.size() == 3);
34 assert(m.size() == 2);
36 assert(m.size() == 1);
38 assert(m.size() == 0);
44 assert(m.size() == 0);
46 assert(m.size()
[all...]
/external/libcxx/test/containers/associative/multiset/
H A Dsize.pass.cpp14 // size_type size() const;
26 assert(m.size() == 0);
28 assert(m.size() == 1);
30 assert(m.size() == 2);
32 assert(m.size() == 3);
34 assert(m.size() == 2);
36 assert(m.size() == 1);
38 assert(m.size() == 0);
44 assert(m.size() == 0);
46 assert(m.size()
[all...]
/external/libcxx/test/containers/associative/set/
H A Dsize.pass.cpp14 // size_type size() const;
26 assert(m.size() == 0);
28 assert(m.size() == 1);
30 assert(m.size() == 2);
32 assert(m.size() == 3);
34 assert(m.size() == 2);
36 assert(m.size() == 1);
38 assert(m.size() == 0);
44 assert(m.size() == 0);
46 assert(m.size()
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dtrace-event-read.c45 static int __do_read(int fd, void *buf, int size) argument
47 int rsize = size;
49 while (size) {
50 int ret = read(fd, buf, size);
64 size -= ret;
71 static int do_read(void *data, int size) argument
75 r = __do_read(input_fd, data, size);
77 pr_debug("reading input file (size expected=%d received=%d)",
78 size, r);
88 static void skip(int size) argument
122 int size = 0; local
164 unsigned int size; local
189 unsigned int size; local
214 unsigned long long size; local
263 read_ftrace_file(struct pevent *pevent, unsigned long long size) argument
281 read_event_file(struct pevent *pevent, char *sys, unsigned long long size) argument
302 unsigned long long size; local
320 unsigned long long size; local
354 ssize_t size = -1; local
[all...]
/external/proguard/src/proguard/evaluation/
H A DVariables.java40 protected int size; field in class:Variables
46 public Variables(int size) argument
48 this.values = new Value[size];
49 this.size = size;
59 this(variables.size);
69 public void reset(int size) argument
72 if (size > values.length)
75 values = new Value[size];
83 this.size
162 public int size() method in class:Variables
[all...]
/external/chromium_org/base/memory/
H A Daligned_memory.cc15 void* AlignedAlloc(size_t size, size_t alignment) { argument
16 DCHECK_GT(size, 0U);
21 ptr = _aligned_malloc(size, alignment);
28 ptr = memalign(alignment, size);
30 if (posix_memalign(&ptr, alignment, size))
38 << "size=" << size << ", alignment=" << alignment;
/external/chromium_org/cc/blink/
H A Dweb_external_bitmap_impl.cc28 void WebExternalBitmapImpl::setSize(blink::WebSize size) { argument
29 if (size != size_) {
30 size_t byte_size = size.width * size.height * 4;
34 size_ = size;
38 blink::WebSize WebExternalBitmapImpl::size() { function in class:cc_blink::WebExternalBitmapImpl
/external/chromium_org/chrome/browser/sync_file_system/
H A Dsync_file_metadata.cc13 size(-1) {
18 int64 size,
21 size(size),
29 size == that.size &&
16 SyncFileMetadata( SyncFileType file_type, int64 size, const base::Time& last_modified) argument
/external/chromium_org/net/tools/balsa/
H A Dsimple_buffer.cc30 SimpleBuffer::SimpleBuffer(int size) argument
33 storage_size_(size) {
36 CHECK_GE(size, 0);
37 storage_ = new char[size];
89 // appends up-to-'size' bytes to the simplebuffer.
90 int SimpleBuffer::Write(const char* bytes, int size) { argument
91 bool has_room = ((storage_size_ - write_idx_) >= size);
93 (void)Reserve(size);
95 memcpy(storage_ + write_idx_, bytes, size);
96 SimpleBuffer::AdvanceWritablePtr(size);
123 Read(char* bytes, int size) argument
146 Reserve(int size) argument
157 CHECK_GE(BytesFree(), size); local
[all...]
/external/chromium_org/third_party/libxml/src/
H A Ddbgen.pl3 $size = shift;
5 if ($size eq "")
7 die "usage: dbgen.pl [size]\n";
24 for ($i=0; $i<$size; $i++)

Completed in 3677 milliseconds

1234567891011>>