/system/core/libsparse/ |
H A D | output_file.c | 78 int (*write_data_chunk)(struct output_file *out, unsigned int len, 80 int (*write_fill_chunk)(struct output_file *out, unsigned int len, 82 int (*write_skip_chunk)(struct output_file *out, int64_t len); 83 int (*write_end_chunk)(struct output_file *out); 101 struct output_file out; member in struct:output_file_gz 106 container_of((_o), struct output_file_gz, out) 109 struct output_file out; member in struct:output_file_normal 114 container_of((_o), struct output_file_normal, out) 117 struct output_file out; member in struct:output_file_callback 123 container_of((_o), struct output_file_callback, out) 125 file_open(struct output_file *out, int fd) argument 133 file_skip(struct output_file *out, int64_t cnt) argument 146 file_pad(struct output_file *out, int64_t len) argument 159 file_write(struct output_file *out, void *data, int len) argument 176 file_close(struct output_file *out) argument 191 gz_file_open(struct output_file *out, int fd) argument 205 gz_file_skip(struct output_file *out, int64_t cnt) argument 218 gz_file_pad(struct output_file *out, int64_t len) argument 242 gz_file_write(struct output_file *out, void *data, int len) argument 259 gz_file_close(struct output_file *out) argument 275 callback_file_open(struct output_file *out, int fd) argument 280 callback_file_skip(struct output_file *out, int64_t off) argument 298 callback_file_pad(struct output_file *out, int64_t len) argument 303 callback_file_write(struct output_file *out, void *data, int len) argument 311 callback_file_close(struct output_file *out) argument 348 write_sparse_skip_chunk(struct output_file *out, int64_t skip_len) argument 374 write_sparse_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument 410 write_sparse_data_chunk(struct output_file *out, unsigned int len, void *data) argument 451 write_sparse_end_chunk(struct output_file *out) argument 484 write_normal_data_chunk(struct output_file *out, unsigned int len, void *data) argument 502 write_normal_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument 527 write_normal_skip_chunk(struct output_file *out, int64_t len) argument 532 write_normal_end_chunk(struct output_file *out) argument 544 output_file_close(struct output_file *out) argument 552 output_file_init(struct output_file *out, int block_size, int64_t len, bool sparse, int chunks, bool crc) argument 671 struct output_file *out; local 691 write_data_chunk(struct output_file *out, unsigned int len, void *data) argument 697 write_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument 703 write_fd_chunk(struct output_file *out, unsigned int len, int fd, int64_t offset) argument 752 write_file_chunk(struct output_file *out, unsigned int len, const char *file, int64_t offset) argument 769 write_skip_chunk(struct output_file *out, int64_t len) argument [all...] |
H A D | output_file.h | 29 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 D | sparse_file.h | 28 struct output_file *out; member in struct:sparse_file
|
H A D | sparse.c | 103 static void sparse_file_write_block(struct output_file *out, argument 108 write_data_chunk(out, backed_block_len(bb), backed_block_data(bb)); 111 write_file_chunk(out, backed_block_len(bb), 115 write_fd_chunk(out, backed_block_len(bb), 119 write_fill_chunk(out, backed_block_len(bb), 125 static int write_all_blocks(struct sparse_file *s, struct output_file *out) argument 135 write_skip_chunk(out, (int64_t)blocks * s->block_size); 137 sparse_file_write_block(out, bb); 145 write_skip_chunk(out, pad); 156 struct output_file *out; local 176 struct output_file *out; local 204 struct output_file *out; local [all...] |
H A D | simg2img.c | 41 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 D | img2simg.c | 49 int out; local 81 out = STDOUT_FILENO; 83 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 84 if (out < 0) { 106 ret = sparse_file_write(s, out, false, true, false); 113 close(out);
|
H A D | simg2simg.c | 45 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/fastboot/ |
H A D | p12topem.sh | 9 openssl pkcs12 -passin pass:"$2" -passout pass:"$2" -in $1.p12 -out $1.pem
|
H A D | genkey.sh | 11 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/media/audio_utils/include/audio_utils/ |
H A D | primitives.h | 26 * 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); 84 int32_t out; local 85 asm( "smlabb %[out], %[in], %[v], %[a] \n" 86 : [out]"=r"(out) 89 return out; 102 int32_t out; local 120 int32_t out; local 149 int32_t out; local [all...] |
H A D | resampler.h | 68 * 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/toolbox/ |
H A D | dd.c | 85 extern IO in, out; 107 IO in, out; /* input/output state */ variable 182 if (out.name == NULL) { 184 out.fd = STDOUT_FILENO; 185 out.name = "stdout"; 189 out.fd = open(out.name, O_RDWR | OFLAGS, DEFFILEMODE); 195 if (out.fd < 0) { 196 out.fd = open(out [all...] |
H A D | ls.c | 51 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...] |
/system/core/libsuspend/ |
H A D | autosuspend.c | 40 goto out; 45 goto out; 50 goto out; 58 out:
|
/system/bluetooth/bluedroid/ |
H A D | bluetooth.c | 81 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: 158 if (set_bluetooth_power(1) < 0) goto out; 173 goto out; [all...] |
/system/core/libctest/ |
H A D | ctest.c | 38 FILE* out; member in struct:__anon387 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/cpio/ |
H A D | mkbootfs.c | 85 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 D | uevent.c | 72 goto out; 79 goto out; 84 goto out; 89 out:
|
H A D | dir_hash.c | 130 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 D | pm_map.c | 52 if (error) goto out; 64 out: 88 if (error) goto out; 95 if (error) goto out; 108 out:
|
/system/extras/fatblock/ |
H A D | import.c | 95 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 D | FrameworkListener.cpp | 110 goto out; 136 goto out; 164 goto out; 170 goto out; 180 goto out; 185 out: 194 goto out;
|
/system/core/sh/ |
H A D | parser.c | 751 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 D | ublock.c | 70 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/core/sdcard/ |
H A D | sdcard.c | 472 struct fuse_entry_out out; local 485 memset(&out, 0, sizeof(out)); 486 attr_from_stat(&out.attr, &s, node->nid); 487 out.attr_valid = 10; 488 out.entry_valid = 10; 489 out.nodeid = node->nid; 490 out.generation = node->gen; 492 fuse_reply(fuse, unique, &out, sizeof(out)); 499 struct fuse_attr_out out; local 806 struct fuse_open_out out; local 865 struct fuse_write_out out; local 885 struct fuse_statfs_out out; local 950 struct fuse_open_out out; local 1020 struct fuse_init_out out; local [all...] |