/system/core/libsparse/ |
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 106 container_of((_o), struct output_file_gz, out) 109 struct output_file out; member 114 container_of((_o), struct output_file_normal, out) 117 struct output_file out; member 123 container_of((_o), struct output_file_callback, out) [all …]
|
D | sparse.c | 103 static void sparse_file_write_block(struct output_file *out, in sparse_file_write_block() argument 108 write_data_chunk(out, backed_block_len(bb), backed_block_data(bb)); in sparse_file_write_block() 111 write_file_chunk(out, backed_block_len(bb), in sparse_file_write_block() 115 write_fd_chunk(out, backed_block_len(bb), in sparse_file_write_block() 119 write_fill_chunk(out, backed_block_len(bb), in sparse_file_write_block() 125 static int write_all_blocks(struct sparse_file *s, struct output_file *out) in write_all_blocks() argument 135 write_skip_chunk(out, (int64_t)blocks * s->block_size); in write_all_blocks() 137 sparse_file_write_block(out, bb); in write_all_blocks() 145 write_skip_chunk(out, pad); in write_all_blocks() 156 struct output_file *out; in sparse_file_write() local [all …]
|
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);
|
D | simg2img.c | 41 int out; in main() local 51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); in main() 52 if (out < 0) { in main() 74 lseek(out, SEEK_SET, 0); in main() 76 ret = sparse_file_write(s, out, false, false, false); in main() 85 close(out); in main()
|
D | img2simg.c | 49 int out; in main() local 81 out = STDOUT_FILENO; in main() 83 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); in main() 84 if (out < 0) { in main() 106 ret = sparse_file_write(s, out, false, true, false); in main() 113 close(out); in main()
|
D | simg2simg.c | 45 int out; in main() local 98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); in main() 99 if (out < 0) { in main() 104 ret = sparse_file_write(out_s[i], out, false, true, false); in main() 109 close(out); in main()
|
/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 35 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c); 84 int32_t out; in mulAdd() local 86 : [out]"=r"(out) in mulAdd() 89 return out; in mulAdd() 102 int32_t out; in mul() local 104 : [out]"=r"(out) in mul() 107 return out; in mul() 120 int32_t out; in mulAddRL() local 123 : [out]"=r"(out) in mulAddRL() 128 : [out]"=r"(out) in mulAddRL() [all …]
|
/system/core/toolbox/ |
D | dd.c | 85 extern IO in, out; 107 IO in, out; /* input/output state */ variable 182 if (out.name == NULL) { in setup() 184 out.fd = STDOUT_FILENO; in setup() 185 out.name = "stdout"; in setup() 189 out.fd = open(out.name, O_RDWR | OFLAGS, DEFFILEMODE); in setup() 195 if (out.fd < 0) { in setup() 196 out.fd = open(out.name, O_WRONLY | OFLAGS, DEFFILEMODE); in setup() 197 out.flags |= NOREAD; in setup() 199 if (out.fd < 0) { in setup() [all …]
|
D | ls.c | 51 static void mode2str(unsigned mode, char *out) in mode2str() argument 53 *out++ = mode2kind(mode); in mode2str() 55 *out++ = (mode & 0400) ? 'r' : '-'; in mode2str() 56 *out++ = (mode & 0200) ? 'w' : '-'; in mode2str() 58 *out++ = (mode & 0100) ? 's' : 'S'; in mode2str() 60 *out++ = (mode & 0100) ? 'x' : '-'; in mode2str() 62 *out++ = (mode & 040) ? 'r' : '-'; in mode2str() 63 *out++ = (mode & 020) ? 'w' : '-'; in mode2str() 65 *out++ = (mode & 010) ? 's' : 'S'; in mode2str() 67 *out++ = (mode & 010) ? 'x' : '-'; in mode2str() [all …]
|
D | lsof.c | 79 goto out; in print_type() 88 goto out; in print_type() 94 out: in print_type() 114 goto out; in print_maps() 129 out: in print_maps() 149 goto out; in print_fds() 161 out: in print_fds()
|
/system/bluetooth/bluedroid/ |
D | bluetooth.c | 81 if (init_rfkill()) goto out; in check_bluetooth_power() 88 goto out; in check_bluetooth_power() 94 goto out; in check_bluetooth_power() 106 out: in check_bluetooth_power() 118 if (init_rfkill()) goto out; in set_bluetooth_power() 125 goto out; in set_bluetooth_power() 131 goto out; in set_bluetooth_power() 135 out: in set_bluetooth_power() 158 if (set_bluetooth_power(1) < 0) goto out; in bt_enable() 173 goto out; in bt_enable() [all …]
|
/system/core/cpio/ |
D | mkbootfs.c | 85 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) in _eject() argument 97 fix_stat(out, s); in _eject() 116 out, in _eject() 122 if(strlen(out) != (unsigned int)olen) die("ACK!"); in _eject() 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) in _archive_dir() argument 161 in, out, ilen, olen); in _archive_dir() 208 out[olen] = '/'; in _archive_dir() 209 memcpy(out + olen + 1, names[i], t + 1); in _archive_dir() 210 _archive(in, out, ilen + t + 1, olen + t + 1); in _archive_dir() [all …]
|
/system/core/libctest/ |
D | ctest.c | 38 FILE* out; member 52 suite->out = tmpfile(); in getTestSuite() 53 assert(suite->out != NULL); in getTestSuite() 77 rewind(suite->out); in printFailures() 80 while ((read = fread(buffer, sizeof(char), 512, suite->out)) > 0) { in printFailures() 132 fprintf(suite->out, "Process failed: [%s] status: %d\n", in runTests() 134 fflush(suite->out); in runTests() 154 fprintf(suite->out, "Assertion failed: [%s:%d] %s: %s\n", file, line, in assertTrueWithSource() 156 fflush(suite->out); in assertTrueWithSource()
|
/system/core/sh/ |
D | parser.c | 751 goto out; in readtoken() 761 out: in readtoken() 911 char *out; in readtoken1() local 928 (void) &out; in readtoken1() 950 STARTSTACKSTR(out); in readtoken1() 964 CHECKSTRSPACE(4, out); /* permit 4 calls to USTPUTC */ in readtoken1() 969 USTPUTC(c, out); in readtoken1() 978 USTPUTC(c, out); in readtoken1() 982 USTPUTC(CTLESC, out); in readtoken1() 983 USTPUTC(c, out); in readtoken1() [all …]
|
/system/core/libsuspend/ |
D | autosuspend.c | 40 goto out; in autosuspend_init() 45 goto out; in autosuspend_init() 50 goto out; in autosuspend_init() 58 out: in autosuspend_init()
|
/system/core/libcutils/ |
D | dir_hash.c | 130 struct list **out) { in recurse() argument 189 for (f = *out; f != NULL; f = f->next) { in recurse() 194 *out = NULL; in recurse() 217 for (f = *out; f != NULL; f = f->next) { in recurse() 222 *out = NULL; in recurse() 232 res->next = *out; in recurse() 233 *out = res; in recurse() 236 if (recurse(algorithm, name, out) < 0) { in recurse() 267 struct list *out = NULL; in get_recursive_hash_manifest() local 276 if (recurse(algorithm, directory_path, &out) < 0) { in get_recursive_hash_manifest() [all …]
|
D | uevent.c | 72 goto out; in uevent_kernel_multicast_uid_recv() 79 goto out; in uevent_kernel_multicast_uid_recv() 84 goto out; in uevent_kernel_multicast_uid_recv() 89 out: in uevent_kernel_multicast_uid_recv()
|
/system/extras/tests/bionic/libc/other/ |
D | test_zlib.c | 51 unsigned char out[CHUNK]; in def() local 75 strm.next_out = out; in def() 78 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in def() 99 static unsigned char out[CHUNK]; in inf() local 125 strm.next_out = out; in inf() 221 FILE* out = NULL; in main() local 235 out = fopen( tempfile, "wb" ); in main() 236 if (out == NULL) { in main() 244 ret = def( f, out, compression_level ); in main() 249 fclose( out ); in main()
|
/system/core/sdcard/ |
D | sdcard.c | 472 struct fuse_entry_out out; in fuse_reply_entry() local 485 memset(&out, 0, sizeof(out)); in fuse_reply_entry() 486 attr_from_stat(&out.attr, &s, node->nid); in fuse_reply_entry() 487 out.attr_valid = 10; in fuse_reply_entry() 488 out.entry_valid = 10; in fuse_reply_entry() 489 out.nodeid = node->nid; in fuse_reply_entry() 490 out.generation = node->gen; in fuse_reply_entry() 492 fuse_reply(fuse, unique, &out, sizeof(out)); in fuse_reply_entry() 499 struct fuse_attr_out out; in fuse_reply_attr() local 505 memset(&out, 0, sizeof(out)); in fuse_reply_attr() [all …]
|
/system/extras/libublock/ |
D | ublock.c | 70 void *out, size_t *out_len) in ublock_handle_init() argument 77 assert(out); in ublock_handle_init() 87 out_h = (struct ublock_init_out *)out; in ublock_handle_init() 106 void *out, size_t *out_len) in ublock_handle_ready() argument 112 assert(out); in ublock_handle_ready() 126 void *out, size_t *out_len) in ublock_handle_read() argument 134 assert(out); in ublock_handle_read() 141 out_h = (struct ublock_read_out *)out; in ublock_handle_read() 156 void *out, size_t *out_len) in ublock_handle_write() argument 164 assert(out); in ublock_handle_write() [all …]
|
/system/core/fastboot/ |
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/core/libsysutils/src/ |
D | FrameworkListener.cpp | 110 goto out; in dispatchCommand() 136 goto out; in dispatchCommand() 164 goto out; in dispatchCommand() 170 goto out; in dispatchCommand() 180 goto out; in dispatchCommand() 185 out: in dispatchCommand() 194 goto out; in dispatchCommand()
|
/system/extras/fatblock/ |
D | import.c | 95 static int import_file(struct fs *fs, char *path, struct imported *out) in import_file() argument 132 f->size, EXTENT_TYPE_FILE, &out->first_cluster); in import_file() 138 out->size = f->size; in import_file() 139 out->dot_dot_dirent = NULL; in import_file() 194 struct imported *out) in import_dir() argument 295 ret = fs_alloc_extent(fs, &d->extent, d->size, EXTENT_TYPE_DIR, &out->first_cluster); in import_dir() 303 out->first_cluster = 0; in import_dir() 305 my_first_cluster = is_root ? 0 : out->first_cluster; in import_dir() 331 out->dot_dot_dirent = &d->entries[0]; /* will set first_cluster */ in import_dir() 337 out->dot_dot_dirent = NULL; in import_dir() [all …]
|
/system/core/init/ |
D | bootchart.c | 125 FILE* out; in log_header() local 135 out = fopen( LOG_HEADER, "w" ); in log_header() 136 if (out == NULL) in log_header() 151 fprintf(out, "version = %s\n", VERSION); in log_header() 152 fprintf(out, "title = Boot chart for Android ( %s )\n", date); in log_header() 153 fprintf(out, "system.uname = %s\n", uname); in log_header() 154 fprintf(out, "system.release = 0.0\n"); in log_header() 155 fprintf(out, "system.cpu = %s\n", cpu); in log_header() 156 fprintf(out, "system.kernel.options = %s\n", cmdline); in log_header() 157 fclose(out); in log_header()
|
/system/extras/libpagemap/ |
D | pm_map.c | 52 if (error) goto out; in pm_map_usage() 64 out: in pm_map_usage() 88 if (error) goto out; in pm_map_workingset() 95 if (error) goto out; in pm_map_workingset() 108 out: in pm_map_workingset()
|