Home
last modified time | relevance | path

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

123

/packages/modules/DnsResolver/tests/dns_metrics_listener/
Dbase_metrics_listener.cpp24 int32_t /*netId*/, int32_t /*eventType*/, int32_t /*returnCode*/, int32_t /*latencyMs*/, in onDnsEvent() argument
26 int32_t /*ipAddressesCount*/, int32_t /*uid*/) { in onDnsEvent()
32 int32_t /*netId*/, const std::string& /*ipAddress*/, const std::string& /*hostname*/, in onPrivateDnsValidationEvent() argument
38 ::ndk::ScopedAStatus BaseMetricsListener::onConnectEvent(int32_t /*netId*/, int32_t /*error*/, in onConnectEvent() argument
39 int32_t /*latencyMs*/, in onConnectEvent()
41 int32_t /*port*/, int32_t /*uid*/) { in onConnectEvent()
47 const std::string& /*prefix*/, int32_t /*uid*/, int32_t /*ethertype*/, in onWakeupEvent() argument
48 int32_t /*ipNextHeader*/, const std::vector<uint8_t>& /*dstHw*/, in onWakeupEvent()
49 const std::string& /*srcIp*/, const std::string& /*dstIp*/, int32_t /*srcPort*/, in onWakeupEvent()
50 int32_t /*dstPort*/, int64_t /*timestampNs*/) { in onWakeupEvent()
[all …]
Dbase_metrics_listener.h33 virtual ::ndk::ScopedAStatus onDnsEvent(int32_t /*netId*/, int32_t /*eventType*/,
34 int32_t /*returnCode*/, int32_t /*latencyMs*/,
37 int32_t /*ipAddressesCount*/, int32_t /*uid*/) override;
38 virtual ::ndk::ScopedAStatus onPrivateDnsValidationEvent(int32_t /*netId*/,
42 virtual ::ndk::ScopedAStatus onConnectEvent(int32_t /*netId*/, int32_t /*error*/,
43 int32_t /*latencyMs*/,
44 const std::string& /*ipAddr*/, int32_t /*port*/,
45 int32_t /*uid*/) override;
46 virtual ::ndk::ScopedAStatus onWakeupEvent(const std::string& /*prefix*/, int32_t /*uid*/,
47 int32_t /*ethertype*/, int32_t /*ipNextHeader*/,
[all …]
Ddns_metrics_listener.h43 int32_t netId;
44 int32_t eventType;
45 int32_t returnCode;
48 int32_t ipAddressesCount;
57 DnsMetricsListener(int32_t netId) : mNetId(netId){}; in DnsMetricsListener()
60 ::ndk::ScopedAStatus onNat64PrefixEvent(int32_t netId, bool added,
62 int32_t /*prefixLength*/) override;
64 ::ndk::ScopedAStatus onPrivateDnsValidationEvent(int32_t netId, const std::string& ipAddress,
68 ::ndk::ScopedAStatus onDnsEvent(int32_t netId, int32_t eventType, int32_t returnCode,
69 int32_t /*latencyMs*/, const std::string& hostname,
[all …]
Ddns_metrics_listener.cpp46 ::ndk::ScopedAStatus DnsMetricsListener::onNat64PrefixEvent(int32_t netId, bool added, in onNat64PrefixEvent() argument
48 int32_t /*prefixLength*/) { in onNat64PrefixEvent()
56 int32_t netId, const std::string& ipAddress, const std::string& /*hostname*/, in onPrivateDnsValidationEvent()
67 ::ndk::ScopedAStatus DnsMetricsListener::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent() argument
68 int32_t returnCode, int32_t /*latencyMs*/, in onDnsEvent()
71 int32_t ipAddressesCount, int32_t /*uid*/) { in onDnsEvent()
Dtest_metrics.cpp36 ::ndk::ScopedAStatus TestOnDnsEvent::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent() argument
37 int32_t returnCode, int32_t /*latencyMs*/, in onDnsEvent()
40 int32_t ipAddressesCount, int32_t /*uid*/) { in onDnsEvent()
Dtest_metrics.h86 ::ndk::ScopedAStatus onDnsEvent(int32_t netId, int32_t eventType, int32_t returnCode,
87 int32_t /*latencyMs*/, const std::string& hostname,
89 int32_t ipAddressesCount, int32_t /*uid*/) override;
/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()
/packages/modules/DnsResolver/
DDnsResolverService.h47 int32_t netId, std::vector<std::string>* servers, std::vector<std::string>* domains,
48 std::vector<std::string>* tlsServers, std::vector<int32_t>* params,
49 std::vector<int32_t>* stats,
50 std::vector<int32_t>* wait_for_pending_req_timeout_count) override;
51 ::ndk::ScopedAStatus destroyNetworkCache(int32_t netId) override;
52 ::ndk::ScopedAStatus createNetworkCache(int32_t netId) override;
53 ::ndk::ScopedAStatus flushNetworkCache(int32_t netId) override;
56 ::ndk::ScopedAStatus startPrefix64Discovery(int32_t netId) override;
57 ::ndk::ScopedAStatus stopPrefix64Discovery(int32_t netId) override;
59 ::ndk::ScopedAStatus getPrefix64(int32_t netId, std::string* stringPrefix) override;
[all …]
DResolverStats.h50 void encode(std::vector<int32_t>* out) const;
53 ssize_t decode(const std::vector<int32_t>& in, ssize_t ofs);
58 static void encodeAll(const std::vector<ResolverStats>& stats, std::vector<int32_t>* out);
61 static bool decodeAll(const std::vector<int32_t>& in, std::vector<ResolverStats>* stats);
64 inline void ResolverStats::encode(std::vector<int32_t>* out) const { in encode()
67 int32_t* cur = &(*out)[ofs]; in encode()
78 inline ssize_t ResolverStats::decode(const std::vector<int32_t>& in, ssize_t ofs) { in decode()
82 const int32_t* cur = &in[ofs]; in decode()
94 std::vector<int32_t>* out) { in encodeAll()
101 inline bool ResolverStats::decodeAll(const std::vector<int32_t>& in, in decodeAll()
DResolverController.h47 int getResolverInfo(int32_t netId, std::vector<std::string>* servers,
49 std::vector<int32_t>* params, std::vector<int32_t>* stats,
50 std::vector<int32_t>* wait_for_pending_req_timeout_count);
53 void startPrefix64Discovery(int32_t netId);
54 void stopPrefix64Discovery(int32_t netId);
DDnsResolverService.cpp207 int32_t netId, std::vector<std::string>* servers, std::vector<std::string>* domains, in getResolverInfo()
208 std::vector<std::string>* tlsServers, std::vector<int32_t>* params, in getResolverInfo()
209 std::vector<int32_t>* stats, std::vector<int32_t>* wait_for_pending_req_timeout_count) { in getResolverInfo()
219 ::ndk::ScopedAStatus DnsResolverService::startPrefix64Discovery(int32_t netId) { in startPrefix64Discovery()
228 ::ndk::ScopedAStatus DnsResolverService::stopPrefix64Discovery(int32_t netId) { in stopPrefix64Discovery()
262 ::ndk::ScopedAStatus DnsResolverService::setLogSeverity(int32_t logSeverity) { in setLogSeverity()
DResolverController.cpp97 std::vector<int32_t>* wait_for_pending_req_timeout_count) { in getDnsInfo()
239 int ResolverController::getResolverInfo(int32_t netId, std::vector<std::string>* servers, in getResolverInfo()
242 std::vector<int32_t>* params, std::vector<int32_t>* stats, in getResolverInfo()
243 std::vector<int32_t>* wait_for_pending_req_timeout_count) { in getResolverInfo()
272 void ResolverController::startPrefix64Discovery(int32_t netId) { in startPrefix64Discovery()
276 void ResolverController::stopPrefix64Discovery(int32_t netId) { in stopPrefix64Discovery()
299 std::vector<int32_t> wait_for_pending_req_timeout_count(1, 0); in dump()
/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 …]
/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()

123