Searched refs:out (Results 1 - 25 of 74) sorted by relevance

123

/system/core/libsparse/
H A Doutput_file.c71 int (*write_data_chunk)(struct output_file *out, unsigned int len,
73 int (*write_fill_chunk)(struct output_file *out, unsigned int len,
75 int (*write_skip_chunk)(struct output_file *out, int64_t len);
76 int (*write_end_chunk)(struct output_file *out);
94 struct output_file out; member in struct:output_file_gz
99 container_of((_o), struct output_file_gz, out)
102 struct output_file out; member in struct:output_file_normal
107 container_of((_o), struct output_file_normal, out)
110 struct output_file out; member in struct:output_file_callback
116 container_of((_o), struct output_file_callback, out)
118 file_open(struct output_file *out, int fd) argument
126 file_skip(struct output_file *out, int64_t cnt) argument
139 file_pad(struct output_file *out, int64_t len) argument
152 file_write(struct output_file *out, void *data, int len) argument
169 file_close(struct output_file *out) argument
184 gz_file_open(struct output_file *out, int fd) argument
198 gz_file_skip(struct output_file *out, int64_t cnt) argument
211 gz_file_pad(struct output_file *out, int64_t len) argument
235 gz_file_write(struct output_file *out, void *data, int len) argument
252 gz_file_close(struct output_file *out) argument
273 callback_file_skip(struct output_file *out, int64_t off) argument
296 callback_file_write(struct output_file *out, void *data, int len) argument
303 callback_file_close(struct output_file *out) argument
340 write_sparse_skip_chunk(struct output_file *out, int64_t skip_len) argument
366 write_sparse_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument
401 write_sparse_data_chunk(struct output_file *out, unsigned int len, void *data) argument
442 write_sparse_end_chunk(struct output_file *out) argument
475 write_normal_data_chunk(struct output_file *out, unsigned int len, void *data) argument
493 write_normal_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument
518 write_normal_skip_chunk(struct output_file *out, int64_t len) argument
523 write_normal_end_chunk(struct output_file *out) argument
535 output_file_close(struct output_file *out) argument
541 output_file_init(struct output_file *out, int block_size, int64_t len, bool sparse, int chunks, bool crc) argument
660 struct output_file *out; local
683 write_data_chunk(struct output_file *out, unsigned int len, void *data) argument
689 write_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument
695 write_fd_chunk(struct output_file *out, unsigned int len, int fd, int64_t offset) argument
746 write_file_chunk(struct output_file *out, unsigned int len, const char *file, int64_t offset) argument
763 write_skip_chunk(struct output_file *out, int64_t len) argument
[all...]
H A Doutput_file.h29 int write_data_chunk(struct output_file *out, unsigned int len, void *data);
30 int write_fill_chunk(struct output_file *out, unsigned int len,
32 int write_file_chunk(struct output_file *out, unsigned int len,
34 int write_fd_chunk(struct output_file *out, unsigned int len,
36 int write_skip_chunk(struct output_file *out, int64_t len);
37 void output_file_close(struct output_file *out);
H A Dsparse_file.h28 struct output_file *out; member in struct:sparse_file
H A Dsparse.c104 static void sparse_file_write_block(struct output_file *out, argument
109 write_data_chunk(out, backed_block_len(bb), backed_block_data(bb));
112 write_file_chunk(out, backed_block_len(bb),
116 write_fd_chunk(out, backed_block_len(bb),
120 write_fill_chunk(out, backed_block_len(bb),
126 static int write_all_blocks(struct sparse_file *s, struct output_file *out) argument
136 write_skip_chunk(out, (int64_t)blocks * s->block_size);
138 sparse_file_write_block(out, bb);
146 write_skip_chunk(out, pad);
157 struct output_file *out; local
177 struct output_file *out; local
205 struct output_file *out; local
[all...]
H A Dimg2simg.c49 int out; local
80 out = STDOUT_FILENO;
82 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
83 if (out < 0) {
105 ret = sparse_file_write(s, out, false, true, false);
112 close(out);
H A Dsimg2img.c41 int out; local
51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
52 if (out < 0) {
74 lseek(out, SEEK_SET, 0);
76 ret = sparse_file_write(s, out, false, false, false);
85 close(out);
H A Dsimg2simg.c45 int out; local
98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
99 if (out < 0) {
104 ret = sparse_file_write(out_s[i], out, false, true, false);
109 close(out);
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Dposition.c139 if (!(out.flags & ISTAPE)) {
140 if (ddop_lseek(out, out.fd,
141 (off_t)out.offset * (off_t)out.dbsz, SEEK_SET) == -1)
142 err(EXIT_FAILURE, "%s", out.name);
148 if (out.flags & NOREAD) {
150 t_op.mt_count = out.offset;
152 if (ddop_ioctl(out, out
[all...]
H A Ddd.c78 IO in, out; /* input/output state */ variable
179 if (out.name == NULL) {
181 out.fd = STDOUT_FILENO;
182 out.name = "stdout";
183 out.ops = &ddfops_stdfd;
185 out.ops = prog_ops;
188 out.fd = ddop_open(out, out.name, O_RDWR | OFLAGS, DEFFILEMODE);
194 if (out
[all...]
H A Dconv.c73 out.dbp = in.dbp;
74 out.dbcnt = in.dbcnt;
76 if (in.dbcnt >= out.dbsz) {
85 in.dbp = out.dbp;
86 in.dbcnt = out.dbcnt;
96 out.dbcnt = in.dbcnt;
114 * max out buffer: obs + cbsz
149 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) {
193 out.dbp += cbsz;
194 if ((out
[all...]
/system/core/fastboot/
H A Dp12topem.sh9 openssl pkcs12 -passin pass:"$2" -passout pass:"$2" -in $1.p12 -out $1.pem
H A Dgenkey.sh11 openssl genrsa -3 -out $1.pem -passout pass:"$2" 2048
15 -out $1-cert.pem \
21 -out $1.p12 -name $1 -passout pass:"$2"
/system/core/libsuspend/
H A Dautosuspend.c38 goto out;
45 goto out;
51 goto out;
59 out:
/system/vold/
H A DNetlinkManager.cpp68 goto out;
73 goto out;
78 goto out;
84 goto out;
89 out:
/system/core/fs_mgr/
H A Dfs_mgr_verity.c99 goto out;
109 goto out;
114 out:
164 goto out;
170 goto out;
174 goto out;
181 goto out;
188 goto out;
195 goto out;
202 goto out;
[all...]
/system/extras/verity/
H A Dgenerate_verity_key.c43 goto out;
80 out:
92 goto out;
95 goto out;
99 goto out;
105 out:
120 goto out;
126 goto out;
132 goto out;
138 goto out;
[all...]
/system/core/cpio/
H A Dmkbootfs.c87 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument
99 fix_stat(out, s);
100 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode);
118 out,
124 if(strlen(out) != (unsigned int)olen) die("ACK!");
149 static void _archive(char *in, char *out, int ilen, int olen);
155 static void _archive_dir(char *in, char *out, int ilen, int olen) argument
163 in, out, ilen, olen);
210 out[olen] = '/';
211 memcpy(out
228 _archive(char *in, char *out, int ilen, int olen) argument
274 char out[8192]; local
[all...]
/system/media/audio_utils/include/audio_utils/
H A Dprimitives.h33 * Dither and clamp pairs of 32-bit input samples (sums) to 16-bit output samples (out).
41 * and out is an array of interleaved pairs of 16-bit samples per channel.
42 * For mono, c is the number of samples / 2, and out is an array of 16-bit samples.
45 * The out and sums buffers must either be completely separate (non-overlapping), or
48 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c);
708 int32_t out; local
709 asm( "smlabb %[out], %[in], %[v], %[a] \n"
710 : [out]"=r"(out)
713 return out;
726 int32_t out; local
744 int32_t out; local
773 int32_t out; local
[all...]
H A Dresampler.h68 * resample input from buffer provider and output at most *outFrameCount to out buffer.
72 int16_t *out,
76 * *outFrameCount to out buffer. *inFrameCount and *outFrameCount are updated respectively
82 int16_t *out,
/system/core/libmincrypt/
H A Dp256_ec.c214 /* felem_sum sets out = in+in2.
217 * On exit: out[0,2,...] < 2**30, out[1,3,...] < 2**29 */
218 static void felem_sum(felem out, const felem in, const felem in2) { argument
223 out[i] = in[i] + in2[i];
224 out[i] += carry;
225 carry = out[i] >> 29;
226 out[i] &= kBottom29Bits;
232 out[i] = in[i] + in2[i];
233 out[
256 felem_diff(felem out, const felem in, const felem in2) argument
291 felem_reduce_degree(felem out, u64 tmp[17]) argument
480 felem_square(felem out, const felem in) argument
529 felem_mul(felem out, const felem in, const felem in2) argument
598 felem_assign(felem out, const felem in) argument
609 felem_inv(felem out, const felem in) argument
674 felem_scalar_3(felem out) argument
701 felem_scalar_4(felem out) argument
732 felem_scalar_8(felem out) argument
977 copy_conditional(felem out, const felem in, limb mask) argument
1179 to_montgomery(felem out, const p256_int* in) argument
1200 from_montgomery(p256_int* out, const felem in) argument
[all...]
/system/core/libcutils/
H A Duevent.c72 goto out;
79 goto out;
84 goto out;
89 out:
H A Ddir_hash.c130 struct list **out) {
190 for (f = *out; f != NULL; f = f->next) {
195 *out = NULL;
218 for (f = *out; f != NULL; f = f->next) {
223 *out = NULL;
233 res->next = *out;
234 *out = res;
237 if (recurse(algorithm, name, out) < 0) {
268 struct list *out = NULL; local
277 if (recurse(algorithm, directory_path, &out) <
129 recurse(HashAlgorithm algorithm, const char *directory_path, struct list **out) argument
[all...]
/system/core/toolbox/
H A Dls.c50 void strmode(mode_t mode, char *out) argument
52 *out++ = mode2kind(mode);
54 *out++ = (mode & 0400) ? 'r' : '-';
55 *out++ = (mode & 0200) ? 'w' : '-';
57 *out++ = (mode & 0100) ? 's' : 'S';
59 *out++ = (mode & 0100) ? 'x' : '-';
61 *out++ = (mode & 040) ? 'r' : '-';
62 *out++ = (mode & 020) ? 'w' : '-';
64 *out++ = (mode & 010) ? 's' : 'S';
66 *out
78 user2str(uid_t uid, char *out, size_t out_size) argument
88 group2str(gid_t gid, char *out, size_t out_size) argument
[all...]
/system/core/libsysutils/src/
H A DFrameworkListener.cpp121 goto out;
147 goto out;
175 goto out;
181 goto out;
191 goto out;
195 out:
204 goto out;
/system/media/camera/docs/
H A Dmetadata-generate48 local out=$thisdir/$2
50 gen_file_abs "$in" "$out"
56 local out="$2"
59 python $thisdir/metadata_parser_xml.py $thisdir/metadata_properties.xml $in $out
65 echo "OK: Generated $(relpath "$out")"
67 out_files+=$'\n'" $out"
70 echo "FAIL: Errors while generating $(relpath "$out")" >& 2

Completed in 2791 milliseconds

123