HomeSort by relevance Sort by last modified time
    Searched refs:byteSize (Results 1 - 25 of 27) 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...]
  /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);
72 void testByteBufferHelper1D(DataType dt, int byteSize) {
75 testByteBufferHelper(dt, byteSize, dimX, 1);
78 void testByteBufferHelper2D(DataType dt, int byteSize) {
82 testByteBufferHelper(dt, byteSize, dimX, dimY);
  /external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/
EDInst.h 68 uint64_t ByteSize;
100 /// @arg byteSize - The size of the consumed instruction, in bytes
105 uint64_t byteSize,
110 /// byteSize - returns the number of bytes consumed by the machine code
112 uint64_t byteSize();
EDInst.cpp 27 uint64_t byteSize,
33 ByteSize(byteSize),
55 uint64_t EDInst::byteSize() {
56 return ByteSize;
EDDisassembler.cpp 245 uint64_t byteSize;
248 S = Disassembler->getInstruction(*inst, byteSize, memoryObject, address,
264 EDInst* sdInst = new EDInst(inst, byteSize, *this, thisInstInfo);
  /hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
HidItem.cpp 86 h.byteSize = 0;
111 h.byteSize = (ssize_t) is.tellg() - h.offset;
119 os << "offset: " << h.offset << ", size: " << h.byteSize
HidItem.h 31 ssize_t byteSize;
  /external/icu/icu4c/source/common/
ucol_data.h 78 uint32_t byteSize;
ucol_swp.cpp 650 header.byteSize=udata_readInt32(ds, inHeader->byteSize);
653 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize)))
664 uprv_memcpy(outBytes, inBytes, header.byteSize);
669 /* read more of the InverseUCATableHeader (the byteSize field was read above) */
687 return headerSize+header.byteSize;
  /external/skia/src/gpu/effects/
GrConvexPolyEffect.cpp 220 size_t byteSize = 3 * cpe.getEdgeCount() * sizeof(SkScalar);
221 if (0 != memcmp(fPrevEdges, cpe.getEdges(), byteSize)) {
223 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);
  /hardware/libhardware/modules/sensors/dynamic_sensor/
HidRawSensor.h 66 size_t byteSize;
HidRawSensor.cpp 125 .byteSize = pReportAccuracy->bitSize / 8,
183 .byteSize = digest.bitSize / 8,
256 .byteSize = quat.bitSize / 8,
356 .byteSize = reportX.bitSize / 8,
    [all...]
  /external/swiftshader/third_party/LLVM/tools/edis/
EDMain.cpp 86 address += inst->byteSize();
97 return ((EDInst*)inst)->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/swiftshader/third_party/LLVM/tools/llvm-mc/
Disassembler.cpp 268 ByteArray.erase (ByteArray.begin(), ByteArray.begin() + inst->byteSize());
  /external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
Encoder.java 547 private Encoder encoderForArrayByTotalSize(int byteSize, int length, int offset) {
550 new DataHeader(DataHeader.HEADER_SIZE + byteSize, length));
  /external/llvm/lib/Target/Hexagon/AsmParser/
HexagonAsmParser.cpp     [all...]
  /prebuilts/go/darwin-x86/src/debug/dwarf/
type.go 25 ByteSize int64 // size of value of this type, in bytes
31 func (c *CommonType) Size() int64 { return c.ByteSize }
157 ByteSize int64
158 BitOffset int64 // within the ByteSize bytes at ByteOffset
195 // The only indication of its native integer type is its ByteSize
308 t.Common().ByteSize = t.Type.Size()
459 switch byteSize, _ := e.Val(AttrByteSize).(int64); byteSize {
542 f.ByteSize, _ = kid.Val(AttrByteSize).(int64)
702 typ.Common().ByteSize =
    [all...]
  /prebuilts/go/linux-x86/src/debug/dwarf/
type.go 25 ByteSize int64 // size of value of this type, in bytes
31 func (c *CommonType) Size() int64 { return c.ByteSize }
157 ByteSize int64
158 BitOffset int64 // within the ByteSize bytes at ByteOffset
195 // The only indication of its native integer type is its ByteSize
308 t.Common().ByteSize = t.Type.Size()
459 switch byteSize, _ := e.Val(AttrByteSize).(int64); byteSize {
542 f.ByteSize, _ = kid.Val(AttrByteSize).(int64)
702 typ.Common().ByteSize =
    [all...]

Completed in 720 milliseconds

1 2