Searched defs:in (Results 1 - 25 of 101) sorted by relevance

12345

/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
H A DCtUpdateAmbassador.cpp4 * Redistribution and use in source and binary forms, with or without
9 * * Redistributions in binary form must reproduce the above
11 * disclaimer in the documentation and/or other materials provided
59 void CtUpdateAmbassador::updateTimeout(IpaNatTimeoutUpdate in) { argument
62 in.src.ipAddr, in.src.port, in.dst.ipAddr, in.dst.port,
63 in.proto);
66 if (!translate(in, ou
85 translate(IpaNatTimeoutUpdate in, HALNatTimeoutUpdate &out) argument
91 translate(IpaIpAddrPortPair in, HALIpAddrPortPair& out) argument
107 L4ToNetwork(IpaL4Protocol in, NetworkProtocol &out) argument
[all...]
H A DPrefixParser.cpp4 * Redistribution and use in source and binary forms, with or without
9 * * Redistributions in binary form must reproduce the above
11 * disclaimer in the documentation and/or other materials provided
31 #include <netinet/in.h>
55 bool PrefixParser::add(vector<string> in) { argument
56 return add(in, IP_FAM::INVALID);
59 bool PrefixParser::add(string in) { argument
60 return add(in, IP_FAM::INVALID);
63 bool PrefixParser::addV4(string in) { argument
64 return add(in, IP_FA
67 addV4(vector<string> in) argument
71 addV6(string in) argument
75 addV6(vector<string> in) argument
120 add(vector<string> in, IP_FAM famHint) argument
131 add(string in, IP_FAM famHint) argument
200 guessIPFamily(string in) argument
207 splitIntoAddrAndMask(string in, string &addr, string &mask) argument
246 parseSubnetMask(string in, IP_FAM famHint) argument
253 parseV4Addr(string in, Prefix &out) argument
271 parseV6Addr(string in, Prefix &out) argument
[all...]
/hardware/qcom/gps/msm8909w_3100/android/location_api/
H A DLocationUtil.cpp3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
38 void convertGnssLocation(Location& in, GnssLocation& out) argument
41 if (in.flags & LOCATION_HAS_LAT_LONG_BIT)
43 if (in.flags & LOCATION_HAS_ALTITUDE_BIT)
45 if (in.flags & LOCATION_HAS_SPEED_BIT)
47 if (in.flags & LOCATION_HAS_BEARING_BIT)
49 if (in.flags & LOCATION_HAS_ACCURACY_BIT)
51 if (in
69 convertGnssConstellationType(GnssSvType& in, GnssConstellationType& out) argument
97 convertGnssEphemerisType(GnssEphemerisType& in, GnssDebug::SatelliteEphemerisType& out) argument
113 convertGnssEphemerisSource(GnssEphemerisSource& in, GnssDebug::SatelliteEphemerisSource& out) argument
133 convertGnssEphemerisHealth(GnssEphemerisHealth& in, GnssDebug::SatelliteEphemerisHealth& out) argument
[all...]
H A DMeasurementAPIClient.cpp3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
45 static void convertGnssData(GnssMeasurementsNotification& in,
47 static void convertGnssMeasurement(GnssMeasurementsData& in,
49 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out);
137 static void convertGnssMeasurement(GnssMeasurementsData& in, argument
141 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT)
143 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT)
145 if (in
216 convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out) argument
244 convertGnssData(GnssMeasurementsNotification& in, IGnssMeasurementCallback::GnssData& out) argument
[all...]
H A DBatchingAPIClient.cpp3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
48 static void convertBatchOption(const IGnssBatching::Options& in, LocationOptions& out,
173 static void convertBatchOption(const IGnssBatching::Options& in, LocationOptions& out, argument
178 out.minInterval = (uint32_t)(in.periodNanos / 1000000L);
/hardware/qcom/gps/msm8998/android/location_api/
H A DLocationUtil.cpp3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
38 void convertGnssLocation(Location& in, GnssLocation& out) argument
41 if (in.flags & LOCATION_HAS_LAT_LONG_BIT)
43 if (in.flags & LOCATION_HAS_ALTITUDE_BIT)
45 if (in.flags & LOCATION_HAS_SPEED_BIT)
47 if (in.flags & LOCATION_HAS_BEARING_BIT)
49 if (in.flags & LOCATION_HAS_ACCURACY_BIT)
51 if (in
69 convertGnssConstellationType(GnssSvType& in, GnssConstellationType& out) argument
97 convertGnssEphemerisType(GnssEphemerisType& in, GnssDebug::SatelliteEphemerisType& out) argument
113 convertGnssEphemerisSource(GnssEphemerisSource& in, GnssDebug::SatelliteEphemerisSource& out) argument
133 convertGnssEphemerisHealth(GnssEphemerisHealth& in, GnssDebug::SatelliteEphemerisHealth& out) argument
[all...]
H A DGnssMeasurementAPIClient.cpp3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
45 static void convertGnssData(GnssMeasurementsNotification& in,
47 static void convertGnssMeasurement(GnssMeasurementsData& in,
49 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out);
160 static void convertGnssMeasurement(GnssMeasurementsData& in, argument
164 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT)
166 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT)
168 if (in
239 convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out) argument
267 convertGnssData(GnssMeasurementsNotification& in, IGnssMeasurementCallback::GnssData& out) argument
[all...]
H A DFlpAPIClient.cpp3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
45 static void convertBatchOption(const IGnssBatching::Options& in, LocationOptions& out,
168 static void convertBatchOption(const IGnssBatching::Options& in, LocationOptions& out, argument
173 out.minInterval = (uint32_t)(in.periodNanos / 1000000L);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
H A Dviddec_parse_sc_mp4.c5 /* Parse for Sc code of pattern 0x00 0x00 0xXX in the current buffer. Returns either sc found or success.
6 The conext is updated with current phase and sc_code position in the buffer.
15 explicitly say if both of them can exist in a stream? So current implemenation will assume
16 that only one of them is present in a given stream to simplify implementation. The reason it can
17 get complicated is resync marker in LVH can potentially be (00 00 8) which will cause false detect
21 uint32_t viddec_parse_sc_mp4(void *in, void *pcxt, void *sc_state) argument
29 cxt = ( viddec_sc_parse_cubby_cxt_t *)in;
71 two zero bytes in the word so we look one byte at a time*/
120 /* For short start code since start code is in one nibble just return at this point */
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
H A Dviddec_parse_sc.c14 /* Parse for Sc code of pattern 0x00 0x00 0xXX in the current buffer. Returns either sc found or success.
15 The conext is updated with current phase and sc_code position in the buffer.
17 uint32_t viddec_parse_sc(void *in, void *pcxt, void *sc_state) argument
27 cxt = ( viddec_sc_parse_cubby_cxt_t *)in;
68 two zero bytes in the word so we look one byte at a time*/
H A Dviddec_parse_sc_fast_loop.c42 /* ------- slow SC Detect Loop, used when 0 detected in stream --------*/
119 else /* we're in the fast loop */
156 unsigned int viddec_parse_sc(void *in, void *pcxt) argument
162 cxt = (viddec_sc_parse_cubby_cxt_t *)in;
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
H A DStreamIoUtil.h5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
62 std::ios_base::in | std::ios_base::out) override {
70 std::ios_base::in | std::ios_base::out) override {
74 bool in = which & std::ios_base::in; variable
78 if (!in && !out) {
82 if (in && out && way == std::ios_base::cur) {
92 if (in) {
109 if (noff != 0 && ((in
[all...]
/hardware/nxp/secure_element/libese-spi/p73/utils/
H A Dconfig.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
28 bool parseBytesString(std::string in, std::vector<uint8_t>& out) { argument
29 vector<string> values = Split(in, ":");
61 bool ConfigValue::parseFromString(std::string in) { argument
62 if (in.length() > 1 && in[0] == '"' && in[in.length() - 1] == '"') {
63 CHECK(in
[all...]
/hardware/interfaces/gnss/1.0/default/
H A DAGnss.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
72 struct sockaddr_in* in = reinterpret_cast<struct sockaddr_in*>(&(status->addr)); local
76 .ipV4Addr = in->sin_addr.s_addr,
120 * was earlier being done in GnssLocationProvider.
/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DHidRawDevice.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
40 LOG_E << "Error in open device node: " << errno << " (" << ::strerror(errno) << ")"
225 bool HidRawDevice::setFeature(uint8_t id, const std::vector<uint8_t> &in) { argument
237 if (size != in.size()) {
239 << size << " bytes, have " << in.size() << " bytes" << LOG_ENDL;
249 std::copy(in.begin(), in.end(), &mIoBuffer[1]);
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
H A DHidRawSensorTest.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
68 virtual bool setFeature(uint8_t id, const std::vector<uint8_t> &in) { argument
70 if (i == mFeature.end() || in.size() != i->second.size()) {
73 i->second = in;
/hardware/google/av/media/codecs/g711/
H A DC2SoftG711Dec.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
159 ALOGV("in buffer attr. size %zu timestamp %d frameindex %d", inSize,
228 int16_t *out, const uint8_t *in, size_t inSize) {
231 int32_t x = *in++;
254 int16_t *out, const uint8_t *in, size_t inSize) {
257 int32_t x = *in++;
309 ALOGV("in %s", __func__);
314 ALOGV("in %s", __func__);
227 DecodeALaw( int16_t *out, const uint8_t *in, size_t inSize) argument
253 DecodeMLaw( int16_t *out, const uint8_t *in, size_t inSize) argument
/hardware/google/av/media/codecs/gsm/
H A DC2SoftGsmDec.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
144 uint8_t *in, size_t inSize) {
151 gsm_decode(handle, in, out);
152 in += FRGSM_IN_FRM_SZ;
157 gsm_decode(handle, in, out);
158 in += FRGSM_IN_FRM_SZ_MINUS_1;
203 ALOGV("in buffer attr. size %zu timestamp %d frameindex %d", inSize,
297 ALOGV("in %s", __func__);
302 ALOGV("in
143 decodeGSM(gsm handle, int16_t *out, size_t outCapacity, uint8_t *in, size_t inSize) argument
[all...]
/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dauthorization_set.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
320 InStreams& deserializeParamValue(InStreams& in, hidl_vec<uint8_t>* blob) { argument
323 in.elements.read(reinterpret_cast<char*>(&blob_length), sizeof(uint32_t));
325 in.elements.read(reinterpret_cast<char*>(&offset), sizeof(uint32_t));
326 in.indirect.seekg(offset);
327 in.indirect.read(reinterpret_cast<char*>(&(*blob)[0]), blob->size());
328 return in;
331 template <typename T> InStreams& deserializeParamValue(InStreams& in, T* value) { argument
332 in
336 deserialize(TAG_INVALID_t&&, InStreams& in, KeyParameter*) argument
341 deserialize(T&& ttag, InStreams& in, KeyParameter* param) argument
347 deserialize(InStreams& in, KeyParameter* param) argument
352 deserialize(InStreams& in, KeyParameter*) argument
360 deserialize(InStreams& in, KeyParameter* param) argument
369 deserialize(InStreams& in, KeyParameter* param) argument
374 deserialize(std::istream& in, std::vector<KeyParameter>* params) argument
415 Deserialize(std::istream* in) argument
[all...]
/hardware/interfaces/tests/bar/1.0/default/
H A DBar.cpp97 const hidl_array<float, 3, 5> &in, transposeMe_cb _cb) {
98 return mFoo->transposeMe(in, _cb);
102 const MultiDimensional &in, callingDrWho_cb _hidl_cb) {
103 return mFoo->callingDrWho(in, _hidl_cb);
106 Return<void> Bar::transpose(const StringMatrix5x3 &in, transpose_cb _hidl_cb) { argument
107 return mFoo->transpose(in, _hidl_cb);
111 const hidl_array<hidl_string, 5, 3> &in, transpose2_cb _hidl_cb) {
112 return mFoo->transpose2(in, _hidl_cb);
125 const hidl_vec<sp<ISimple> > &in,
127 _hidl_cb(in);
96 transposeMe( const hidl_array<float, 3, 5> &in, transposeMe_cb _cb) argument
101 callingDrWho( const MultiDimensional &in, callingDrWho_cb _hidl_cb) argument
110 transpose2( const hidl_array<hidl_string, 5, 3> &in, transpose2_cb _hidl_cb) argument
124 haveAVectorOfInterfaces( const hidl_vec<sp<ISimple> > &in, haveAVectorOfInterfaces_cb _hidl_cb) argument
132 haveAVectorOfGenericInterfaces( const hidl_vec<sp<android::hidl::base::V1_0::IBase> > &in, haveAVectorOfGenericInterfaces_cb _hidl_cb) argument
175 haveAInterface(const sp<ISimple> &in) argument
[all...]
/hardware/interfaces/tests/foo/1.0/default/
H A DFoo.cpp248 const hidl_array<float, 3, 5> &in, transposeMe_cb _cb) {
249 LOG(INFO) << "SERVER(Foo) transposeMe(" << to_string(in).c_str() << ")";
254 out[i][j] = in[j][i];
266 const MultiDimensional &in, callingDrWho_cb _hidl_cb) {
267 LOG(INFO) << "SERVER(Foo) callingDrWho(" << MultiDimensionalToString(in).c_str() << ")";
272 out.quuxMatrix[i][j].first = in.quuxMatrix[4 - i][2 - j].last;
273 out.quuxMatrix[i][j].last = in.quuxMatrix[4 - i][2 - j].first;
282 Return<void> Foo::transpose(const StringMatrix5x3 &in, transpose_cb _hidl_cb) { argument
283 LOG(INFO) << "SERVER(Foo) transpose " << to_string(in);
288 out.s[i][j] = in
247 transposeMe( const hidl_array<float, 3, 5> &in, transposeMe_cb _cb) argument
265 callingDrWho( const MultiDimensional &in, callingDrWho_cb _hidl_cb) argument
297 transpose2( const hidl_array<hidl_string, 5, 3> &in, transpose2_cb _hidl_cb) argument
327 haveAVectorOfInterfaces( const hidl_vec<sp<ISimple> > &in, haveAVectorOfInterfaces_cb _hidl_cb) argument
335 haveAVectorOfGenericInterfaces( const hidl_vec<sp<android::hidl::base::V1_0::IBase> > &in, haveAVectorOfGenericInterfaces_cb _hidl_cb) argument
[all...]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
H A Dand_constructor.c88 // scale is the max value of the compass in micro Tesla.
102 void int32_to_long(int32_t in[], long out[], int length) argument
106 out[ii] = (long)in[ii];
310 // Set Gyro Sample Rate in MPL in micro seconds
313 // Set Gyro Sample Rate in MPL in micro seconds
316 // Set Compass Sample Rate in MPL in micro seconds
319 // Set Accel Sample Rate in MP
[all...]
/hardware/libhardware/modules/usbcamera/
H A DUsbCamera.cpp5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
199 int UsbCamera::processCaptureBuffer(const camera3_stream_buffer_t *in, argument
201 if (in->acquire_fence != -1) {
202 int res = sync_wait(in->acquire_fence, CAMERA_SYNC_TIMEOUT_MS);
214 out->stream = in->stream;
215 out->buffer = in->buffer;
/hardware/libhardware_legacy/audio/
H A DAudioHardwareGeneric.cpp6 ** you may not use this file except in compliance with the License.
11 ** Unless required by applicable law or agreed to in writing, software
121 AudioStreamInGeneric* in = new AudioStreamInGeneric(); local
122 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics);
127 mInput = in;
129 delete in;
134 void AudioHardwareGeneric::closeInputStream(AudioStreamIn* in) { argument
135 if (mInput && in == mInput) {
H A DAudioHardwareStub.cpp6 ** you may not use this file except in compliance with the License.
11 ** Unless required by applicable law or agreed to in writing, software
73 AudioStreamInStub* in = new AudioStreamInStub(); local
74 status_t lStatus = in->set(format, channels, sampleRate, acoustics);
79 return in;
80 delete in;
84 void AudioHardwareStub::closeInputStream(AudioStreamIn* in) argument
86 delete in;

Completed in 676 milliseconds

12345