Searched defs:ch (Results 1 - 12 of 12) sorted by relevance

/system/core/toolbox/
H A Drestorecon.c56 int ch, recurse = 0, ftsflags = FTS_PHYSICAL; local
62 ch = getopt(argc, argv, "nrRv");
63 if (ch == EOF)
65 switch (ch) {
H A Dcat.c55 int ch, gobble, line, prev; local
59 for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) {
61 if (ch == '\n') {
63 if (!gobble && putchar(ch) == EOF)
91 if (ch == '\n') {
95 } else if (ch == '\t') {
102 if (!isascii(ch)) {
105 ch = (ch)
232 int ch; local
[all...]
H A Ddu.c79 int Hflag, Lflag, aflag, ch, cflag, dflag, gkmflag, nflag, rval, sflag; local
86 while ((ch = getopt(argc, argv, "HLPacd:ghkmnrsx")) != -1)
87 switch (ch) {
H A Ddd.c122 int ch; local
124 while ((ch = getopt(argc, argv, "")) != -1) {
125 switch (ch) {
791 int ch = 0; /* pacify gcc */ local
824 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
825 *outp++ = t[ch];
828 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
829 *outp++ = ch;
834 if (ch != '\n' && in.dbcnt < cbsz) {
841 if (ch
[all...]
H A Dnewfs_msdos.c272 int ch, fd, fd1; local
275 while ((ch = getopt(argc, argv, opts)) != -1)
276 switch (ch) {
/system/core/libpixelflinger/
H A Dbuffer.cpp39 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/run-as/
H A Dpackage.c278 /* Find the first occurence of 'ch' between 'p' and 'end'
282 find_first(const char* p, const char* end, char ch) argument
284 while (p < end && *p != ch)
370 int ch = *p; local
371 unsigned d = (unsigned)(ch - '0');
/system/core/sh/
H A Dhistedit.c221 int ch; local
258 (ch = getopt(argc, argv, ":e:lnrs")) != -1)
259 switch ((char)ch) {
/system/core/toolbox/cp/
H A Dcp.c110 int ch, fts_options, r, have_trailing_slash; local
119 while ((ch = getopt(argc, argv, "HLNPRfailprv")) != -1)
120 switch (ch) {
H A Dutils.c116 int ch, checkch, from_fd, rcount, rval, to_fd, tolnk, wcount; local
143 checkch = ch = getchar();
144 while (ch != '\n' && ch != EOF)
145 ch = getchar();
/system/core/adb/
H A Dtransport.c746 static int qual_char_is_invalid(char ch) argument
748 if ('A' <= ch && ch <= 'Z')
750 if ('a' <= ch && ch <= 'z')
752 if ('0' <= ch && ch <= '9')
775 char ch = *qual++; local
776 if (sanitize_qual && qual_char_is_invalid(ch))
777 ch
[all...]
/system/vold/
H A DVolumeManager.cpp1284 char ch = 0; local
1285 if (write(fd, &ch, 1) < 0) {

Completed in 156 milliseconds