Searched defs:out (Results 1 - 25 of 34) sorted by last modified time

12

/system/security/keystore/
H A Dkeystore.cpp136 goto out;
143 goto out;
148 out:
164 static int encode_key(char* out, const Value* key) { argument
167 for (int i = length; i > 0; --i, ++in, ++out) {
169 *out = *in;
171 *out = '+' + (*in >> 6);
172 *++out = '0' + (*in & 0x3F);
176 *out = '\0';
180 static int encode_key_for_uid(char* out, uid_ argument
187 decode_key(uint8_t* out, const char* in, int length) argument
379 int out = open(tmpFileName, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR); local
[all...]
/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.c1155 ** AID_NET_BW_STATS to read out qtaguid statistics
1449 char *out = "unknown"; local
1452 out = transport->serial;
1454 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(out),out);
1459 char *out = "unknown"; local
1462 out = transport->devpath;
1464 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"
844 * e.g., "out/target/product/sooner"
846 * e.g., "/src/device/out/target/product/sooner"
894 //TODO: if we have a way to indicate debug, look in out/debug/target/...
897 "out" OS_PATH_SEPARATOR_STR
990 /* out of recognized modifiers and flags */
1476 out wit
[all...]
H A Dusb_linux.c263 // we have a match. now we just need to figure out which is in and which is out.
343 /* time out after five seconds */
367 struct usbdevfs_urb *out = NULL; local
396 res = ioctl(h->desc, USBDEVFS_REAPURB, &out);
412 out, out->status, out->actual_length);
414 if(out == &h->urb_in) {
424 if(out
[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/fastboot/
H A Dfastboot.c407 const char **out; local
450 out = malloc(sizeof(char*) * count);
451 if (out == 0) return -1;
454 out[n] = strdup(strip(val[n]));
455 if (out[n] == 0) return -1;
458 fb_queue_require(prod, name, invert, n, out);
471 die("out of memory");
642 if (tmp == 0) die("out of memory");
H A Dusb_linux.c108 int in, out; local
208 out = -1;
226 out = ept->bEndpointAddress;
231 info.has_bulk_out = (out != -1);
235 *ept_out_id = out;
249 int n, in, out, ifc; local
286 &in, &out, &ifc) == 0) {
290 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:__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/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.c272 float out; local
280 out = strtof(value, &end);
/system/core/libsparse/
H A Dimg2simg.c49 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 Doutput_file.c78 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 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);
H A Dsparse.c103 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 Dsparse_file.h28 struct output_file *out; member in struct:sparse_file
/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.c472 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...]
/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;
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 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...]

Completed in 256 milliseconds

12