/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
FreeBox.java | 47 public FreeBox(int size) { 48 this.data = ByteBuffer.allocate(size); 83 long size = 8; local 85 size += replacer.getSize(); 87 size += data.limit(); 88 return size;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
DummyMap.java | 30 public int size() { method in class:DummyMap 31 return keys.size();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
ReplaceSampleTrack.java | 99 public int size() { method in class:ReplaceSampleTrack.ReplaceASingleEntryList 100 return ReplaceSampleTrack.this.origTrack.getSamples().size();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26245/ |
FontTableBox.java | 25 int size = 2; local 27 size += fontRecord.getSize(); 29 return size; 45 IsoTypeWriter.writeUInt16(byteBuffer, entries.size());
|
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/ |
AppNanolets.java | 98 int size = text.getBytes().length; local 99 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), inp, size);
|
/external/nanopb-c/tests/encode_unittests/ |
encode_unittests.c | 172 struct { size_t size; uint8_t bytes[5]; } value = {5, {'x', 'y', 'z', 'z', 'y'}}; member in struct:__anon19899 176 value.size = 0; 231 COMMENT("Test array size limit in pb_encode") 270 msg.data.size = 17; /* More than maximum */ 287 size_t size; local 290 TEST(pb_get_encoded_size(&size, IntegerContainer_fields, &msg) && 291 size == 9);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RetryableSink.java | 48 if (content.size() < limit) { 50 "content-length promised " + limit + " bytes, but received " + content.size()); 56 checkOffsetAndCount(source.size(), 0, byteCount); 57 if (limit != -1 && content.size() > limit - byteCount) { 71 return content.size(); 77 content.copyTo(buffer, 0, content.size()); 78 socketOut.write(buffer, buffer.size());
|
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/internal/io/ |
InMemoryFileSystem.java | 57 @Override public long size(File file) { method in class:InMemoryFileSystem 59 return buffer != null ? buffer.size() : 0L;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
MultipartBuilderTest.java | 50 assertEquals(buffer.size(), requestBody.contentLength()); 81 assertEquals(buffer.size(), requestBody.contentLength()); 138 assertEquals(buffer.size(), requestBody.contentLength());
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
FaultyFileSystem.java | 65 @Override public long size(File file) { method in class:FaultyFileSystem 66 return delegate.size(file);
|
/external/opencv/otherlibs/highgui/ |
image.cpp | 117 CvSize size = cvGetSize( img ); local 122 if( Create( size.width, size.height,
|
/external/opencv3/3rdparty/libpng/ |
pngmem.c | 43 png_size_t size; local 47 size = png_sizeof(png_info); 50 size = png_sizeof(png_struct); 61 struct_ptr = (*(malloc_fn))(&dummy_struct, (png_alloc_size_t)size); 66 struct_ptr = (png_voidp)farmalloc(size); 68 png_memset(struct_ptr, 0, size); 104 /* Allocate memory. For reasonable files, size should never exceed 118 * Note that we can't use png_size_t for the "size" declaration, 124 png_calloc,(png_structp png_ptr, png_alloc_size_t size),PNG_ALLOCATED) 128 ret = (png_malloc(png_ptr, size)); 392 png_size_t size; local [all...] |
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfMisc.cpp | 63 int size; local 69 size = Xdr::size <unsigned int> (); 74 size = Xdr::size <half> (); 79 size = Xdr::size <float> (); 87 return size; 137 offsetInLineBuffer.resize (bytesPerLine.size()); 141 for (int i = 0; i < bytesPerLine.size(); ++i [all...] |
ImfTiledMisc.cpp | 63 int size = a / b; local 65 if (rmode == ROUND_UP && size * b < a) 66 size += 1; 68 return std::max (size, 1); 263 int size, 268 numTiles[i] = (levelSize (min, max, i, rmode) + size - 1) / size;
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathBox.h | 110 T size () const; 259 Box<T>::size() const function in class:Imath::Box 322 T s = size(); 381 Vec2<T> size() const; 517 Box<Vec2<T> >::size() const function in class:Imath::Box 574 Vec2<T> s = size(); 623 Vec3<T> size() const; 774 Box<Vec3<T> >::size() const function in class:Imath::Box 834 Vec3<T> s = size();
|
/external/opencv3/3rdparty/zlib/ |
gzwrite.c | 14 state->size to non-zero. Return -1 on failure or 0 on success. */ 53 state->size = state->want; 57 strm->avail_out = state->size; 79 if (state->size == 0 && gz_init(state) == -1) 107 strm->avail_out = state->size; 148 n = GT_OFF(state->size) || (z_off64_t)state->size > len ? 149 (unsigned)len : state->size; 196 if (state->size == 0 && gz_init(state) == -1) 207 if (len < state->size) { 312 int size, len; local 393 int size, len; local [all...] |
/external/opencv3/modules/core/include/opencv2/core/ |
ippasync.hpp | 97 This function allocates and initializes new matrix (if needed) that has the same size and type as 134 This function allocates and initializes the Mat that has the same size and type as input matrix. 150 This function allocates and initializes the hppiMatrix that has the same size and type as input 178 hpp32u pitch, size; local 179 hppQueryMatrixAllocParams(accel, src.cols*cn, src.rows, htype, &pitch, &size); 180 if (pitch!=0 && size!=0) 183 return hppiCreateSharedMatrix(htype, src.cols*cn, src.rows, src.data, pitch, size);
|
/external/opencv3/modules/core/misc/java/src/java/ |
core+Rect.java | 26 public Rect(Point p, Size s) { 60 public Size size() { method in class:Rect 61 return new Size(width, height);
|
core+RotatedRect.java | 7 public Size size; field in class:RotatedRect 12 this.size = new Size(); 16 public RotatedRect(Point c, Size s, double a) { 18 this.size = s.clone(); 31 size.width = vals.length > 2 ? (double) vals[2] : 0; 32 size.height = vals.length > 3 ? (double) vals[3] : 0; 37 size.width = 0; 38 size.height = 0 [all...] |
/external/opencv3/modules/core/misc/java/test/ |
KeyPointTest.java | 14 private float size; field in class:KeyPointTest 25 size = 3.0f; 38 keyPoint = new KeyPoint(x, y, size); 43 keyPoint = new KeyPoint(x, y, size, 10.0f); 48 keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f); 53 keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1); 58 keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1, 1); 63 keyPoint = new KeyPoint(x, y, size, angle, response, octave, classId); 67 String expected = "KeyPoint [pt={1.0, 2.0}, size=3.0, angle=30.0, response=2.0, octave=1, class_id=1]";
|
/external/opencv3/modules/core/test/ |
test_ippasync.cpp | 37 Size matrix_Size = randomSize(2, 100); 107 Size matrix_Size = randomSize(2, 100); 108 hpp32u pitch, size; local 111 sts = hppQueryMatrixAllocParams(accel, (hpp32u)(matrix_Size.width*cn), (hpp32u)matrix_Size.height, HPP_DATA_TYPE_8U, &pitch, &size); 113 if (pitch!=0 && size!=0) 115 uchar *pData = (uchar*)_aligned_malloc(size, 4096);
|
/external/opencv3/modules/cudaarithm/perf/ |
perf_element_operations.cpp | 58 const cv::Size size = GET_PARAM(0); local 61 cv::Mat src1(size, depth); 64 cv::Mat src2(size, depth); 94 const cv::Size size = GET_PARAM(0); local 97 cv::Mat src(size, depth); 129 const cv::Size size = GET_PARAM(0); local 132 cv::Mat src1(size, depth) 165 const cv::Size size = GET_PARAM(0); local 200 const cv::Size size = GET_PARAM(0); local 236 const cv::Size size = GET_PARAM(0); local 271 const cv::Size size = GET_PARAM(0); local 307 const cv::Size size = GET_PARAM(0); local 342 const cv::Size size = GET_PARAM(0); local 377 const cv::Size size = GET_PARAM(0); local 413 const cv::Size size = GET_PARAM(0); local 448 const cv::Size size = GET_PARAM(0); local 476 const cv::Size size = GET_PARAM(0); local 504 const cv::Size size = GET_PARAM(0); local 536 const cv::Size size = GET_PARAM(0); local 568 const cv::Size size = GET_PARAM(0); local 603 const cv::Size size = GET_PARAM(0); local 641 const cv::Size size = GET_PARAM(0); local 679 const cv::Size size = GET_PARAM(0); local 715 const cv::Size size = GET_PARAM(0); local 747 const cv::Size size = GET_PARAM(0); local 784 const cv::Size size = GET_PARAM(0); local 823 const cv::Size size = GET_PARAM(0); local 860 const cv::Size size = GET_PARAM(0); local 899 const cv::Size size = GET_PARAM(0); local 936 const cv::Size size = GET_PARAM(0); local 976 const cv::Size size = GET_PARAM(0); local 1010 const cv::Size size = GET_PARAM(0); local 1043 const cv::Size size = GET_PARAM(0); local 1079 const cv::Size size = GET_PARAM(0); local 1114 const cv::Size size = GET_PARAM(0); local 1150 const cv::Size size = GET_PARAM(0); local 1189 const cv::Size size = GET_PARAM(0); local 1226 const cv::Size size = GetParam(); local 1259 const cv::Size size = GetParam(); local 1285 const cv::Size size = GetParam(); local 1319 const cv::Size size = GetParam(); local 1352 const cv::Size size = GET_PARAM(0); local 1388 const cv::Size size = GET_PARAM(0); local 1428 const cv::Size size = GET_PARAM(0); local 1473 const cv::Size size = GET_PARAM(0); local [all...] |
/external/opencv3/modules/cudaarithm/test/ |
test_core.cpp | 52 PARAM_TEST_CASE(Merge, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, UseRoi) 55 cv::Size size; local 63 size = GET_PARAM(1); 77 src.push_back(cv::Mat(size, depth, cv::Scalar::all(i))); 117 PARAM_TEST_CASE(Split, cv::cuda::DeviceInfo, cv::Size, MatDepth, Channels, UseRoi) 120 cv::Size size; local 130 size = GET_PARAM(1); 143 cv::Mat src = randomMat(size, type) 187 cv::Size size; local 252 cv::Size size; local 306 cv::Size size; local 370 cv::Size size; local [all...] |
test_gpumat.cpp | 55 PARAM_TEST_CASE(GpuMat_SetTo, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) 58 cv::Size size; local 65 size = GET_PARAM(1); 77 cv::cuda::GpuMat mat = createMat(size, type, useRoi); 80 EXPECT_MAT_NEAR(cv::Mat::zeros(size, type), mat, 0.0); 91 cv::cuda::GpuMat mat = createMat(size, type, useRoi); 101 cv::cuda::GpuMat mat = createMat(size, type, useRoi); 104 EXPECT_MAT_NEAR(cv::Mat(size, type, val), mat, 0.0); 116 cv::cuda::GpuMat mat = createMat(size, type, useRoi) 174 cv::Size size; local 244 cv::Size size; local [all...] |
/external/opencv3/modules/cudaimgproc/test/ |
test_blend.cpp | 57 result_gold.create(img1.size(), img1.type()); 79 PARAM_TEST_CASE(Blend, cv::cuda::DeviceInfo, cv::Size, MatType, UseRoi) 82 cv::Size size; local 89 size = GET_PARAM(1); 101 cv::Mat img1 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); 102 cv::Mat img2 = randomMat(size, type, 0.0, depth == CV_8U ? 255.0 : 1.0); 103 cv::Mat weights1 = randomMat(size, CV_32F, 0, 1); 104 cv::Mat weights2 = randomMat(size, CV_32F, 0, 1);
|