Home
last modified time | relevance | path

Searched refs:int32_t (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_writer.h41 int32_t setup(JNIEnv *env, jobject out, int32_t width, int32_t height,
42 Jpeg_Config::Format format, int32_t quality);
51 int32_t write(int8_t* bytes, int32_t length);
63 int32_t reset();
65 static const int32_t DEFAULT_X_DENSITY;
66 static const int32_t DEFAULT_Y_DENSITY;
67 static const int32_t DEFAULT_DENSITY_UNIT;
69 void formatPixels(uint8_t* buf, int32_t len);
75 int32_t mScanlineBuflen;
76 int32_t mScanlineBytesRemaining;
Djpeg_reader.h45 int32_t setup(JNIEnv *env, jobject in, int32_t* width, int32_t* height,
58 int32_t read(int8_t * bytes, int32_t offset, int32_t count);
70 int32_t reset();
73 void formatPixels(uint8_t* buf, int32_t len);
79 int32_t mScanlineBuflen;
80 int32_t mScanlineUnformattedBuflen;
81 int32_t mScanlineBytesRemaining;
Djpeg_writer.cpp40 const int32_t JpegWriter::DEFAULT_X_DENSITY = 300;
41 const int32_t JpegWriter::DEFAULT_Y_DENSITY = 300;
42 const int32_t JpegWriter::DEFAULT_DENSITY_UNIT = 1;
44 int32_t JpegWriter::setup(JNIEnv *env, jobject out, int32_t width, int32_t height, in setup()
45 Jpeg_Config::Format format, int32_t quality) { in setup()
67 int32_t flags = MakeDst(&mInfo, env, out); in setup()
116 int32_t JpegWriter::write(int8_t* bytes, int32_t length) { in write()
131 int32_t total_length = length; in write()
166 void JpegWriter::formatPixels(uint8_t* buf, int32_t len) { in formatPixels()
206 int32_t JpegWriter::reset() { in reset()
Djpegstream.cpp62 int32_t q = static_cast<int32_t>(quality); in OutputStream_setup()
69 int32_t errorFlag = w_ptr->setup(env, out, w, h, fmt, q); in OutputStream_setup()
122 int32_t w = 0, h = 0; in InputStream_setup()
124 int32_t errorFlag = r_ptr->setup(env, in, &w, &h, fmt); in InputStream_setup()
233 int32_t in_len = static_cast<int32_t>(inCount); in OutputStream_writeInputBytes()
234 int32_t off = static_cast<int32_t>(offset); in OutputStream_writeInputBytes()
236 int32_t written = 0; in OutputStream_writeInputBytes()
258 int32_t in_len = static_cast<int32_t>(inCount); in InputStream_readDecodedBytes()
259 int32_t off = static_cast<int32_t>(offset); in InputStream_readDecodedBytes()
260 int32_t read = 0; in InputStream_readDecodedBytes()
[all …]
Djpeg_reader.cpp41 int32_t JpegReader::setup(JNIEnv *env, jobject in, int32_t* width, int32_t* height, in setup()
61 int32_t flags = MakeSrc(&mInfo, env, in); in setup()
117 int32_t JpegReader::read(int8_t* bytes, int32_t offset, int32_t count) { in read()
131 int32_t total_length = count; in read()
179 void JpegReader::formatPixels(uint8_t* buf, int32_t len) { in formatPixels()
239 int32_t JpegReader::reset() { in reset()
Dinputstream_wrapper.cpp23 int32_t InputStreamWrapper::read(int32_t length, int32_t offset) { in read()
27 int32_t bytesRead = 0; in read()
33 bytesRead = static_cast<int32_t>(mEnv->CallIntMethod(mStream, sReadID, in read()
59 int32_t InputStreamWrapper::forceReadEOI() { in forceReadEOI()
Dinputstream_wrapper.h27 virtual int32_t read(int32_t length, int32_t offset);
29 virtual int32_t forceReadEOI();
Dstream_wrapper.h31 virtual int32_t getBufferSize();
34 const static int32_t DEFAULT_BUFFER_SIZE;
35 const static int32_t END_OF_STREAM;
41 int32_t mByteArrayLen;
Djpeg_hook.cpp32 int32_t len = dst->outStream->getBufferSize(); in Mgr_empty_output_buffer_fcn()
43 int32_t remaining = dst->outStream->getBufferSize() - dst->mgr.free_in_buffer; in Mgr_term_destination_fcn()
49 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream) { in MakeDst()
91 int32_t bytesRead = src->inStream->read(src->inStream->getBufferSize(), 0); in Mgr_fill_input_buffer_fcn()
156 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream){ in MakeSrc()
Doutputstream_wrapper.h27 virtual int32_t write(int32_t length, int32_t offset);
Doutputstream_wrapper.cpp22 int32_t OutputStreamWrapper::write(int32_t length, int32_t offset) { in write()
Dstream_wrapper.cpp19 const int32_t StreamWrapper::END_OF_STREAM = -1;
20 const int32_t StreamWrapper::DEFAULT_BUFFER_SIZE = 1 << 16; // 64Kb
91 int32_t StreamWrapper::getBufferSize() { in getBufferSize()
Djpeg_hook.h41 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream);
64 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream);
/packages/services/Car/evs/app/
DEvsStateControl.cpp37 static_cast<int32_t>(prop) in getPropType()
38 & static_cast<int32_t>(VehiclePropertyType::MASK)); in getPropType()
58 mGearValue.prop = static_cast<int32_t>(VehicleProperty::GEAR_SELECTION); in EvsStateControl()
59 mTurnSignalValue.prop = static_cast<int32_t>(VehicleProperty::TURN_SIGNAL_STATE); in EvsStateControl()
214 static int32_t sDummyGear = int32_t(VehicleGear::GEAR_REVERSE); in selectStateForCurrentConditions()
215 static int32_t sDummySignal = int32_t(VehicleTurnSignal::NONE); in selectStateForCurrentConditions()
237 sDummyGear = int32_t(VehicleGear::GEAR_DRIVE); in selectStateForCurrentConditions()
248 if (mGearValue.value.int32Values[0] == int32_t(VehicleGear::GEAR_REVERSE)) { in selectStateForCurrentConditions()
250 } else if (mTurnSignalValue.value.int32Values[0] == int32_t(VehicleTurnSignal::RIGHT)) { in selectStateForCurrentConditions()
252 } else if (mTurnSignalValue.value.int32Values[0] == int32_t(VehicleTurnSignal::LEFT)) { in selectStateForCurrentConditions()
[all …]
DEvsVehicleListener.h47 int32_t /* propId */, in onPropertySetError() argument
48 int32_t /* areaId */) override { in onPropertySetError()
/packages/apps/Bluetooth/jni/
Dbluetooth_socket_manager.h38 const BluetoothDevice& device, int32_t type,
39 const std::unique_ptr<::android::os::ParcelUuid>& uuid, int32_t port,
40 int32_t flag,
44 int32_t type, const std::unique_ptr<::android::String16>& serviceName,
45 const std::unique_ptr<::android::os::ParcelUuid>& uuid, int32_t port,
46 int32_t flag,
DIUserManager.cc31 virtual int32_t getCredentialOwnerProfile(int32_t user_id) { in getCredentialOwnerProfile()
42 int32_t exception = reply.readExceptionCode(); in getCredentialOwnerProfile()
51 virtual int32_t getProfileParentId(int32_t user_handle) { in getProfileParentId()
61 int32_t exception = reply.readExceptionCode(); in getProfileParentId()
Dbluetooth_socket_manager.cc32 const BluetoothDevice& device, int32_t type, in connectSocket()
33 const std::unique_ptr<ParcelUuid>& uuid, int32_t port, int32_t flag, in connectSocket()
65 int32_t type, const std::unique_ptr<::android::String16>& serviceName, in createSocketChannel()
66 const std::unique_ptr<ParcelUuid>& uuid, int32_t port, int32_t flag, in createSocketChannel()
DIUserManager.h39 virtual int32_t getCredentialOwnerProfile(int32_t user_id) = 0;
40 virtual int32_t getProfileParentId(int32_t user_handle) = 0;
Dpermission_helpers.cc38 int32_t pid; in checkPermission()
39 int32_t uid; in checkPermission()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
Dconvolve3x3.rs21 int32_t gWidth;
22 int32_t gHeight;
29 uint32_t x1 = min((int32_t)x+1, gWidth-1);
30 uint32_t x2 = max((int32_t)x-1, 0);
31 uint32_t y1 = min((int32_t)y+1, gHeight-1);
32 uint32_t y2 = max((int32_t)y-1, 0);
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/msinttypes/
Dstdint.h123 typedef signed int int32_t; typedef
130 typedef signed __int32 int32_t; typedef
142 typedef int32_t int_least32_t;
152 typedef int32_t int_fast32_t;
182 #define INT32_MIN ((int32_t)_I32_MIN)
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ditoatest.cpp37 struct Traits<int32_t> {
40 static int32_t Negate(int32_t x) { return -x; }; in Negate()
107 static void i32toa_naive(int32_t value, char* buffer) { in i32toa_naive()
/packages/services/Car/evs/manager/
DVirtualCamera.h65 Return<int32_t> getExtendedInfo(uint32_t opaqueIdentifier) override;
66 Return<EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override;
/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.h50 Return <int32_t> getExtendedInfo(uint32_t opaqueIdentifier) override;
51 Return <EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override;

12