HomeSort by relevance Sort by last modified time
    Searched refs:byteSize (Results 1 - 16 of 16) sorted by null

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
OpenSSLDigest.java 31 private final int byteSize;
33 public OpenSSLDigest(String algorithm, int byteSize) {
36 this.byteSize = byteSize;
51 return byteSize;
  /frameworks/opt/bitmap/src/com/android/bitmap/util/
Exif.java 35 * @param byteSize Recommended parameter declaring the length of the input stream. If you
39 public static int getOrientation(final InputStream inputStream, final long byteSize) {
59 Note: If you do not pass in byteSize parameter, a single large allocation will occur.
62 has(jpeg, byteSize, offset + length - 1)
76 if (has(jpeg, byteSize, 1)) {
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
108 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) {
203 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) {
204 if (byteSize >= 0) {
205 return index < byteSize;
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
Exif.java 30 * @param byteSize Recommended parameter declaring the length of the input stream. If you
34 public static int getOrientation(final InputStream inputStream, final long byteSize) {
54 Note: If you do not pass in byteSize parameter, a single large allocation will occur.
57 has(jpeg, byteSize, offset + length - 1)
71 if (has(jpeg, byteSize, 1)) {
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) {
198 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) {
199 if (byteSize >= 0) {
200 return index < byteSize;
    [all...]
  /external/skia/src/animator/
SkMemberInfo.cpp 25 size_t byteSize;
28 byteSize = sizeof(SkColor);
49 byteSize = sizeof(int);
55 byteSize = sizeof(void*);
58 byteSize = sizeof(SkMSec);
61 byteSize = sizeof(SkPoint);
64 byteSize = sizeof(Sk3D_Point);
67 byteSize = sizeof(int32_t);
70 byteSize = sizeof(SkScalar);
74 byteSize = sizeof(SkString); // assume we'll copy by reference, not valu
    [all...]
SkDisplayable.cpp 107 size_t byteSize = elementSize * arrayCount;
108 memcpy(copyArray->begin(), array->begin(), byteSize);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationByteBufferTest.java 48 void testByteBufferHelper(DataType dt, int byteSize, int dimX, int dimY) {
53 byte[] data = new byte[dimX * dimY * vecWidth * byteSize];
64 byte byteInData = data[(posY * dimX + posX) * vecWidth * byteSize];
65 byte byteInBuffer = bb.get(posY * stride + posX * vecWidth * byteSize);
71 void testByteBufferHelper1D(DataType dt, int byteSize) {
74 testByteBufferHelper(dt, byteSize, dimX, 1);
77 void testByteBufferHelper2D(DataType dt, int byteSize) {
81 testByteBufferHelper(dt, byteSize, dimX, dimY);
  /external/icu/icu4c/source/common/
ucol_data.h 76 uint32_t byteSize;
ucol_swp.cpp 648 header.byteSize=udata_readInt32(ds, inHeader->byteSize);
651 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize)))
662 uprv_memcpy(outBytes, inBytes, header.byteSize);
667 /* read more of the InverseUCATableHeader (the byteSize field was read above) */
685 return headerSize+header.byteSize;
  /external/skia/src/gpu/effects/
GrConvexPolyEffect.cpp 222 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar);
223 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) {
225 memcpy(fPrevEdges, cpe.getEdges(), byteSize);
  /frameworks/opt/bitmap/src/com/android/bitmap/
DecodeTask.java 152 Trace.beginSection("get bytesize");
153 final long byteSize;
155 byteSize = fd.getStatSize();
157 byteSize = -1;
172 orientation = Exif.getOrientation(in, byteSize);
  /external/webrtc/webrtc/modules/media_file/
media_file_utility.cc 1011 size_t byteSize = 0;
1014 byteSize = 50;
1018 byteSize = 38;
1020 if(bufferSize < byteSize)
1029 bytesRead = in.Read(outData, byteSize);
1030 if(bytesRead != static_cast<int>(byteSize))
1035 bytesRead = in.Read(outData, byteSize);
1036 if(bytesRead != static_cast<int>(byteSize))
    [all...]
  /external/svox/pico/lib/
picoos.c 435 void *picoos_allocProtMem(picoos_MemoryManager mm, picoos_objsize_t byteSize)
438 return picopal_mpr_alloc(byteSize);
440 return picoos_allocate(mm, byteSize);
508 picoos_objsize_t byteSize)
515 if (byteSize < this->minContSize) {
516 byteSize = this->minContSize;
518 byteSize = ((byteSize + PICOOS_ALIGN_SIZE - 1) / PICOOS_ALIGN_SIZE)
521 cellSize = byteSize + this->usedCellHdrSize;
    [all...]
picoos.h 164 void * picoos_allocate(picoos_MemoryManager this, picoos_objsize_t byteSize);
174 void *picoos_allocProtMem(picoos_MemoryManager mm, picoos_objsize_t byteSize);
picopr.c 357 static void pr_ALLOCATE (picodata_ProcessingUnit this, pr_MemTypes mType, void * * adr, unsigned int byteSize)
358 /* allocates 'byteSize' bytes in the memery partition given by 'mType' */
364 if ((pr->workMemTop + byteSize) < PR_WORK_MEM_SIZE) {
366 byteSize = ((byteSize + PICOOS_ALIGN_SIZE - 1) / PICOOS_ALIGN_SIZE) * PICOOS_ALIGN_SIZE;
367 pr->workMemTop += byteSize;
369 PICODBG_INFO(("pr_WorkMem: +%u, tot:%i of %i", byteSize, pr->workMemTop, PR_WORK_MEM_SIZE));
387 (*adr) = picoos_allocate(pr->dynMemMM, byteSize);
    [all...]
  /external/llvm/lib/Target/Hexagon/AsmParser/
HexagonAsmParser.cpp     [all...]
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp 271 size_t byteSize() const {
396 data += entries.byteSize() / sizeof(uint16_t);
397 size -= entries.byteSize();
    [all...]

Completed in 938 milliseconds