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

12

/system/core/libsparse/
H A Dsimg2img.c5 * 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 int in; local
59 in = STDIN_FILENO;
61 in = open(argv[i], O_RDONLY | O_BINARY);
62 if (in < 0) {
68 s = sparse_file_import(in, true, false);
82 close(in);
H A Dimg2simg.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
48 int in; local
70 in = STDIN_FILENO;
72 in = open(argv[1], O_RDONLY | O_BINARY);
73 if (in < 0) {
89 len = lseek64(in, 0, SEEK_END);
90 lseek64(in, 0, SEEK_SET);
99 ret = sparse_file_read(s, in, false, false);
111 close(in);
[all...]
H A Dsimg2simg.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
44 int in; local
61 in = open(argv[1], O_RDONLY | O_BINARY);
62 if (in < 0) {
67 s = sparse_file_import(in, true, false);
112 close(in);
/system/extras/tests/bionic/libc/other/
H A Dtest_zlib.c5 * Redistribution and use in source and binary forms, with or without
10 * * Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in
50 unsigned char in[CHUNK]; local
63 strm.avail_in = fread(in, 1, CHUNK, source);
69 strm.next_in = in;
72 compression if all of source has been read in */
84 /* done when last data in file processed */
98 static unsigned char in[CHUNK]; local
113 strm.avail_in = fread(in,
[all...]
/system/media/audio_utils/
H A Dchannels.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
47 inline uint8x3_t int32_to_uint8x3(int32_t in) { argument
50 out.c[2] = in;
51 out.c[1] = in >> 8;
52 out.c[0] = in >> 16;
54 out.c[0] = in;
55 out.c[1] = in >> 8;
56 out.c[2] = in >> 16;
64 * Move from back to front so that the conversion can be done in
[all...]
H A Dresampler.c5 ** you may not use this file except in compliance with the License.
10 ** Unless required by applicable law or agreed to in writing, software
32 uint32_t in_sample_rate; // input sampling rate in Hz
33 uint32_t out_sample_rate; // output sampling rate in Hz
37 size_t frames_in; // number of frames in input buffer
41 int32_t speex_delay_ns; // delay introduced by speex resampler in ns
99 // make sure that the number of frames present in rsmp->in_buf (rsmp->frames_in) is at
139 "ReSampler::resample() remaining %zu frames in and %zu frames out",
153 int16_t *in,
160 if (rsmp == NULL || in
152 resampler_resample_from_input(struct resampler_itfe *resampler, int16_t *in, size_t *inFrameCount, int16_t *out, size_t *outFrameCount) argument
[all...]
/system/extras/ext4_utils/
H A Dext2simg.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
120 const char *in = NULL; local
150 in = argv[optind++];
166 infd = open(in, O_RDONLY);
175 build_sparse_ext(infd, in);
/system/bt/embdrv/sbc/decoder/srce/
H A Dsynthesis-dct8.c7 * you may not use this file except in compliance with the License.
12 * Unless required by applicable law or agreed to in writing, software
82 PRIVATE void float_dct2_8(float * RESTRICT out, OI_INT32 const *RESTRICT in) argument
95 in0 = FLOAT_SCALE(in[0], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in0));
96 in1 = FLOAT_SCALE(in[1], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in1));
97 in2 = FLOAT_SCALE(in[2], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in2));
98 in3 = FLOAT_SCALE(in[3], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in3));
99 in4 = FLOAT_SCALE(in[4], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in4));
100 in5 = FLOAT_SCALE(in[5], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in5));
101 in6 = FLOAT_SCALE(in[
209 dct2_8(SBC_BUFFER_T * RESTRICT out, OI_INT32 const *RESTRICT in) argument
[all...]
H A Dsynthesis-sbc.c7 * you may not use this file except in compliance with the License.
12 * Unless required by applicable law or agreed to in writing, software
28 operations described in A2DP Appendix B, Figure 12.3. Several
36 According to Fig 12.3, in the 8-subband case,
64 formally demonstrated in, e.g., Liu, Chi-Min and Lee,
66 Filter Banks in Current Audio Coding Standards." Journal of
72 the matrix N in light of its factorization into C2 and R, R's
73 sparseness has implications for interpreting the values in V. In
74 particular, there is considerable redundancy in the values stored in
475 cosineModulateSynth4(SBC_BUFFER_T * RESTRICT out, OI_INT32 const * RESTRICT in) argument
[all...]
/system/core/cpio/
H A Dmkbootfs.c46 /* Each line in the canned file should be a path plus three ints (uid,
81 // Use the compiled-in fs_config() function.
91 // Nothing is special about this value, just picked something in the
151 static void _archive(char *in, char *out, int ilen, int olen);
157 static void _archive_dir(char *in, char *out, int ilen, int olen) argument
165 in, out, ilen, olen);
168 d = opendir(in);
169 if(d == 0) die("cannot open directory '%s'", in);
208 in[ilen] = '/';
209 memcpy(in
230 _archive(char *in, char *out, int ilen, int olen) argument
275 char in[8192]; local
[all...]
/system/core/libmincrypt/
H A Dp256.c4 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above copyright
9 * notice, this list of conditions and the following disclaimer in the
30 // WARNING: Implementing these functions in a constant-time manner is far from
332 const p256_int* in,
334 if (out != in) *out = *in;
331 p256_mod(const p256_int* MOD, const p256_int* in, p256_int* out) argument
/system/core/libpixelflinger/
H A Dbuffer.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
38 static uint32_t downshift_component(uint32_t in, uint32_t v,
323 uint32_t downshift_component( uint32_t in, uint32_t v, argument
365 in |= v<<dl;
370 in |= v<<shift;
376 if (shift > 0) in |= v>>shift;
377 else if (shift < 0) in |= v<<shift;
378 else in |= v;
380 return in;
[all...]
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Ddd.c11 * Redistribution and use in source and binary forms, with or without
16 * 2. Redistributions in binary form must reproduce the above copyright
17 * notice, this list of conditions and the following disclaimer in the
78 IO in, out; /* input/output state */ variable
157 if (in.name == NULL) {
158 in.name = "stdin";
159 in.fd = STDIN_FILENO;
160 in.ops = &ddfops_stdfd;
162 in.ops = prog_ops;
163 in
[all...]
/system/extras/verity/
H A Dbuild_verity_tree.cpp75 const unsigned char *in, size_t in_size,
83 hash_block(md, in + i, block_size, salt, salt_size, out, &s);
74 hash_blocks(const EVP_MD *md, const unsigned char *in, size_t in_size, unsigned char *out, size_t *out_size, const unsigned char *salt, size_t salt_size, size_t block_size) argument
H A Dverify_boot_signature.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
76 /* In BoringSSL, ERR_print_errors has been moved to the BIO functions in order
98 * @param offset Receives the offset in bytes
140 BIO *in = NULL; local
150 if ((in = BIO_new_fd(fd, BIO_NOCLOSE)) == NULL) {
155 if ((*bs = ASN1_item_d2i_bio(ASN1_ITEM_rptr(BootSignature), in, bs)) == NULL) {
157 BIO_free(in);
161 BIO_free(in);
167 * the length in authenticate
[all...]
/system/keymaster/
H A Dkeymaster0_engine.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
265 int Keymaster0Engine::rsa_private_transform(RSA* rsa, uint8_t* out, const uint8_t* in, size_t len) { argument
266 ALOGV("rsa_private_transform(%p, %p, %p, %u)", rsa, out, in, (unsigned)len);
269 return instance_->RsaPrivateTransform(rsa, out, in, len);
313 int Keymaster0Engine::RsaPrivateTransform(RSA* rsa, uint8_t* out, const uint8_t* in, argument
324 if (!Keymaster0Sign(&sign_params, *key_blob, in, len, &signature, &signature_length))
/system/media/audio_utils/include/audio_utils/
H A Dprimitives.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
26 /* The memcpy_* conversion routines are designed to work in-place on same dst as src
94 * Each float should be in the range -1.0 to 1.0. Values outside that range are clamped,
142 * The packed 24 bit input is stored in native endian format in a uint8_t byte array.
154 * The packed 24 bit output is stored in native endian format in a uint8_t byte array.
166 * The packed 24 bit input is stored in native endian format in
867 mulAdd(int16_t in, int16_t v, int32_t a) argument
885 mul(int16_t in, int16_t v) argument
[all...]
/system/security/keystore-engine/
H A Dandroid_engine.cpp3 * Redistribution and use in source and binary forms, with or without
8 * 2. Redistributions in binary form must reproduce the above copyright
9 * notice, this list of conditions and the following disclaimer in the
135 /* rsa_private_transform takes a big-endian integer from |in|, calculates the
137 * big-endian integer to |out|. Both |in| and |out| are |len| bytes long. It
139 int rsa_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, size_t len) { argument
140 ALOGV("rsa_private_transform(%p, %p, %p, %u)", rsa, out, in, (unsigned) len);
159 int32_t ret = service->sign(String16(key_id), in, len, &reply, &reply_len);
398 * named |key_id| in Keystore and the private operations are forwarded onto
/system/core/fastboot/
H A Dusb_linux.c5 * Redistribution and use in source and binary forms, with or without
10 * * Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in
58 /* Timeout in seconds for usb_wait_for_disconnect.
60 * under 2 seconds) but we'll time out after 3 seconds just in case.
73 * in drivers/usb/core/devio.c.
85 /* True if name isn't a valid name for a USB device in /sys/bus/usb/devices.
124 int in, out; local
153 * requests while they're in the middle of flashing.
196 in
313 int n, in, out, ifc; local
[all...]
/system/core/libutils/
H A DString8.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
32 * functions and constants in android namespace.
81 static char* allocFromUTF8(const char* in, size_t len) argument
91 memcpy(str, in, len);
101 static char* allocFromUTF16(const char16_t* in, size_t len) argument
105 const ssize_t bytes = utf16_to_utf8_length(in, len);
117 utf16_to_utf8(in, len, str);
121 static char* allocFromUTF32(const char32_t* in, size_t len) argument
127 const ssize_t bytes = utf32_to_utf8_length(in, le
[all...]
/system/bt/stack/smp/
H A Daes.c14 of conditions and the following disclaimer in their documentation;
22 in respect of its properties, including, but not limited to, correctness
74 /* functions for finite field multiplication in the AES Galois field */
266 /* The forward and inverse affine transformations used in the S-box */
502 be entered as a length in bytes (valid inputs are hence
513 case 128: /* length in bits (128 = 8*16) */
517 case 192: /* length in bits (192 = 8*24) */
521 /* case 256: length in bits (256 = 8*32) */
569 return_type aes_encrypt( const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const aes_context ctx[1] ) argument
574 copy_and_key( s1, in, ct
598 aes_cbc_encrypt( const unsigned char *in, unsigned char *out, int n_block, unsigned char iv[N_BLOCK], const aes_context ctx[1] ) argument
620 aes_decrypt( const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const aes_context ctx[1] ) argument
649 aes_cbc_decrypt( const unsigned char *in, unsigned char *out, int n_block, unsigned char iv[N_BLOCK], const aes_context ctx[1] ) argument
692 aes_encrypt_128( const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[N_BLOCK], unsigned char o_key[N_BLOCK] ) argument
745 aes_decrypt_128( const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[N_BLOCK], unsigned char o_key[N_BLOCK] ) argument
812 aes_encrypt_256( const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[2 * N_BLOCK], unsigned char o_key[2 * N_BLOCK] ) argument
893 aes_decrypt_256( const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[2 * N_BLOCK], unsigned char o_key[2 * N_BLOCK] ) argument
[all...]
/system/core/adf/libadf/
H A Dadf.c5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
261 adf_id_t *in, size_t n_in, adf_id_t **out,
271 int fd = adf_interface_open(dev, in[i], O_RDONLY);
293 ids_ret[n] = in[i];
315 adf_id_t *in, size_t n_in, adf_id_t **out)
317 return adf_interfaces_filter(dev, in, n_in, out, adf_interface_type_filter,
328 adf_id_t *in, size_t n_in, adf_id_t **out)
330 return adf_interfaces_filter(dev, in, n_in, out, adf_interface_flags_filter,
498 adf_id_t *in, size_
260 adf_interfaces_filter(struct adf_device *dev, adf_id_t *in, size_t n_in, adf_id_t **out, bool (*filter)(struct adf_interface_data *data, __u32 match), __u32 match) argument
313 adf_interfaces_filter_by_type(struct adf_device *dev, enum adf_interface_type type, adf_id_t *in, size_t n_in, adf_id_t **out) argument
327 adf_interfaces_filter_by_flag(struct adf_device *dev, __u32 flag, adf_id_t *in, size_t n_in, adf_id_t **out) argument
497 adf_overlay_engines_filter(struct adf_device *dev, adf_id_t *in, size_t n_in, adf_id_t **out, bool (*filter)(struct adf_overlay_engine_data *data, void *cookie), void *cookie) argument
563 adf_overlay_engines_filter_by_format(struct adf_device *dev, const __u32 *formats, size_t n_formats, adf_id_t *in, size_t n_in, adf_id_t **out) argument
[all...]
/system/extras/f2fs_utils/
H A Df2fs_sparseblock.c143 SLOGD("entry %d in journal entries is for segment %d",i, le32_to_cpu(segno_in_journal(info->sit_sums, i)));
222 /* Read the 1st cp block in this CP pack */
235 /* Read the 2nd cp block in this CP pack */
443 SLOGE("Error getting SIT entries in summary area");
504 /* check the SIT entries in the journal */
595 char *in = argv[1]; local
599 if ((infd = open(in, O_RDONLY)) < 0) {
/system/vold/
H A DUtils.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
402 status_t NormalizeHex(const std::string& in, std::string& out) { argument
404 if (HexToStr(in, tmp)) {
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c6 * you may not use this file except in compliance with the License.
11 * Unless required by applicable law or agreed to in writing, software
154 pprev is optional in case a dedicated diff is required */
466 ERROR("%s Audiopath start failed - in call, move to suspended", __func__);
566 /* only allow autostarting if we are in stopped or standby */
586 ERROR("stream not in stopped or standby");
676 // Do nothing in SUSPENDED state.
784 /* volume controlled in audioflinger mixer (digital) */
825 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local
828 return in
833 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local
853 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local
927 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local
1224 struct a2dp_stream_in *in; local
1291 struct a2dp_stream_in* in = (struct a2dp_stream_in *)stream; local
[all...]

Completed in 3272 milliseconds

12