/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/fastwc/ |
wc4.l | 1 /* Fastest version of wc: add rules to pick up newlines, too */ 9 int cc = 0, wc = 0, lc = 0; 11 {word}{ws}* ++wc; cc += yyleng; 12 {word}{ws}*\n ++wc; cc += yyleng; ++lc; 13 {words}{word}{ws}* wc += 2; cc += yyleng; 14 {words}{word}{ws}*\n wc += 2; cc += yyleng; ++lc; 15 {words}{2}{word}{ws}* wc += 3; cc += yyleng; 16 {words}{2}{word}{ws}*\n wc += 3; cc += yyleng; ++lc; 17 {words}{3}{word}{ws}* wc += 4; cc += yyleng; 18 {words}{3}{word}{ws}*\n wc += 4; cc += yyleng; ++lc [all...] |
wc3.l | 9 int cc = 0, wc = 0, lc = 0; 11 {word}{ws}* cc += yyleng; ++wc; 12 {word}{ws}*\n cc += yyleng; ++wc; ++lc; 13 {words}{word}{ws}* cc += yyleng; wc += 2; 14 {words}{2}{word}{ws}* cc += yyleng; wc += 3; 15 {words}{3}{word}{ws}* cc += yyleng; wc += 4; 22 printf( "%8d %8d %8d\n", lc, wc, cc );
|
wc5.l | 9 int cc = 0, wc = 0, lc = 0; 11 {word}{ws}* cc += yyleng; ++wc; 12 {word}{ws}*\n cc += yyleng; ++wc; ++lc; 13 {words}{word} cc += yyleng; wc += 2; /* oops */ 14 {words}{2}{word}{ws}* cc += yyleng; wc += 3; 15 {words}{3}{word}{ws}* cc += yyleng; wc += 4; 22 printf( "%8d %8d %8d\n", lc, wc, cc );
|
wc1.l | 1 /* First cut at a flex-based "wc" tool. */ 7 int cc = 0, wc = 0, lc = 0; 9 {nonws}+ cc += yyleng; ++wc; 16 printf( "%8d %8d %8d\n", lc, wc, cc );
|
wc2.l | 1 /* Somewhat faster "wc" tool: match more text with each rule */ 8 int cc = 0, wc = 0, lc = 0; 10 {word}{ws}* cc += yyleng; ++wc; 11 {word}{ws}*\n cc += yyleng; ++wc; ++lc; 18 printf( "%8d %8d %8d\n", lc, wc, cc );
|
mywc.c | 1 /* A simple but fairly efficient C version of the Unix "wc" tool */ 8 register int c, cc = 0, wc = 0, lc = 0; local 14 ++wc; 25 done: printf( "%8d%8d%8d\n", lc, wc, cc );
|
/cts/tools/dx-tests/etc/morescripts/ |
countTests.sh | 20 egrep -R 'public void testN[0-9][0-9]?' * | grep ".java" | sed -e '/.svn/d' | sort | wc -l 23 egrep -R 'public void testB[0-9][0-9]?' * | grep ".java" | sed -e '/.svn/d' | sort | wc -l 26 egrep -R 'public void testE[0-9][0-9]?' * | grep ".java" | sed -e '/.svn/d' | sort | wc -l 29 egrep -R 'public void testVFE[0-9][0-9]?' * | grep ".java" | sed -e '/.svn/d' | sort | wc -l
|
/external/webkit/WebKitTools/Scripts/ |
num-cpus | 3 ls /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor | wc -w
|
/bionic/libc/wchar/ |
wcswidth.c | 46 wchar_t wc; local 50 while (n-- > 0 && (wc = *pwcs++) != L'\0') { 51 if ((l = wcwidth(wc)) < 0)
|
/bionic/libc/stdlib/ |
wchar.c | 113 int iswalnum(wint_t wc) { return isalnum(wc); } 114 int iswalpha(wint_t wc) { return isalpha(wc); } 115 int iswcntrl(wint_t wc) { return iscntrl(wc); } 116 int iswdigit(wint_t wc) { return isdigit(wc); } 117 int iswgraph(wint_t wc) { return isgraph(wc); } [all...] |
/external/bluetooth/glib/glib/ |
gutf8.c | 709 gunichar wc = (guchar) *p; local 711 if (wc < 0x80) 713 return wc; 715 else if (wc < 0xc0) 719 else if (wc < 0xe0) 722 wc &= 0x1f; 724 else if (wc < 0xf0) 727 wc &= 0x0f; 729 else if (wc < 0xf8) 732 wc &= 0x07 869 gunichar wc = ((unsigned char *)p)[0]; local 963 gunichar wc = g_utf8_get_char_extended (in, len < 0 ? 6 : str + len - in); local 1132 gunichar wc; local 1191 gunichar wc; local 1273 gunichar wc; local 1332 gunichar wc; local 1412 gunichar wc = g_utf8_get_char_extended (in, len < 0 ? 6 : str + len - in); local 1459 gunichar wc = g_utf8_get_char (in); local 1524 gunichar wc = str[i]; local 1554 gunichar wc = str[i]; local [all...] |
gunidecomp.c | 367 gunichar wc = g_utf8_get_char (p); local 369 if (wc >= 0xac00 && wc <= 0xd7a3) 372 decompose_hangul (wc, NULL, &result_len); 377 decomp = find_decomposition (wc, do_compat); 395 gunichar wc = g_utf8_get_char (p); local 400 if (wc >= 0xac00 && wc <= 0xd7a3) 403 decompose_hangul (wc, wc_buffer + n_wc, &result_len); 408 decomp = find_decomposition (wc, do_compat) [all...] |
/dalvik/tools/ |
dexcheck | 60 errcount=`echo $errout | wc -w` > /dev/null
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_i18n.c | 44 static int32_t wcToLatin1(uint16_t wc, uint8_t * mbs, int32_t bufSize); 56 static int32_t wcToUtf8(uint16_t wc, uint8_t * mbs, int32_t bufSize); 68 static int32_t wcToUtf16be(uint16_t wc, uint8_t * mbs, int32_t bufSize); 80 static int32_t wcToUtf16le(uint16_t wc, uint8_t * mbs, int32_t bufSize); 239 int32_t wcToLatin1(uint16_t wc, uint8_t * mbs, int32_t bufSize) 243 if (wc < 0x100) { 244 ch = (uint8_t)(wc & 0xff); 352 int32_t wcToUtf8(uint16_t wc, uint8_t * mbs, int32_t bufSize) 354 if (wc <= 0x7f) { 356 *mbs = (uint8_t)wc; [all...] |
/external/bison/lib/ |
mbswidth.c | 51 # define iswprint(wc) 1 54 # define iswcntrl(wc) 0 74 # define wcwidth(wc) ((wc) == 0 ? 0 : iswprint (wc) ? 1 : -1) 152 wchar_t wc; local 156 bytes = mbrtowc (&wc, p, plimit - p, &mbstate); 188 w = wcwidth (wc); 195 width += (iswcntrl (wc) ? 0 : 1);
|
/bionic/libc/kernel/arch-sh/asm/ |
sfp-machine.h | 37 #define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) do { if ((_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs) && !(_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs)) { R##_s = Y##_s; _FP_FRAC_COPY_##wc(R,Y); } else { R##_s = X##_s; _FP_FRAC_COPY_##wc(R,X); } R##_c = FP_CLS_NAN; } while (0)
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
app-win32.c | 210 WNDCLASS wc; local 222 wc.style = CS_HREDRAW | CS_VREDRAW; 223 wc.lpfnWndProc = (WNDPROC)wndProc; 224 wc.cbClsExtra = 0; 225 wc.cbWndExtra = 0; 226 wc.hInstance = sInstance; 227 wc.hIcon = NULL; 228 wc.hCursor = 0; 229 wc.hbrBackground = GetStockObject(BLACK_BRUSH); 230 wc.lpszMenuName = NULL [all...] |
/development/tools/findunused/ |
findunusedstrings | 34 echo $i $(grep -Rws R.plurals.$i\\\|R.string.$i\\\|@string/$i .|wc -l) 41 count=$(wc -l)
|
/external/e2fsprogs/tests/ |
test_script.in | 69 num_ok=`ls *.ok 2>/dev/null | wc -l` 70 num_failed=`ls *.failed 2>/dev/null | wc -l`
|
/external/webkit/WebCore/platform/wx/wxcode/ |
non-kerned-drawing.h | 47 PangoGlyph pango_font_get_glyph(PangoFont* font, PangoContext* context, gunichar wc);
|
/development/pdk/hosting/ |
edoxfix.sh | 9 let count=$(wc -l $f | cut -d\ -f 1 )
|
/external/bluetooth/glib/ |
sanity_check | 19 if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" = "x0" ]; then 28 if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" = "x2" ]; then 38 wc -l glib-$VERSION/docs/reference/*/html/*.html | grep total
|
/external/genext2fs/ |
Config.mk | 11 num_inodes=`find $(1) | wc -l` ; num_inodes=`expr $$num_inodes + 500`; \
|
/external/webkit/WebCore/platform/graphics/gtk/ |
GlyphPageTreeNodePango.cpp | 40 static PangoGlyph pango_font_get_glyph(PangoFont* font, PangoContext* context, gunichar wc) 45 gint length = g_unichar_to_utf8(wc, buffer);
|
/system/core/nexus/ |
CommandListener.cpp | 59 WifiController *wc = (WifiController *) nm->findController("WIFI"); local 62 if (!(wn = wc->createNetwork())) 79 WifiController *wc = (WifiController *) nm->findController("WIFI"); local 81 if (wc->removeNetwork(atoi(argv[1]))) 96 WifiController *wc = (WifiController *) nm->findController("WIFI"); local 98 ScanResultCollection *src = wc->createScanResults(); 123 WifiController *wc = (WifiController *) nm->findController("WIFI"); local 125 WifiNetworkCollection *src = wc->createNetworkList();
|