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

/system/vold/
H A DVolumeManager.cpp1641 char ch = 0; local
1642 if (write(fd, &ch, 1) < 0) {
/system/core/adb/
H A Dtransport.c754 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 Dhealthd.cpp328 int ch; local
337 while ((ch = getopt(argc, argv, "cr")) != -1) {
338 switch (ch) {
/system/core/libcutils/
H A Dproperties.c43 char ch = buf[0]; local
44 if (ch == '0' || ch == 'n') {
46 } else if (ch == '1' || ch == 'y') {
/system/core/libmincrypt/
H A Dsha256.c91 uint32_t ch = (E & F) ^ ((~E) & G); local
92 uint32_t t1 = H + s1 + ch + K[t] + W[t];
/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/libutils/
H A DTokenizer.cpp34 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 DUnicode.cpp214 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 Dlogwrapper.c55 int ch; local
59 while ((ch = getopt(argc, argv, "adk")) != -1) {
60 switch (ch) {
/system/core/run-as/
H A Dpackage.c301 /* 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 Dnewfs_msdos.c265 int ch, fd, fd1; local
268 while ((ch = getopt(argc, argv, opts)) != -1)
269 switch (ch) {
H A Drestorecon.c18 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 Dcat.c77 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 Dcp.c110 int ch, fts_options, r, have_trailing_slash; local
117 while ((ch = getopt(argc, argv, "HLNPRfailprv")) != -1)
118 switch (ch) {
H A Dutils.c110 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 Dconv.c120 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 Ddd.c111 int ch; local
116 while ((ch = getopt(argc, argv, "")) != -1) {
117 switch (ch) {
/system/core/toolbox/upstream-netbsd/bin/ln/
H A Dln.c74 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 Dmv.c79 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 Drm.c93 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 Drmdir.c61 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 Dsleep.c74 int ch, fracflag, rv; local
81 while ((ch = getopt(argc, argv, "")) != -1)
82 switch(ch) {
/system/core/toolbox/upstream-netbsd/sbin/chown/
H A Dchown.c85 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 Ddu.c83 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 Dprintenv.c65 int ch; local
67 while ((ch = getopt(argc, argv, "")) != -1)
68 switch(ch) {

Completed in 335 milliseconds