Searched defs:out (Results 1 - 25 of 31) sorted by path

12

/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h2430 uint8_t out; member in struct:hci_conn_info
/system/bluetooth/brcm_patchram_plus/
H A Dbrcm_patchram_plus.c553 dump(uchar *out, int len) argument
562 fprintf(stderr, "%02x ", out[i]);
/system/core/adb/
H A Dadb.c910 ** AID_NET_BW_STATS to read out qtaguid statistics
1196 char *out = "unknown"; local
1199 out = transport->serial;
1201 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(out),out);
H A Dcommandline.c72 void version(FILE * out) { argument
73 fprintf(out, "Android Debug Bridge version %d.%d.%d\n",
92 " out directory like 'out/target/product/sooner'.\n"
757 * e.g., "out/target/product/sooner"
759 * e.g., "/src/device/out/target/product/sooner"
807 //TODO: if we have a way to indicate debug, look in out/debug/target/...
810 "out" OS_PATH_SEPARATOR_STR
903 /* out of recognized modifiers and flags */
1370 out wit
[all...]
H A Dusb_linux.c257 // we have a match. now we just need to figure out which is in and which is out.
318 /* time out after five seconds */
342 struct usbdevfs_urb *out = NULL; local
371 res = ioctl(h->desc, USBDEVFS_REAPURB, &out);
387 out, out->status, out->actual_length);
389 if(out == &h->urb_in) {
399 if(out
[all...]
/system/core/cpio/
H A Dmkbootfs.c45 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument
57 fix_stat(out, s);
58 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode);
76 out,
82 if(strlen(out) != olen) die("ACK!");
107 static void _archive(char *in, char *out, int ilen, int olen);
113 static void _archive_dir(char *in, char *out, int ilen, int olen) argument
121 in, out, ilen, olen);
168 out[olen] = '/';
169 memcpy(out
184 _archive(char *in, char *out, int ilen, int olen) argument
230 char out[8192]; local
[all...]
/system/core/fastboot/
H A Dfastboot.c345 const char **out; local
388 out = malloc(sizeof(char*) * count);
389 if (out == 0) return -1;
392 out[n] = strdup(strip(val[n]));
393 if (out[n] == 0) return -1;
396 fb_queue_require(prod, name, invert, n, out);
409 die("out of memory");
464 if (tmp == 0) die("out of memory");
H A Dusb_linux.c107 int in, out; local
166 out = -1;
184 out = ept->bEndpointAddress;
189 info.has_bulk_out = (out != -1);
193 *ept_out_id = out;
207 int n, in, out, ifc; local
244 &in, &out, &ifc) == 0) {
248 usb->ep_out = out;
/system/core/init/
H A Dbootchart.c125 FILE* out; local
135 out = fopen( LOG_HEADER, "w" );
136 if (out == NULL)
151 fprintf(out, "version = %s\n", VERSION);
152 fprintf(out, "title = Boot chart for Android ( %s )\n", date);
153 fprintf(out, "system.uname = %s\n", uname);
154 fprintf(out, "system.release = 0.0\n");
155 fprintf(out, "system.cpu = %s\n", cpu);
156 fprintf(out, "system.kernel.options = %s\n", cmdline);
157 fclose(out);
[all...]
/system/core/libctest/
H A Dctest.c38 FILE* out; member in struct:__anon364
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/libcutils/
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...]
H A Dstr_parms.c233 float out; local
241 out = strtof(value, &end);
/system/core/libzipfile/
H A Dzipfile.c79 uninflate(unsigned char* out, int unlen, const unsigned char* in, int clen) argument
92 zstream.next_out = (Bytef*) 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/core/sh/
H A Djobs.c161 goto out;
181 goto out;
185 goto out;
189 out:
382 showjob(struct output *out, struct job *jp, int mode) argument
393 outfmt(out, "%ld\n", (long)jp->ps->pid);
476 outstr(s, out);
478 outc(' ', out);
481 outstr(ps->cmd, out);
484 outc(' ', out);
534 showjobs(struct output *out, int mode) argument
[all...]
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/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.c46 static void mode2str(unsigned mode, char *out) argument
48 *out++ = mode2kind(mode);
50 *out++ = (mode & 0400) ? 'r' : '-';
51 *out++ = (mode & 0200) ? 'w' : '-';
53 *out++ = (mode & 0100) ? 's' : 'S';
55 *out++ = (mode & 0100) ? 'x' : '-';
57 *out++ = (mode & 040) ? 'r' : '-';
58 *out++ = (mode & 020) ? 'w' : '-';
60 *out++ = (mode & 010) ? 's' : 'S';
62 *out
74 user2str(unsigned uid, char *out) argument
84 group2str(unsigned gid, char *out) argument
[all...]
/system/extras/ext4_utils/
H A Dext2simg.c169 const char *out = NULL; local
206 out = argv[optind++];
225 write_ext4_image(out, gzip, sparse, crc, 0);
H A Dext4_utils.c144 struct output_file *out = open_output_file(filename, gz, sparse, local
147 if (!out)
150 for_each_data_block(ext4_write_data_block, ext4_write_data_file, ext4_write_fill_block, out);
152 pad_output_file(out, info.len);
154 close_output_file(out);
319 * This is not an issue, except when we write out the super
H A Doutput_file.c59 static int file_seek(struct output_file *out, off64_t off) argument
63 ret = lseek64(out->fd, off, SEEK_SET);
71 static int file_write(struct output_file *out, u8 *data, int len) argument
74 ret = write(out->fd, data, len);
86 static void file_close(struct output_file *out) argument
88 close(out->fd);
98 static int gz_file_seek(struct output_file *out, off64_t off) argument
102 ret = gzseek(out->gz_fd, off, SEEK_SET);
110 static int gz_file_write(struct output_file *out, u8 *data, int len) argument
113 ret = gzwrite(out
125 gz_file_close(struct output_file *out) argument
150 emit_skip_chunk(struct output_file *out, u64 skip_len) argument
178 write_chunk_fill(struct output_file *out, u64 off, u32 fill_val, int len) argument
251 write_chunk_raw(struct output_file *out, u64 off, u8 *data, int len) argument
321 close_output_file(struct output_file *out) argument
350 struct output_file *out = malloc(sizeof(struct output_file)); local
409 pad_output_file(struct output_file *out, u64 len) argument
446 write_data_block(struct output_file *out, u64 off, u8 *data, int len) argument
470 write_fill_block(struct output_file *out, u64 off, u32 fill_val, int len) argument
508 write_data_file(struct output_file *out, u64 off, const char *file, off64_t offset, int len) argument
[all...]
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/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...]
H A Dread.c28 static int buffer_read(char *buf, offset_t buf_len, char *out, argument
32 assert(out);
35 memset(out, 0, len);
40 memset(out + (buf_len - off), 0, len - (buf_len - off));
47 memcpy(out, buf + off, len);
/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...]

Completed in 290 milliseconds

12