Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 75) sorted by relevance

123

/system/core/toolbox/
Ddd.c85 extern IO in, out;
107 IO in, out; /* input/output state */ variable
157 if (in.name == NULL) { in setup()
158 in.name = "stdin"; in setup()
159 in.fd = STDIN_FILENO; in setup()
161 in.fd = open(in.name, O_RDONLY, 0); in setup()
162 if (in.fd < 0) { in setup()
164 in.name, strerror(errno)); in setup()
170 in.fd = redup_clean_fd(in.fd); in setup()
173 getfdtype(&in); in setup()
[all …]
/system/core/cpio/
Dmkbootfs.c147 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/core/libsparse/
Dimg2simg.c48 int in; in main() local
71 in = STDIN_FILENO; in main()
73 in = open(argv[1], O_RDONLY | O_BINARY); in main()
74 if (in < 0) { in main()
90 len = lseek64(in, 0, SEEK_END); in main()
91 lseek64(in, 0, SEEK_SET); in main()
100 ret = sparse_file_read(s, in, false, false); in main()
112 close(in); in main()
Dsimg2img.c40 int in; in main() local
59 in = STDIN_FILENO; in main()
61 in = open(argv[i], O_RDONLY | O_BINARY); in main()
62 if (in < 0) { in main()
68 s = sparse_file_import(in, true, false); in main()
82 close(in); in main()
Dsimg2simg.c44 int in; in main() local
61 in = open(argv[1], O_RDONLY | O_BINARY); in main()
62 if (in < 0) { in main()
67 s = sparse_file_import(in, true, false); in main()
112 close(in); in main()
/system/media/audio_utils/include/audio_utils/
Dprimitives.h81 int32_t mulAdd(int16_t in, int16_t v, int32_t a) in mulAdd() argument
87 : [in]"%r"(in), [v]"r"(v), [a]"r"(a) in mulAdd()
91 return a + in * (int32_t)v; in mulAdd()
99 int32_t mul(int16_t in, int16_t v) in mul() argument
105 : [in]"%r"(in), [v]"r"(v) in mul()
109 return in * (int32_t)v; in mul()
/system/extras/libublock/
Dublock.c69 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 …]
/system/core/sh/
Dnodetypes8 # 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 …]
DTOUR18 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++/
DREADME.TXT13 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/
DREADME15 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/
Dtest_zlib.c50 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/core/libnetutils/
DNOTICE5 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/
DNOTICE5 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/
DNOTICE5 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/procrank/
DNOTICE5 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/showmap/
DNOTICE5 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/libpixelflinger/
DNOTICE5 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/ext4_utils/
DNOTICE5 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/
DNOTICE5 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/
DNOTICE5 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/libpagemap/
DNOTICE5 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/debuggerd/
DNOTICE5 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/showslab/
DNOTICE5 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/
DNOTICE5 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 …]

123