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

1 2

  /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/qemu/android/base/containers/
PodVector.cpp 30 initFrom(other.begin(), other.byteSize());
34 initFrom(other.begin(), other.byteSize());
41 ::memset(mBegin, 0xee, byteSize());
64 resize(other.byteSize(), 1U);
65 ::memmove(begin(), other.begin(), byteSize());
113 size_t oldByteSize = byteSize();
144 byteSize() - pos - itemSize);
PodVector.h 52 size_t byteSize() const { return mEnd - mBegin; }
77 return byteSize() / itemSize;
  /sdk/emulator/opengl/shared/emugl/common/
pod_vector.cpp 31 initFrom(other.begin(), other.byteSize());
35 initFrom(other.begin(), other.byteSize());
42 ::memset(mBegin, 0xee, byteSize());
63 resize(other.byteSize(), 1U);
64 ::memmove(begin(), other.begin(), byteSize());
101 size_t oldByteSize = byteSize();
125 byteSize() - pos - itemSize);
pod_vector.h 66 size_t byteSize() const { return mEnd - mBegin; }
86 return byteSize() / itemSize;
  /external/chromium_org/third_party/icu/source/i18n/
ucol_bld.h 43 uint32_t byteSize; uint32_t start; uint32_t limit;
  /external/chromium_org/third_party/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);
  /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);
  /external/chromium_org/third_party/icu/source/common/
ucol_data.h 76 uint32_t byteSize;
ucol_swp.cpp 427 header.byteSize=udata_readInt32(ds, inHeader->byteSize);
430 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize)))
441 uprv_memcpy(outBytes, inBytes, header.byteSize);
446 /* read more of the InverseUCATableHeader (the byteSize field was read above) */
464 return headerSize+header.byteSize;
  /external/icu/icu4c/source/common/
ucol_data.h 76 uint32_t byteSize;
ucol_swp.cpp 649 header.byteSize=udata_readInt32(ds, inHeader->byteSize);
652 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize)))
663 uprv_memcpy(outBytes, inBytes, header.byteSize);
668 /* read more of the InverseUCATableHeader (the byteSize field was read above) */
686 return headerSize+header.byteSize;
  /external/lldb/test/python_api/process/
TestProcessAPI.py 243 byteSize = val.GetByteSize()
244 bytes = int_to_bytearray(256, byteSize)
263 if not error.Success() or result != byteSize:
280 content = process.ReadMemory(location, byteSize, error)
291 new_value = bytearray_to_int(new_bytes, 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/chromium_org/third_party/skia/src/gpu/effects/
GrConvexPolyEffect.cpp 254 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar);
255 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) {
257 memcpy(fPrevEdges, cpe.getEdges(), byteSize);
  /external/skia/src/gpu/effects/
GrConvexPolyEffect.cpp 249 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar);
250 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) {
252 memcpy(fPrevEdges, cpe.getEdges(), byteSize);
  /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/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
Encoder.java 478 private Encoder encoderForArrayByTotalSize(int byteSize, int length, int offset) {
481 new DataHeader(DataHeader.HEADER_SIZE + byteSize, length));
  /external/chromium_org/third_party/webrtc/modules/media_file/source/
media_file_utility.cc     [all...]

Completed in 919 milliseconds

1 2