Searched defs:in (Results 1 - 17 of 17) sorted by path

/system/core/cpio/
H A Dmkbootfs.c45 /* Each line in the canned file should be a path plus three ints (uid,
80 // Use the compiled-in fs_config() function.
88 // Nothing is special about this value, just picked something in the
148 static void _archive(char *in, char *out, int ilen, int olen);
154 static void _archive_dir(char *in, char *out, int ilen, int olen) argument
162 in, out, ilen, olen);
165 d = opendir(in);
166 if(d == 0) die("cannot open directory '%s'", in);
205 in[ilen] = '/';
206 memcpy(in
225 _archive(char *in, char *out, int ilen, int olen) argument
270 char in[8192]; local
[all...]
/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
66 * in drivers/usb/core/devio.c.
108 int in, out; local
207 in = -1;
224 in = ept->bEndpointAddress;
230 info.has_bulk_in = (in != -1);
234 *ept_in_id = in;
249 int n, in, ou local
[all...]
/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/libsparse/
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
71 in = STDIN_FILENO;
73 in = open(argv[1], O_RDONLY | O_BINARY);
74 if (in < 0) {
90 len = lseek64(in, 0, SEEK_END);
91 lseek64(in, 0, SEEK_SET);
100 ret = sparse_file_read(s, in, false, false);
112 close(in);
[all...]
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 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/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
29 * functions and constants in android namespace.
78 static char* allocFromUTF8(const char* in, size_t len) argument
85 memcpy(str, in, len);
95 static char* allocFromUTF16(const char16_t* in, size_t len) argument
99 const ssize_t bytes = utf16_to_utf8_length(in, len);
111 utf16_to_utf8(in, len, str);
115 static char* allocFromUTF32(const char32_t* in, size_t len) argument
121 const ssize_t bytes = utf32_to_utf8_length(in, le
[all...]
/system/core/libzipfile/
H A Dzipfile.c7 #define DEF_MEM_LEVEL 8 // normally in zutil.h?
79 uninflate(unsigned char* out, int unlen, const unsigned char* in, int clen) argument
90 zstream.next_in = (void*)in;
/system/core/sh/
H A Dexpand.c10 * Redistribution and use in source and binary forms, with or without
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
81 struct ifsregion *next; /* next region in list */
90 struct ifsregion ifsfirst; /* first struct in list of ifs regions */
91 struct ifsregion *ifslastp; /* last struct in list */
128 * placing the resulting list of arguments in arglist. If EXP_FULL is true,
199 case CTLENDVAR: /* end of expanding yyy in ${xxx-yyy} */
232 * sort of a hack - expand tildes in variable
344 * evaluate, place result in (backe
411 struct backcmd in; local
[all...]
/system/core/toolbox/
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
85 extern IO in, out;
107 IO in, out; /* input/output state */ variable
157 if (in.name == NULL) {
158 in.name = "stdin";
159 in.fd = STDIN_FILENO;
161 in.fd = open(in
[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
180 const char *in = NULL; local
210 in = argv[optind++];
226 infd = open(in, O_RDONLY);
235 build_sparse_ext(infd, in);
/system/extras/libublock/
H A Dublock.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
69 const void *in, size_t in_len,
76 assert(in);
82 in_h = (const struct ublock_init_in *)in;
105 const void *in, size_t in_len,
111 assert(in);
125 const void *in, size_t in_len,
133 assert(in);
139 in_h = (const struct ublock_read_in *)in;
68 ublock_handle_init(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument
104 ublock_handle_ready(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument
124 ublock_handle_read(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument
154 ublock_handle_write(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument
180 ublock_handle_request(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument
[all...]
/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/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
73 * Each float should be in the range -1.0 to 1.0. Values outside that range are clamped.
115 * Multiply-accumulate 16-bit terms with 32-bit result: return a + in*v.
118 int32_t mulAdd(int16_t in, int16_t v, int32_t a) argument
122 asm( "smlabb %[out], %[in], %[v], %[a] \n"
124 : [in]"%r"(in), [v]"r"(v), [a]"r"(a)
128 return a + in * (int32_t)v;
133 * Multiply 16-bit terms with 32-bit result: return in*
136 mul(int16_t in, int16_t v) argument
[all...]
/system/media/audio_utils/
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 %d frames in and %d 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/security/keystore/
H A DIKeystoreService.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
94 ALOGE("out of memory allocating output array in get");
345 virtual int32_t sign(const String16& name, const uint8_t* in, size_t inLength, uint8_t** out, argument
353 memcpy(buf, in, inLength);
369 ALOGE("out of memory allocating output array in sign");
382 virtual int32_t verify(const String16& name, const uint8_t* in, size_t inLength, argument
392 memcpy(buf, in, inLength);
430 ALOGE("out of memory allocating output array in get_pubkey");
620 const void* in; local
733 const void* in; local
751 const void* in; local
777 const void* in; local
[all...]
H A Dkeystore.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
64 * each file stores one key-value pair. Keys are encoded in file names, and
115 ALOGE("could not open keymaster device in %s (%s)",
178 * Returns the app ID (in the Android multi-user sense) for the current
186 * Returns the user ID (in the Android multi-user sense) for the current
213 * when WiFi can operate in its own namespace.
227 * Returns true if the callingUid is allowed to interact in the targetUid's
241 /* Here is the encoding of keys. This is necessary in order to allow arbitrary
242 * characters in key
249 const uint8_t* in = reinterpret_cast<const uint8_t*>(keyName.string()); local
260 const uint8_t* in = reinterpret_cast<const uint8_t*>(keyName.string()); local
281 decode_key_length(const char* in, size_t length) argument
295 decode_key(char* out, const char* in, size_t length) argument
562 int in = TEMP_FAILURE_RETRY(open(filename, O_RDONLY)); local
705 int in = TEMP_FAILURE_RETRY(open(mMasterKeyFile, O_RDONLY)); local
1321 int in = TEMP_FAILURE_RETRY(open(sMetaDataFile, O_RDONLY)); local
[all...]

Completed in 1321 milliseconds