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

/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
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 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/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
78 * Multiply-accumulate 16-bit terms with 32-bit result: return a + in*v.
81 int32_t mulAdd(int16_t in, int16_t v, int32_t a) argument
85 asm( "smlabb %[out], %[in], %[v], %[a] \n"
87 : [in]"%r"(in), [v]"r"(v), [a]"r"(a)
91 return a + in * (int32_t)v;
96 * Multiply 16-bit terms with 32-bit result: return in*v.
99 int32_t mul(int16_t in, int16_ 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/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/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
181 const char *in = NULL; local
211 in = argv[optind++];
227 infd = open(in, O_RDONLY);
236 build_sparse_ext(infd, in);
/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/core/cpio/
H A Dmkbootfs.c45 /* Each line in the canned file should be a path plus three ints (uid,
79 // Use the compiled-in fs_config() function.
87 // Nothing is special about this value, just picked something in the
147 static void _archive(char *in, char *out, int ilen, int olen);
153 static void _archive_dir(char *in, char *out, int ilen, int olen) argument
161 in, out, ilen, olen);
164 d = opendir(in);
165 if(d == 0) die("cannot open directory '%s'", in);
204 in[ilen] = '/';
205 memcpy(in
224 _archive(char *in, char *out, int ilen, int olen) argument
269 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/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/atrace/
H A Datrace.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
246 // Set the size of the kernel's trace buffer in kilobytes.
259 // clock will result in the kernel using a per-CPU local clock.
265 // Enable tracing in the kernel.
299 // Disable tracing in the kernel.
335 uint8_t *in, *out; local
347 in = (uint8_t*)malloc(bufSize);
358 result = read(traceFD, in, bufSize);
367 zs.next_in = in;
[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/core/libcutils/
H A Dmq.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 /** Next packet in the queue. */
167 /** Keeps track of data coming in from the remote peer. */
194 * Used in master only. Maps this peer proxy to other peer proxies to
289 newPacket->nextPacket = NULL; // Just in case.
491 // Store the socket in the message.
629 // filled in by masterProxyExpectConnection(). These fake creds will
691 // Fill in full credentials.
943 Buffer* in local
969 Buffer* in = peerProxy->inputBuffer; local
[all...]
/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/security/keystore/
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
54 * each file stores one key-value pair. Keys are encoded in file names, and
141 ALOGE("could not open keymaster device in %s (%s)",
157 /* Here is the encoding of keys. This is necessary in order to allow arbitrary
158 * characters in keys. Characters in [0-~] are not encoded. Others are encoded
161 * [0-o]. Therefore in the worst case the length of a key gets doubled. Note
165 const uint8_t* in = key->value; local
167 for (int i = length; i > 0; --i, ++in,
187 decode_key(uint8_t* out, const char* in, int length) argument
395 int in = open(filename, O_RDONLY); local
497 int in = open(MASTER_KEY_FILE, O_RDONLY); local
[all...]

Completed in 212 milliseconds