/system/vold/ |
H A D | VolumeManager.cpp | 1641 char ch = 0; local 1642 if (write(fd, &ch, 1) < 0) {
|
/system/core/adb/ |
H A D | transport.c | 754 static int qual_char_is_invalid(char ch) argument 756 if ('A' <= ch && ch <= 'Z') 758 if ('a' <= ch && ch <= 'z') 760 if ('0' <= ch && ch <= '9') 783 char ch = *qual++; local 784 if (sanitize_qual && qual_char_is_invalid(ch)) 785 ch [all...] |
/system/core/healthd/ |
H A D | healthd.cpp | 328 int ch; local 337 while ((ch = getopt(argc, argv, "cr")) != -1) { 338 switch (ch) {
|
/system/core/libcutils/ |
H A D | properties.c | 43 char ch = buf[0]; local 44 if (ch == '0' || ch == 'n') { 46 } else if (ch == '1' || ch == 'y') {
|
/system/core/libmincrypt/ |
H A D | sha256.c | 91 uint32_t ch = (E & F) ^ ((~E) & G); local 92 uint32_t t1 = H + s1 + ch + K[t] + W[t];
|
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 39 int sh, int sl, int dh, int dl, int ch, int cl, int dither); 326 int ch, int cl, // clear 354 if (ch) { 323 downshift_component( uint32_t in, uint32_t v, int sh, int sl, int dh, int dl, int ch, int cl, int dither) argument
|
/system/core/libutils/ |
H A D | Tokenizer.cpp | 34 static inline bool isDelimiter(char ch, const char* delimiters) { argument 35 return strchr(delimiters, ch) != NULL; 122 char ch = *eol; local 123 if (ch == '\n') { 138 char ch = *mCurrent; local 139 if (ch == '\n' || isDelimiter(ch, delimiters)) { 153 char ch = *(mCurrent++); local 154 if (ch == '\n') { 167 char ch local [all...] |
H A D | Unicode.cpp | 214 char16_t ch; local 218 d = (int)(ch = *s1++) - (int)*s2++; 219 if ( d || !ch ) 228 char16_t ch; local 232 d = (int)(ch = *s1++) - (int)*s2++; 233 if ( d || !ch ) 244 char16_t ch; local 247 *q++ = ch = *p++; 248 } while ( ch ); 266 char ch; local 437 utf8_codepoint_len(uint8_t ch) argument [all...] |
/system/core/logwrapper/ |
H A D | logwrapper.c | 55 int ch; local 59 while ((ch = getopt(argc, argv, "adk")) != -1) { 60 switch (ch) {
|
/system/core/run-as/ |
H A D | package.c | 301 /* Find the first occurence of 'ch' between 'p' and 'end' 305 find_first(const char* p, const char* end, char ch) argument 307 while (p < end && *p != ch) 393 int ch = *p; local 394 unsigned d = (unsigned)(ch - '0');
|
/system/core/toolbox/ |
H A D | newfs_msdos.c | 265 int ch, fd, fd1; local 268 while ((ch = getopt(argc, argv, opts)) != -1) 269 switch (ch) {
|
H A D | restorecon.c | 18 int ch, i, rc; local 24 ch = getopt(argc, argv, "DFnrRv"); 25 if (ch == EOF) 27 switch (ch) {
|
/system/core/toolbox/upstream-netbsd/bin/cat/ |
H A D | cat.c | 77 int ch; local 83 while ((ch = getopt(argc, argv, "B:beflnstuv")) != -1) 84 switch (ch) { 173 int ch, gobble, line, prev; local 176 for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) { 178 if (ch == '\n') { 183 else if (!gobble && putchar(ch) == EOF) 208 if (ch == '\n') { 212 } else if (ch [all...] |
/system/core/toolbox/upstream-netbsd/bin/cp/ |
H A D | cp.c | 110 int ch, fts_options, r, have_trailing_slash; local 117 while ((ch = getopt(argc, argv, "HLNPRfailprv")) != -1) 118 switch (ch) {
|
H A D | utils.c | 110 int ch, checkch, from_fd, rcount, rval, to_fd, tolnk, wcount; local 137 checkch = ch = getchar(); 138 while (ch != '\n' && ch != EOF) 139 ch = getchar();
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | conv.c | 120 int ch = 0; /* pacify gcc */ local 153 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt) 154 *outp++ = t[ch]; 157 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt) 158 *outp++ = ch; 163 if (ch != '\n' && in.dbcnt < cbsz) { 170 if (ch == '\n')
|
H A D | dd.c | 111 int ch; local 116 while ((ch = getopt(argc, argv, "")) != -1) { 117 switch (ch) {
|
/system/core/toolbox/upstream-netbsd/bin/ln/ |
H A D | ln.c | 74 int ch, exitval; local 80 while ((ch = getopt(argc, argv, "fhinsv")) != -1) 81 switch (ch) { 158 int ch, exists, first; local 196 first = ch = getchar(); 197 while (ch != '\n' && ch != EOF) 198 ch = getchar();
|
/system/core/toolbox/upstream-netbsd/bin/mv/ |
H A D | mv.c | 79 int ch, len, rval; local 88 while ((ch = getopt(argc, argv, "ifv")) != -1) 89 switch (ch) { 174 int ch; local 195 if ((ch = getchar()) != EOF && ch != '\n') { 200 if (ch != 'y' && ch != 'Y')
|
/system/core/toolbox/upstream-netbsd/bin/rm/ |
H A D | rm.c | 93 int ch, rflag; local 99 while ((ch = getopt(argc, argv, "dfiPRrvWx")) != -1) 100 switch (ch) { 534 int ch, first; local 564 first = ch = getchar(); 565 while (ch != '\n' && ch != EOF) 566 ch = getchar();
|
/system/core/toolbox/upstream-netbsd/bin/rmdir/ |
H A D | rmdir.c | 61 int ch, errors, pflag; local 67 while ((ch = getopt(argc, argv, "p")) != -1) 68 switch(ch) {
|
/system/core/toolbox/upstream-netbsd/bin/sleep/ |
H A D | sleep.c | 74 int ch, fracflag, rv; local 81 while ((ch = getopt(argc, argv, "")) != -1) 82 switch(ch) {
|
/system/core/toolbox/upstream-netbsd/sbin/chown/ |
H A D | chown.c | 85 int Hflag, Lflag, Rflag, ch, fflag, fts_options, hflag, rval, vflag; local 98 while ((ch = getopt_long(argc, argv, "HLPRfhv", 100 switch (ch) {
|
/system/core/toolbox/upstream-netbsd/usr.bin/du/ |
H A D | du.c | 83 int Hflag, Lflag, aflag, ch, cflag, dflag, gkmflag, nflag, rval, sflag; local 90 while ((ch = getopt(argc, argv, "HLPacd:ghikmnrsx")) != -1) 91 switch (ch) {
|
/system/core/toolbox/upstream-netbsd/usr.bin/printenv/ |
H A D | printenv.c | 65 int ch; local 67 while ((ch = getopt(argc, argv, "")) != -1) 68 switch(ch) {
|