Searched refs:size (Results 151 - 175 of 26517) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/libxml/src/
H A Ddbgenattr.pl3 $size = shift;
5 if ($size eq "")
7 die "usage: dbgen.pl [size]\n";
24 for ($i=0; $i<$size; $i++)
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/
H A Dcompare.h29 * length |size|. Three SNRs are computed. An SNR is computed for
34 OMX_SC32* expected, int size);
36 OMX_SC16* expected, int size);
38 OMX_S32* expected, int size);
40 OMX_S16* expected, int size);
42 OMX_FC32* expected, int size);
44 OMX_F32* expected, int size);
/external/chromium_org/third_party/webrtc/common_audio/
H A Daudio_util.cc17 void RoundToInt16(const float* src, size_t size, int16_t* dest) { argument
18 for (size_t i = 0; i < size; ++i)
22 void ScaleAndRoundToInt16(const float* src, size_t size, int16_t* dest) { argument
23 for (size_t i = 0; i < size; ++i)
27 void ScaleToFloat(const int16_t* src, size_t size, float* dest) { argument
28 for (size_t i = 0; i < size; ++i)
/external/chromium_org/ui/base/l10n/
H A Dl10n_util_win_unittest.cc22 int size = lf.lfHeight; local
23 float rounding = size < 0 ? -0.5f : 0.5f;
25 // Test that font size is properly normalized for DIP. In high-DPI mode, the
27 // and 180% font scaling are supported. Simulate size normalization for a DPI-
29 // to the expected size.
30 lf.lfHeight = static_cast<int>(1.4 * size + rounding);
32 EXPECT_NEAR(size, lf.lfHeight, 1);
34 lf.lfHeight = static_cast<int>(1.8 * size + rounding);
36 EXPECT_NEAR(size, lf.lfHeight, 1);
/external/cmockery/cmockery_0_1_2/src/example/
H A Dallocate_module.c19 extern void* _test_malloc(const size_t size, const char* file, const int line);
20 extern void* _test_calloc(const size_t number_of_elements, const size_t size,
24 #define malloc(size) _test_malloc(size, __FILE__, __LINE__)
25 #define calloc(num, size) _test_calloc(num, size, __FILE__, __LINE__)
/external/compiler-rt/test/lsan/TestCases/
H A Dregister_root_region.cc17 size_t size = getpagesize() * 2; local
19 mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
22 assert(0 == mprotect((char *)p + size / 2, size / 2, PROT_NONE));
24 __lsan_register_root_region(p, size);
28 __lsan_unregister_root_region(p, size);
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dopj_malloc.h50 @param size Bytes to allocate
55 void* opj_malloc(size_t size);
60 #define opj_aligned_malloc(size) opj_malloc(size)
64 void * OPJ_CALLCONV opj_malloc(size_t size);
68 #define opj_malloc(size) ((size_t)(size) >= (size_t)-0x100 ? NULL : malloc(size))
70 #define opj_malloc(size) malloc(size)
142 opj_aligned_malloc(size_t size) argument
[all...]
/external/qemu/android/base/
H A DStringView.cpp20 size_t minSize = std::min(mSize, other.size());
24 if (mSize < other.size()) return -1;
25 if (mSize > other.size()) return +1;
30 if (x.size() != y.size()) return false;
31 return !memcmp(x.str(), y.str(), x.size());
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
H A DFormat.java71 public final int size; field in class:Format
74 private Format(int size) { argument
75 this(size, false);
78 private Format(int size, boolean isPayloadFormat) { argument
79 this.size = size;
/external/valgrind/main/none/tests/
H A Dbug129866.c5 char * touch_malloc (int size) argument
9 result = malloc (size);
10 for (i = 0; i < size; i++)
15 char * touch_realloc (char * ptr, int size) argument
19 result = realloc (ptr, size);
20 for (i = 0; i < size; i++)
/external/chromium_org/third_party/speex/libspeex/
H A Dbuffer.c45 int size; member in struct:SpeexBuffer_
51 EXPORT SpeexBuffer *speex_buffer_init(int size) argument
54 st->data = speex_alloc(size);
55 st->size = size;
73 if (len > st->size)
75 data += len-st->size;
76 len = st->size;
80 if (end1 > st->size)
81 end1 = st->size;
[all...]
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DIntList.java31 /** {@code >= 0;} current size of the list */
32 private int size; field in class:IntList
90 throw new IllegalArgumentException("size < 0");
93 size = 0;
102 for (int i = 0; i < size; i++) {
126 if (size != otherList.size) {
130 for (int i = 0; i < size; i++) {
142 StringBuffer sb = new StringBuffer(size * 5 + 10);
146 for (int i = 0; i < size;
161 public int size() { method in class:IntList
[all...]
/external/speex/libspeex/
H A Dbuffer.c45 int size; member in struct:SpeexBuffer_
51 EXPORT SpeexBuffer *speex_buffer_init(int size) argument
54 st->data = speex_alloc(size);
55 st->size = size;
73 if (len > st->size)
75 data += len-st->size;
76 len = st->size;
80 if (end1 > st->size)
81 end1 = st->size;
[all...]
/external/chromium_org/sdch/open-vcdiff/src/
H A Dvcdecoder1_test.cc26 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
28 delta_file_header_.size(),
35 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
37 delta_file_.size(),
50 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
52 delta_file_.size(),
60 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
62 delta_file_.size() - 1,
66 EXPECT_GE(expected_target_.size(), output_.size());
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
H A Dnouveau_heap.c30 unsigned start, unsigned size)
39 r->size = size;
54 nouveau_heap_alloc(struct nouveau_heap *heap, unsigned size, void *priv, argument
59 if (!heap || !size || !res || *res)
63 if (!heap->in_use && heap->size >= size) {
68 r->start = (heap->start + heap->size) - size;
69 r->size
29 nouveau_heap_init(struct nouveau_heap **heap, unsigned start, unsigned size) argument
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_heap.c30 unsigned start, unsigned size)
39 r->size = size;
54 nouveau_heap_alloc(struct nouveau_heap *heap, unsigned size, void *priv, argument
59 if (!heap || !size || !res || *res)
63 if (!heap->in_use && heap->size >= size) {
68 r->start = (heap->start + heap->size) - size;
69 r->size
29 nouveau_heap_init(struct nouveau_heap **heap, unsigned start, unsigned size) argument
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dvalgrind-low-arm64.c141 transfer_direction dir, int size, Bool *mod)
153 case 0: VG_(transfer) (&arm->guest_X0, buf, dir, size, mod); break;
154 case 1: VG_(transfer) (&arm->guest_X1, buf, dir, size, mod); break;
155 case 2: VG_(transfer) (&arm->guest_X2, buf, dir, size, mod); break;
156 case 3: VG_(transfer) (&arm->guest_X3, buf, dir, size, mod); break;
157 case 4: VG_(transfer) (&arm->guest_X4, buf, dir, size, mod); break;
158 case 5: VG_(transfer) (&arm->guest_X5, buf, dir, size, mod); break;
159 case 6: VG_(transfer) (&arm->guest_X6, buf, dir, size, mod); break;
160 case 7: VG_(transfer) (&arm->guest_X7, buf, dir, size, mod); break;
161 case 8: VG_(transfer) (&arm->guest_X8, buf, dir, size, mo
140 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument
[all...]
H A Dvalgrind-low-s390x.c122 transfer_direction dir, int size, Bool *mod)
135 case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break;
136 case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break;
137 case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break;
138 case 4: VG_(transfer) (&s390x->guest_r2, buf, dir, size, mod); break;
139 case 5: VG_(transfer) (&s390x->guest_r3, buf, dir, size, mod); break;
140 case 6: VG_(transfer) (&s390x->guest_r4, buf, dir, size, mod); break;
141 case 7: VG_(transfer) (&s390x->guest_r5, buf, dir, size, mod); break;
142 case 8: VG_(transfer) (&s390x->guest_r6, buf, dir, size, mod); break;
143 case 9: VG_(transfer) (&s390x->guest_r7, buf, dir, size, mo
121 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Darray_utils.cc51 bool IsArrayValid(const int size, const double* x) { argument
53 for (int i = 0; i < size; ++i) {
62 int FindInvalidValue(const int size, const double* x) { argument
64 return size;
67 for (int i = 0; i < size; ++i) {
73 return size;
76 void InvalidateArray(const int size, double* x) { argument
78 for (int i = 0; i < size; ++i) {
84 void AppendArrayToString(const int size, const double* x, string* result) { argument
85 for (int i = 0; i < size;
98 MapValuesToContiguousRange(const int size, int* array) argument
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dxmalloc.c40 static /*@only@*/ /*@out@*/ void *def_xmalloc(size_t size);
43 (/*@only@*/ /*@out@*/ /*@returned@*/ /*@null@*/ void *oldmem, size_t size)
50 /*@only@*/ /*@out@*/ void * (*yasm_xmalloc) (size_t size) = def_xmalloc;
55 (/*@only@*/ /*@out@*/ /*@returned@*/ /*@null@*/ void *oldmem, size_t size)
63 def_xmalloc(size_t size) argument
67 if (size == 0)
68 size = 1;
69 newmem = malloc(size);
92 def_xrealloc(void *oldmem, size_t size) argument
96 if (size
[all...]
/external/compiler-rt/include/sanitizer/
H A Dasan_interface.h22 // Marks memory region [addr, addr+size) as unaddressable.
26 // the whole region - it may poison only subregion of [addr, addr+size) due
30 void __asan_poison_memory_region(void const volatile *addr, size_t size);
31 // Marks memory region [addr, addr+size) as addressable.
34 // This function may unpoison a superregion of [addr, addr+size) due to
38 void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
42 #define ASAN_POISON_MEMORY_REGION(addr, size) \
43 __asan_poison_memory_region((addr), (size))
44 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \
45 __asan_unpoison_memory_region((addr), (size))
[all...]
/external/chromium_org/net/base/
H A Dupload_bytes_element_reader_unittest.cc21 reader_.reset(new UploadBytesElementReader(&bytes_[0], bytes_.size()));
23 EXPECT_EQ(bytes_.size(), reader_->GetContentLength());
24 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining());
33 const size_t kHalfSize = bytes_.size() / 2;
37 static_cast<int>(buf.size()),
38 reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback()));
39 EXPECT_EQ(bytes_.size() - buf.size(), reader_->BytesRemaining());
45 std::vector<char> buf(bytes_.size());
48 static_cast<int>(buf.size()),
[all...]
/external/eigen/bench/btl/actions/
H A Daction_matrix_matrix_product_bis.hh42 static double nb_op_base(int size){ argument
43 return 2.0*size*size*size;
46 static double calculate( int nb_calc, int size ) {
54 init_matrix<pseudo_random>(A_stl,size);
55 init_matrix<pseudo_random>(B_stl,size);
56 init_matrix<null_function>(X_stl,size);
88 Interface::copy_matrix(A_ref,A,size);
89 Interface::copy_matrix(B_ref,B,size);
[all...]
/external/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cc18 size_t size = Ident(sizeof(T) * length);
19 T *array = Ident((T*)malloc(size));
24 MEMSET(array, element, size);
25 MEMSET(array, element, size - 1);
37 EXPECT_DEATH(MEMSET(array, 0, size + 1),
41 EXPECT_DEATH(MEMSET(array + 1, element, size + sizeof(T)),
48 EXPECT_DEATH(MEMSET((char*)array - 1, element, size),
54 EXPECT_DEATH(memset(array - 5, element, size + 5 * sizeof(T)),
62 EXPECT_DEATH(MEMSET((char*)array - 2, element, size + 4),
75 // Try to allocate two arrays of 'size' byte
78 AllocateTwoAdjacentArrays(char **x1, char **x2, size_t size) argument
186 transfer(void *to, const void *from, size_t size) argument
198 transfer(void *to, const void *from, size_t size) argument
210 size_t size = Ident(100); local
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DANTLRReaderStream.java48 public ANTLRReaderStream(Reader r, int size) throws IOException { argument
49 this(r, size, READ_BUFFER_SIZE);
52 public ANTLRReaderStream(Reader r, int size, int readChunkSize) throws IOException { argument
53 load(r, size, readChunkSize);
56 public void load(Reader r, int size, int readChunkSize) argument
62 if ( size<=0 ) {
63 size = INITIAL_BUFFER_SIZE;
68 // System.out.println("load "+size+" in chunks of "+readChunkSize);
70 // alloc initial buffer size.
71 data = new char[size];
[all...]

Completed in 5661 milliseconds

1234567891011>>