Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/system/update_engine/
Domaha_response_handler_action_unittest.cc55 bool DoTest(const OmahaResponse& in,
94 const OmahaResponse& in, in DoTest() argument
102 feeder_action.set_obj(in); in DoTest()
103 if (in.update_exists && in.version != kBadVersion) { in DoTest()
105 SetString(kPrefsUpdateCheckResponseHash, in.hash)) in DoTest()
114 string current_url = in.payload_urls.size() ? in.payload_urls[0] : ""; in DoTest()
144 OmahaResponse in; in TEST_F() local
145 in.update_exists = true; in TEST_F()
146 in.version = "a.b.c.d"; in TEST_F()
147 in.payload_urls.push_back("http://foo/the_update_a.b.c.d.tgz"); in TEST_F()
[all …]
/system/core/toolbox/upstream-netbsd/bin/dd/
Dconv.c69 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp) in def()
73 out.dbp = in.dbp; in def()
74 out.dbcnt = in.dbcnt; in def()
76 if (in.dbcnt >= out.dbsz) { in def()
85 in.dbp = out.dbp; in def()
86 in.dbcnt = out.dbcnt; in def()
95 if (in.dbcnt) in def_close()
96 out.dbcnt = in.dbcnt; in def_close()
132 for (inp = in.db, cnt = in.dbrcnt; in block()
135 in.dbcnt = 0; in block()
[all …]
Ddd.c78 IO in, out; /* input/output state */ variable
157 if (in.name == NULL) { in setup()
158 in.name = "stdin"; in setup()
159 in.fd = STDIN_FILENO; in setup()
160 in.ops = &ddfops_stdfd; in setup()
162 in.ops = prog_ops; in setup()
163 in.fd = ddop_open(in, in.name, O_RDONLY, 0); in setup()
164 if (in.fd < 0) in setup()
165 err(EXIT_FAILURE, "%s", in.name); in setup()
169 redup_clean_fd(&in); in setup()
[all …]
Dposition.c72 if (!(in.flags & (ISPIPE|ISTAPE))) { in pos_in()
73 if (ddop_lseek(in, in.fd, in pos_in()
74 (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) { in pos_in()
75 err(EXIT_FAILURE, "%s", in.name); in pos_in()
87 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) { in pos_in()
88 if ((nr = ddop_read(in, in.fd, in.db, bcnt)) > 0) { in pos_in()
89 if (in.flags & ISPIPE) { in pos_in()
91 bcnt = in.dbsz; in pos_in()
116 warn("%s", in.name); in pos_in()
122 err(EXIT_FAILURE, "%s", in.name); in pos_in()
/system/core/libmincrypt/
Dp256_ec.c218 static void felem_sum(felem out, const felem in, const felem in2) { in felem_sum() argument
223 out[i] = in[i] + in2[i]; in felem_sum()
232 out[i] = in[i] + in2[i]; in felem_sum()
256 static void felem_diff(felem out, const felem in, const felem in2) { in felem_diff() argument
261 out[i] = in[i] - in2[i]; in felem_diff()
271 out[i] = in[i] - in2[i]; in felem_diff()
480 static void felem_square(felem out, const felem in) { in felem_square() argument
483 tmp[0] = ((u64) in[0]) * in[0]; in felem_square()
484 tmp[1] = ((u64) in[0]) * (in[1] << 1); in felem_square()
485 tmp[2] = ((u64) in[0]) * (in[2] << 1) + in felem_square()
[all …]
/system/update_engine/payload_generator/
Dzip_unittest.cc71 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) { in DecompressWithWriter() argument
76 TEST_AND_RETURN_FALSE(writer->Write(in.data(), in.size())); in DecompressWithWriter()
86 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0;
87 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0;
95 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { in ZipCompress() argument
96 return BzipCompress(in, out); in ZipCompress()
98 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const { in ZipDecompress() argument
99 return DecompressWithWriter<BzipExtentWriter>(in, out); in ZipDecompress()
108 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { in ZipCompress() argument
109 return XzCompress(in, out); in ZipCompress()
[all …]
/system/tools/aidl/tests/android/aidl/tests/
DITestService.aidl44 SimpleParcelable RepeatSimpleParcelable(in SimpleParcelable input, in RepeatSimpleParcelable()
46 PersistableBundle RepeatPersistableBundle(in PersistableBundle input); in RepeatPersistableBundle()
49 boolean[] ReverseBoolean(in boolean[] input, out boolean[] repeated); in ReverseBoolean()
50 byte[] ReverseByte (in byte[] input, out byte[] repeated); in ReverseByte()
51 char[] ReverseChar (in char[] input, out char[] repeated); in ReverseChar()
52 int[] ReverseInt (in int[] input, out int[] repeated); in ReverseInt()
53 long[] ReverseLong (in long[] input, out long[] repeated); in ReverseLong()
54 float[] ReverseFloat (in float[] input, out float[] repeated); in ReverseFloat()
55 double[] ReverseDouble (in double[] input, out double[] repeated); in ReverseDouble()
56 String[] ReverseString (in String[] input, out String[] repeated); in ReverseString()
[all …]
/system/bt/service/doc/
DIBluetoothGattServer.txt5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
26 * be returned in a callback to the application that can be used to perform
27 * GATT server operations. Returns false in case of an error.
29 boolean registerServer(in IBluetoothGattServerCallback callback);
34 void unregisterServer(in int server_if);
50 * returned in |out_id| in case of success. Returns false in case of failure,
51 * e.g. a service declaration is already in progress.
53 boolean beginServiceDeclaration(in int server_if, in boolean is_primary,
54 in ParcelUuid uuid,
[all …]
DIBluetoothGattClientCallback.txt5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
30 void onClientRegistered(in int status, in int client_id);
38 void onGetService(in boolean is_primary, in GattIdentifier service_id);
44 void onGetIncludedService(in GattIdentifier included_service_id);
50 * characteristic properties as defined in the Bluetooth Core Specification.
52 void onGetCharacteristic(in GattIdentifier characteristic_id,
53 in int properties);
60 void onGetDescriptor(in GattIdentifier descriptor_id);
67 void onSearchComplete(in String device_address, in int status);
[all …]
DIBluetoothLowEnergy.txt5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
23 * instance. A special client interface ID will be returned in a callback to
25 * false in case of an error.
27 boolean registerClient(in IBluetoothLowEnergyCallback callback);
33 void unregisterClient(in int client_if);
44 boolean Connect(in int client_id, in const char* address,
45 in boolean is_direct);
50 boolean Disconnect(in int client_id, in const char* address);
57 boolean setMtu(in int client_id, in char* address, int mtu);
[all …]
DIBluetoothGattServerCallback.txt5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
29 void onServerRegistered(in int status, in int server_if);
37 void onServiceAdded(in int status, in GattIdentifier service_id);
53 void onCharacteristicReadRequest(in String device_address, in int request_id,
54 in int offset, in boolean is_long,
55 in GattIdentifier characteristic_id);
71 void onDescriptorReadRequest(in String device_address, in int request_id,
72 in int offset, in boolean is_long,
73 in GattIdentifier descriptor_id);
[all …]
DIBluetoothLowEnergyCallback.txt5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
29 void onClientRegistered(in int status, in int client_if);
33 void OnConnectionState(in int status, in int client_id, in const char* address,
34 in bool connected);
39 void OnMtuChanged(in int status, in const char* address, in int mtu);
46 void onScanResult(in ScanResult scan_result);
52 void onMultiAdvertiseCallback(in int status, in boolean is_start,
53 in AdvertiseSettings settings);
DIBluetoothGattClient.txt5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
31 boolean registerClient(in IBluetoothGattClientCallback callback);
36 void unregisterClient(in int client_id);
45 * database of remote device with address |device_address|. Returns false in
49 boolean refreshDevice(in int client_id, in String device_address);
56 * results will be returned from the attribute cache. Returns false in case of
59 boolean discoverServices(in int client_id, in String device_address);
63 * |characteristic_id|. The result will be asynchronously reported in
73 boolean readCharacteristic(in int client_id,
[all …]
/system/update_engine/binder_bindings/android/brillo/
DIUpdateEngine.aidl23 void AttemptUpdate(in String app_version, in String omaha_url, in int flags); in AttemptUpdate()
24 void AttemptRollback(in boolean powerwash); in AttemptRollback()
29 void SetChannel(in String target_channel, in boolean powewash); in SetChannel()
30 String GetChannel(in boolean get_current_channel); in GetChannel()
31 void SetP2PUpdatePermission(in boolean enabled); in SetP2PUpdatePermission()
33 void SetUpdateOverCellularPermission(in boolean enabled); in SetUpdateOverCellularPermission()
38 void RegisterStatusCallback(in IUpdateEngineStatusCallback callback); in RegisterStatusCallback()
DIUpdateEngineStatusCallback.aidl21 void HandleStatusUpdate(in long last_checked_time, in double progress, in HandleStatusUpdate()
22 in String current_operation, in String new_version, in long new_size); in HandleStatusUpdate()
/system/media/audio_utils/
Dlimiter.c23 static inline float atan_approximation(float in) in atan_approximation() argument
26 if (in <= 1.0) { in atan_approximation()
27 return in / (1.0 + 0.28 * in * in); in atan_approximation()
29 const float in_inverse = 1.0 / in; in atan_approximation()
35 float limiter(float in) in limiter() argument
38 float in_abs = fabsf(in); in limiter()
40 return in; in limiter()
65 if (in < 0) { in limiter()
/system/bt/embdrv/sbc/decoder/srce/
Dsynthesis-dct8.c82 PRIVATE void float_dct2_8(float * RESTRICT out, OI_INT32 const *RESTRICT in) in float_dct2_8() argument
95 in0 = FLOAT_SCALE(in[0], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in0)); in float_dct2_8()
96 in1 = FLOAT_SCALE(in[1], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in1)); in float_dct2_8()
97 in2 = FLOAT_SCALE(in[2], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in2)); in float_dct2_8()
98 in3 = FLOAT_SCALE(in[3], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in3)); in float_dct2_8()
99 in4 = FLOAT_SCALE(in[4], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in4)); in float_dct2_8()
100 in5 = FLOAT_SCALE(in[5], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in5)); in float_dct2_8()
101 in6 = FLOAT_SCALE(in[6], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in6)); in float_dct2_8()
102 in7 = FLOAT_SCALE(in[7], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in7)); in float_dct2_8()
209 PRIVATE void dct2_8(SBC_BUFFER_T * RESTRICT out, OI_INT32 const *RESTRICT in) in dct2_8() argument
[all …]
/system/core/cpio/
Dmkbootfs.c151 static void _archive(char *in, char *out, int ilen, int olen);
157 static void _archive_dir(char *in, char *out, int ilen, int olen) in _archive_dir() argument
165 in, out, ilen, olen); in _archive_dir()
168 d = opendir(in); in _archive_dir()
169 if(d == 0) die("cannot open directory '%s'", in); in _archive_dir()
208 in[ilen] = '/'; in _archive_dir()
209 memcpy(in + ilen + 1, names[i], t + 1); in _archive_dir()
214 _archive(in, out, ilen + t + 1, olen + t + 1); in _archive_dir()
217 _archive(in, out, ilen + t + 1, t); in _archive_dir()
220 in[ilen] = 0; in _archive_dir()
[all …]
/system/weaved/brillo/android/weave/
DIWeaveService.aidl20 void addComponent(in String name, in List<String> traits); in addComponent()
21 void registerCommandHandler(in String component, in String command); in registerCommandHandler()
22 void updateState(in String component, in String state); in updateState()
DIWeaveCommand.aidl29 void setProgress(in String progress); in setProgress()
30 void complete(in String results); in complete()
31 void abort(in String errorCode, in String errorMessage); in abort()
34 void setError(in String errorCode, in String errorMessage); in setError()
/system/netd/server/binder/android/net/
DINetd.aidl41 boolean firewallReplaceUidChain(String chainName, boolean isWhitelist, in int[] uids); in firewallReplaceUidChain()
82 void networkRejectNonSecureVpn(boolean add, in UidRange[] uidRanges); in networkRejectNonSecureVpn()
87 void socketDestroy(in UidRange[] uidRanges, in int[] exemptUids); in socketDestroy()
109 void setResolverConfiguration(int netId, in @utf8InCpp String[] servers, in setResolverConfiguration()
110 in @utf8InCpp String[] domains, in int[] params); in setResolverConfiguration()
/system/tools/aidl/tests/
Daidl_test_client_nullables.cpp51 bool ValuesEqual(const unique_ptr<T>& in, const unique_ptr<T>& out) { in ValuesEqual() argument
52 return *in == *out; in ValuesEqual()
57 const unique_ptr<vector<unique_ptr<String16>>>& in, in ValuesEqual() argument
59 if (!in) { in ValuesEqual()
67 if (in->size() != out->size()) { in ValuesEqual()
71 for (size_t i = 0; i < in->size(); i++) { in ValuesEqual()
72 const unique_ptr<String16>& a = (*in)[i]; in ValuesEqual()
93 unique_ptr<T> in, in ConfirmNullableType() argument
100 status = (*s.*func)(in, &out); in ConfirmNullableType()
112 if (!ValuesEqual(in, out)) { in ConfirmNullableType()
[all …]
/system/core/libsparse/
Dimg2simg.c48 int in; in main() local
70 in = STDIN_FILENO; in main()
72 in = open(argv[1], O_RDONLY | O_BINARY); in main()
73 if (in < 0) { in main()
89 len = lseek64(in, 0, SEEK_END); in main()
90 lseek64(in, 0, SEEK_SET); in main()
99 ret = sparse_file_read(s, in, false, false); in main()
111 close(in); in main()
/system/bt/stack/smp/
Daes.h90 return_type aes_encrypt( const unsigned char in[N_BLOCK],
94 return_type aes_cbc_encrypt( const unsigned char *in,
103 return_type aes_decrypt( const unsigned char in[N_BLOCK],
107 return_type aes_cbc_decrypt( const unsigned char *in,
135 void aes_encrypt_128( const unsigned char in[N_BLOCK],
142 void aes_decrypt_128( const unsigned char in[N_BLOCK],
149 void aes_encrypt_256( const unsigned char in[N_BLOCK],
156 void aes_decrypt_256( const unsigned char in[N_BLOCK],
/system/media/audio_utils/tests/
Dlimiter_tests.c32 float in = (float) ((double) i * 0.01); in main() local
33 float out = limiter(in); in main()
34 printf("%g,%g\n", in, out); in main()
36 out = limiter(-in); in main()
37 printf("%g,%g\n", -in, out); in main()

12345678910>>...15