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

123

/system/extras/ext4_utils/
H A Doutput_file.c65 static int file_seek(struct output_file *out, off64_t off) argument
69 ret = lseek64(out->fd, off, SEEK_SET);
77 static int file_write(struct output_file *out, u8 *data, int len) argument
80 ret = write(out->fd, data, len);
92 static void file_close(struct output_file *out) argument
94 if (out->close_fd) {
95 close(out->fd);
106 static int gz_file_seek(struct output_file *out, off64_t off) argument
110 ret = gzseek(out->gz_fd, off, SEEK_SET);
118 static int gz_file_write(struct output_file *out, u argument
133 gz_file_close(struct output_file *out) argument
158 emit_skip_chunk(struct output_file *out, u64 skip_len) argument
186 write_chunk_fill(struct output_file *out, u64 off, u32 fill_val, int len) argument
259 write_chunk_raw(struct output_file *out, u64 off, u8 *data, int len) argument
329 close_output_file(struct output_file *out) argument
358 struct output_file *out = malloc(sizeof(struct output_file)); local
437 pad_output_file(struct output_file *out, u64 len) argument
474 write_data_block(struct output_file *out, u64 off, u8 *data, int len) argument
498 write_fill_block(struct output_file *out, u64 off, u32 fill_val, int len) argument
536 write_data_file(struct output_file *out, u64 off, const char *file, off64_t offset, int len) argument
[all...]
H A Doutput_file.h26 void write_data_block(struct output_file *out, u64 off, u8 *data, int len);
27 void write_fill_block(struct output_file *out, u64 off, u32 fill_val, int len);
28 void write_data_file(struct output_file *out, u64 off, const char *file,
30 void pad_output_file(struct output_file *out, u64 len);
31 void close_output_file(struct output_file *out);
H A Dsimg2img.c88 int process_raw_chunk(int in, int out, u32 blocks, u32 blk_sz, u32 *crc32) argument
103 ret = write_all(out, copybuf, chunk);
115 int process_fill_chunk(int in, int out, u32 blocks, u32 blk_sz, u32 *crc32) argument
134 ret = write_all(out, copybuf, chunk);
145 int process_skip_chunk(int out, u32 blocks, u32 blk_sz, u32 *crc32) argument
152 lseek64(out, len, SEEK_CUR);
180 int out; local
208 out = STDOUT_FILENO;
210 if ((out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0666)) == 0) {
265 total_blocks += process_raw_chunk(in, out,
[all...]
/system/media/audio_utils/include/audio_utils/
H A Dprimitives.h26 * Dither and clamp pairs of 32-bit input samples (sums) to 16-bit output samples (out).
30 * and out is an array of interleaved pairs of 16-bit samples per channel.
31 * For mono, c is the number of samples / 2, and out is an array of 16-bit samples.
35 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c);
64 int32_t out; local
65 asm( "smlabb %[out], %[in], %[v], %[a] \n"
66 : [out]"=r"(out)
69 return out;
82 int32_t out; local
100 int32_t out; local
129 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/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/toolbox/
H A Ddd.c85 extern IO in, out;
109 IO in, out; /* input/output state */ variable
184 if (out.name == NULL) {
186 out.fd = STDOUT_FILENO;
187 out.name = "stdout";
191 out.fd = open(out.name, O_RDWR | OFLAGS /*, DEFFILEMODE */);
197 if (out.fd < 0) {
198 out.fd = open(out
[all...]
H A Dls.c51 static void mode2str(unsigned mode, char *out) argument
53 *out++ = mode2kind(mode);
55 *out++ = (mode & 0400) ? 'r' : '-';
56 *out++ = (mode & 0200) ? 'w' : '-';
58 *out++ = (mode & 0100) ? 's' : 'S';
60 *out++ = (mode & 0100) ? 'x' : '-';
62 *out++ = (mode & 040) ? 'r' : '-';
63 *out++ = (mode & 020) ? 'w' : '-';
65 *out++ = (mode & 010) ? 's' : 'S';
67 *out
79 user2str(unsigned uid, char *out) argument
89 group2str(unsigned gid, char *out) argument
[all...]
H A Dgetsebool.c59 fprintf(stderr, "%s: out of memory\n", argv[0]);
65 fprintf(stderr, "%s: out of memory\n",
80 goto out;
87 goto out;
99 out:
/system/core/libsuspend/
H A Dautosuspend.c40 goto out;
45 goto out;
50 goto out;
58 out:
/system/bluetooth/bluedroid/
H A Dbluetooth.c81 if (init_rfkill()) goto out;
88 goto out;
94 goto out;
106 out:
118 if (init_rfkill()) goto out;
125 goto out;
131 goto out;
135 out:
156 if (set_bluetooth_power(1) < 0) goto out;
162 goto out;
[all...]
/system/core/libctest/
H A Dctest.c38 FILE* out; member in struct:__anon377
52 suite->out = tmpfile();
53 assert(suite->out != NULL);
77 rewind(suite->out);
80 while ((read = fread(buffer, sizeof(char), 512, suite->out)) > 0) {
132 fprintf(suite->out, "Process failed: [%s] status: %d\n",
134 fflush(suite->out);
154 fprintf(suite->out, "Assertion failed: [%s:%d] %s: %s\n", file, line,
156 fflush(suite->out);
/system/core/sdcard/
H A Dsdcard.c136 char *out = buf + PATH_BUFFER_SIZE - 1; local
138 out[0] = 0;
150 if ((len + 1) > (out - buf))
152 out -= len;
153 memcpy(out, name, len);
155 if (out[0] != '/') {
156 out --;
157 out[0] = '/';
164 if (in_name && match_case_insensitive && access(out, F_OK) != 0) {
172 return out;
505 struct fuse_entry_out out; local
562 struct fuse_attr_out out; local
575 struct fuse_attr_out out; local
654 struct fuse_entry_out out; local
744 struct fuse_open_out out; local
789 struct fuse_write_out out; local
804 struct fuse_statfs_out out; local
845 struct fuse_open_out out; local
907 struct fuse_init_out out; local
[all...]
/system/media/audio_utils/
H A Dprimitives.c19 void ditherAndClamp(int32_t* out, int32_t const *sums, size_t c) argument
29 *out++ = (r<<16) | (l & 0xFFFF);
H A Dresampler.c74 int16_t *out,
79 if (rsmp == NULL || out == NULL || outFrameCount == NULL) {
127 out + framesWr,
133 out + framesWr * rsmp->channel_count,
139 "ReSampler::resample() remaining %d frames in and %d frames out",
155 int16_t *out,
161 out == NULL || outFrameCount == NULL) {
174 out,
180 out,
184 ALOGV("resampler_resample_from_input() DONE in %d out
73 resampler_resample_from_provider(struct resampler_itfe *resampler, int16_t *out, size_t *outFrameCount) argument
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.c85 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument
97 fix_stat(out, s);
98 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode);
116 out,
122 if(strlen(out) != (unsigned int)olen) die("ACK!");
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);
208 out[olen] = '/';
209 memcpy(out
224 _archive(char *in, char *out, int ilen, int olen) argument
270 char out[8192]; local
[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) {
189 for (f = *out; f != NULL; f = f->next) {
194 *out = NULL;
217 for (f = *out; f != NULL; f = f->next) {
222 *out = NULL;
232 res->next = *out;
233 *out = res;
236 if (recurse(algorithm, name, out) < 0) {
267 struct list *out = NULL; local
276 if (recurse(algorithm, directory_path, &out) <
129 recurse(HashAlgorithm algorithm, const char *directory_path, struct list **out) argument
[all...]
/system/extras/libpagemap/
H A Dpm_map.c52 if (error) goto out;
64 out:
88 if (error) goto out;
95 if (error) goto out;
108 out:
/system/extras/fatblock/
H A Dimport.c95 static int import_file(struct fs *fs, char *path, struct imported *out) argument
111 "out of memory\n", path);
118 WARN("importing %s: couldn't strdup path: out of memory\n",
132 f->size, EXTENT_TYPE_FILE, &out->first_cluster);
138 out->size = f->size;
139 out->dot_dot_dirent = NULL;
194 struct imported *out)
225 "out of memory\n", path);
232 WARN("importing %s: couldn't strdup path: out of memory\n",
256 "out o
193 import_dir(struct fs *fs, char *path, int is_root, struct imported *out) argument
[all...]
/system/core/libsysutils/src/
H A DFrameworkListener.cpp110 goto out;
136 goto out;
164 goto out;
170 goto out;
180 goto out;
185 out:
194 goto out;
/system/core/sh/
H A Dparser.c751 goto out;
761 out:
911 char *out; local
928 (void) &out;
950 STARTSTACKSTR(out);
964 CHECKSTRSPACE(4, out); /* permit 4 calls to USTPUTC */
969 USTPUTC(c, out);
978 USTPUTC(c, out);
982 USTPUTC(CTLESC, out);
983 USTPUTC(c, out);
[all...]
/system/extras/libublock/
H A Dublock.c70 void *out, size_t *out_len)
77 assert(out);
87 out_h = (struct ublock_init_out *)out;
106 void *out, size_t *out_len)
112 assert(out);
126 void *out, size_t *out_len)
134 assert(out);
141 out_h = (struct ublock_read_out *)out;
156 void *out, size_t *out_len)
164 assert(out);
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.c51 unsigned char out[CHUNK]; local
75 strm.next_out = out;
78 if (fwrite(out, 1, have, dest) != have || ferror(dest)) {
99 static unsigned char out[CHUNK]; local
125 strm.next_out = out;
221 FILE* out = NULL; local
235 out = fopen( tempfile, "wb" );
236 if (out == NULL) {
244 ret = def( f, out, compression_level );
249 fclose( out );
[all...]

Completed in 7262 milliseconds

123