/system/core/toolbox/ |
D | dd.c | 85 extern IO in, out; 109 IO in, out; /* input/output state */ variable 159 if (in.name == NULL) { in setup() 160 in.name = "stdin"; in setup() 161 in.fd = STDIN_FILENO; in setup() 163 in.fd = open(in.name, O_RDONLY, 0); in setup() 164 if (in.fd < 0) { in setup() 166 in.name, strerror(errno)); in setup() 172 in.fd = redup_clean_fd(in.fd); in setup() 175 getfdtype(&in); in setup() [all …]
|
/system/core/cpio/ |
D | mkbootfs.c | 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() 164 d = opendir(in); in _archive_dir() 165 if(d == 0) die("cannot open directory '%s'", in); in _archive_dir() 204 in[ilen] = '/'; in _archive_dir() 205 memcpy(in + ilen + 1, names[i], t + 1); in _archive_dir() 210 _archive(in, out, ilen + t + 1, olen + t + 1); in _archive_dir() 213 _archive(in, out, ilen + t + 1, t); in _archive_dir() 216 in[ilen] = 0; in _archive_dir() [all …]
|
/system/extras/ext4_utils/ |
D | simg2img.c | 88 int process_raw_chunk(int in, int out, u32 blocks, u32 blk_sz, u32 *crc32) in process_raw_chunk() argument 96 ret = read_all(in, copybuf, chunk); in process_raw_chunk() 115 int process_fill_chunk(int in, int out, u32 blocks, u32 blk_sz, u32 *crc32) in process_fill_chunk() argument 125 ret = read_all(in, &fill_val, sizeof(fill_val)); in process_fill_chunk() 157 int process_crc32_chunk(int in, u32 crc32) in process_crc32_chunk() argument 162 ret = read_all(in, &file_crc32, 4); in process_crc32_chunk() 179 int in; in main() local 199 in = STDIN_FILENO; in main() 201 if ((in = open(argv[1], O_RDONLY)) == 0) { in main() 216 ret = read_all(in, &sparse_header, sizeof(sparse_header)); in main() [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 61 int32_t mulAdd(int16_t in, int16_t v, int32_t a) in mulAdd() argument 67 : [in]"%r"(in), [v]"r"(v), [a]"r"(a) in mulAdd() 71 return a + in * (int32_t)v; in mulAdd() 79 int32_t mul(int16_t in, int16_t v) in mul() argument 85 : [in]"%r"(in), [v]"r"(v) in mul() 89 return in * (int32_t)v; in mul()
|
/system/extras/libublock/ |
D | ublock.c | 69 const void *in, size_t in_len, in ublock_handle_init() argument 76 assert(in); in ublock_handle_init() 82 in_h = (const struct ublock_init_in *)in; in ublock_handle_init() 105 const void *in, size_t in_len, in ublock_handle_ready() argument 111 assert(in); in ublock_handle_ready() 125 const void *in, size_t in_len, in ublock_handle_read() argument 133 assert(in); in ublock_handle_read() 139 in_h = (const struct ublock_read_in *)in; in ublock_handle_read() 155 const void *in, size_t in_len, in ublock_handle_write() argument 163 assert(in); in ublock_handle_write() [all …]
|
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/sh/ |
D | nodetypes | 8 # Redistribution and use in source and binary forms, with or without 13 # 2. Redistributions in binary form must reproduce the above copyright 14 # notice, this list of conditions and the following disclaimer in the 34 # This file describes the nodes used in parse trees. Unindented lines 37 # the same structure, in which case the fields of the structure should be 58 backgnd int # set to run command in background 64 backgnd int # set to run pipeline in background 65 cmdlist nodelist # the commands in the pipeline 72 NBACKGND nredir # run command in background 73 NSUBSHELL nredir # run command in a subshell [all …]
|
D | TOUR | 18 be compiled stand-alone. The rest of the source is in the main 56 Mkinit recognizes several constructs for placing declarations in 60 available in the init.c file, for example: 71 INDENTATION: The ash source is indented in multiples of six 73 cluded that the optimal amount to indent is in the range of four 79 EXCEPTIONS: Code for dealing with exceptions appears in 93 command.) The INTOFF and INTON macros (defined in exception.h) 103 to free up the memory in use at the time of the exception is to 108 strings on the stack without knowing in advance how long the 113 The folloing three macros (defined in memalloc.h) perform these [all …]
|
/system/extras/tests/bionic/libstdc++/ |
D | README.TXT | 13 All test programs should exit with a status code of 0 in case of success, and 1 14 in case of failure. 17 want to add GNU STDC++ or benchmark tests, look in tests/bionic/libc as an
|
/system/extras/tests/fstest/ |
D | README | 15 Entries in the perm_checker.conf file are of the following form: 21 A fully specified path name, which must end in / ex: /dev/ 24 A recursive path specification, which ends in /... ex: /dev/... 25 A wildcard file specification, which ends in * ex: /dev/tty* 27 By convention /dev/* will include all files directly in /dev/, but not files 28 that are in subdirectories of /dev/, such as /dev/input/, unlike a 29 recursive path specification. The wildcard notation * will never result in 34 rule with the same name as the symlink exists, in which case the permissions
|
/system/extras/tests/bionic/libc/other/ |
D | test_zlib.c | 50 unsigned char in[CHUNK]; in def() local 63 strm.avail_in = fread(in, 1, CHUNK, source); in def() 69 strm.next_in = in; in def() 98 static unsigned char in[CHUNK]; in inf() local 113 strm.avail_in = fread(in, 1, CHUNK, source); in inf() 120 strm.next_in = in; in inf()
|
/system/extras/procmem/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/liblog/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/libzipfile/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/extras/librank/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/extras/su/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/run-as/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/extras/timeinfo/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/netcfg/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/libcorkscrew/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/logcat/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/libctest/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/libnetutils/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/core/logwrapper/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|
/system/extras/atrace/ |
D | NOTICE | 5 you may not use this file except in compliance with the License. 7 Unless required by applicable law or agreed to in writing, software 48 "Work" shall mean the work of authorship, whether in Source or 50 copyright notice that is included in or attached to the work 51 (an example is provided in the Appendix below). 53 "Derivative Works" shall mean any work, whether in Source or Object 64 submitted to Licensor for inclusion in the Work by the copyright owner 73 designated in writing by the copyright owner as "Not a Contribution." 84 Work and such Derivative Works in Source or Object form. 89 (except as stated in this section) patent license to make, have made, [all …]
|