/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale.convenience/conversions/conversions.string/ |
from_bytes.pass.cpp | 28 std::wstring ws = myconv.from_bytes('a'); local 29 assert(ws == L"a"); 30 ws = myconv.from_bytes(bs.c_str()); 31 assert(ws == L"\x40003"); 32 ws = myconv.from_bytes(bs); 33 assert(ws == L"\x40003"); 34 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); 35 assert(ws == L"\x40003"); 36 ws = myconv.from_bytes(""); 37 assert(ws.size() == 0) [all...] |
to_bytes.pass.cpp | 27 std::wstring ws(1, L'\x40003'); 28 std::string bs = myconv.to_bytes(ws[0]); 30 bs = myconv.to_bytes(ws.c_str()); 32 bs = myconv.to_bytes(ws); 34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size());
|
ctor_err_string.pass.cpp | 61 std::wstring ws = myconv.from_bytes('\xA5'); local 62 assert(ws == L"wide error");
|
/external/srec/srec/cfront/ |
wav_acc.c | 75 void reset_sig_check(wave_stats *ws) 82 ASSERT(ws); 84 ws->sum = 0; 85 ws->sum2 = 0; 86 ws->sumsqu = 0; 87 ws->sumsqu2 = 0; 88 ws->nsam = 0; 89 ws->highclip = 0; 90 ws->lowclip = 0; 93 ws->bithist[ii] = 0 180 wave_stats *ws; local [all...] |
/external/webkit/Tools/android/flex-2.5.4a/MISC/fastwc/ |
wc4.l | 3 ws [ \t] 5 word {ws}*{nonws}+ 6 words {word}{ws}+ 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 [all...] |
wc3.l | 3 ws [ \t] 5 word {ws}*{nonws}+ 6 words {word}{ws}+ 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; 17 {ws}+ cc += yyleng;
|
wc5.l | 3 ws [ \t] 5 word {ws}*{nonws}+ 6 words {word}{ws}+ 11 {word}{ws}* cc += yyleng; ++wc; 12 {word}{ws}*\n cc += yyleng; ++wc; ++lc; 14 {words}{2}{word}{ws}* cc += yyleng; wc += 3; 15 {words}{3}{word}{ws}* cc += yyleng; wc += 4; 17 {ws}+ cc += yyleng;
|
wc2.l | 3 ws [ \t] 5 word {ws}*{nonws}+ 10 {word}{ws}* cc += yyleng; ++wc; 11 {word}{ws}*\n cc += yyleng; ++wc; ++lc; 13 {ws}+ cc += yyleng;
|
wc1.l | 3 ws [ \t] 11 {ws}+ cc += yyleng;
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
pywebsocket.conf | 37 PythonOption mod_pywebsocket.handler_scan /var/www/ws 39 <Location /ws>
|
/cts/tests/tests/os/src/android/os/cts/ |
WorkSourceTest.java | 58 WorkSource ws = new WorkSource(); local 60 wsAdd(ws, uids[i]); 62 checkWorkSource("Constructed", ws, uids); 63 return ws; 68 WorkSource ws = new WorkSource(); local 70 wsAdd(ws, uids[i], names[i]); 72 checkWorkSource("Constructed", ws, uids, names); 73 return ws; 76 private boolean wsAdd(WorkSource ws, int uid) throws IllegalArgumentException, 79 return (Boolean)mAddUid.invoke(ws, mAddUidArgs) 188 WorkSource ws = wsNew(1); local 198 WorkSource ws = wsNew(100); local 208 WorkSource ws = wsNew(10); local 220 WorkSource ws = wsNew(1); local 230 WorkSource ws = wsNew(100); local 240 WorkSource ws = wsNew(10); local [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
IBatteryStats.aidl | 37 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, int type); 38 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, int type); 56 void noteWifiRunning(in WorkSource ws); 58 void noteWifiStopped(in WorkSource ws); 67 void noteFullWifiLockAcquiredFromSource(in WorkSource ws); 68 void noteFullWifiLockReleasedFromSource(in WorkSource ws); 69 void noteWifiScanStartedFromSource(in WorkSource ws); 70 void noteWifiScanStoppedFromSource(in WorkSource ws); 71 void noteWifiMulticastEnabledFromSource(in WorkSource ws); 72 void noteWifiMulticastDisabledFromSource(in WorkSource ws); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
test.pass.cpp | 31 std::wstring ws; local 32 mystr >> ws; local 33 assert(ws == L"Hello");
|
/system/extras/libpagemap/ |
pm_map.c | 74 pm_memusage_t ws; local 83 pm_memusage_zero(&ws); 97 ws.vss += map->proc->ker->pagesize; 99 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); 100 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); 101 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); 104 memcpy(ws_out, &ws, sizeof(ws));
|
/external/stlport/test/unit/ |
iostream_test.cpp | 46 istr >> ws; local 55 istr >> ws; local 65 istr >> ws; local 74 istr >> ws; local
|
/frameworks/base/core/java/android/os/ |
IPowerManager.aidl | 28 void acquireWakeLock(IBinder lock, int flags, String tag, in WorkSource ws); 31 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws);
|
PowerManager.java | 787 * @param ws The work source, or null if none. 789 public void setWorkSource(WorkSource ws) { 791 if (ws != null && ws.size() == 0) { 792 ws = null; 796 if (ws == null) { 801 mWorkSource = new WorkSource(ws); 803 changed = mWorkSource.diff(ws); 805 mWorkSource.set(ws);
|
/frameworks/base/opengl/java/android/opengl/ |
Visibility.java | 29 * @param ws the world space to screen space transform matrix, as an OpenGL 31 * @param wsOffset an index into the ws array where the data starts. 45 * @throws IllegalArgumentException if ws is null, wsOffset < 0, 49 public static native int visibilityTest(float[] ws, int wsOffset,
|
/ndk/tests/device/test-gnustl-full/unit/ |
iostream_test.cpp | 46 istr >> ws; local 55 istr >> ws; local 65 istr >> ws; local 74 istr >> ws; local
|
/ndk/tests/device/test-stlport/unit/ |
iostream_test.cpp | 46 istr >> ws; local 55 istr >> ws; local 65 istr >> ws; local 74 istr >> ws; local
|
/external/valgrind/main/helgrind/ |
hg_wordset.c | 271 Accessing a dead ws will assert. */ 272 static WordVec* do_ix2vec ( WordSetU* wsu, WordSet ws ) 278 /* If this assertion fails, it may mean you supplied a 'ws' 280 tl_assert(ws < wsu->ix2vec_used); /* XXX */ 281 wv = wsu->ix2vec[ws]; 282 /* Make absolutely sure that 'ws' is a non dead member of 'wsu'. */ 289 /* Same as do_ix2vec but returns NULL for a dead ws. */ 290 static WordVec* do_ix2vec_with_dead ( WordSetU* wsu, WordSet ws ) 296 /* If this assertion fails, it may mean you supplied a 'ws' 298 tl_assert(ws < wsu->ix2vec_used); /* XXX * 333 WordSet ws; local [all...] |
/external/webkit/LayoutTests/fast/url/script-tests/ |
standard-url.js | 32 ["ws://foo:80/", "ws://foo/"], 33 ["ws://foo:81/", "ws://foo:81/"], 34 ["ws://foo:443/", "ws://foo:443/"], 35 ["ws://foo:815/", "ws://foo:815/"], 47 ["ws:/example.com/", "ws://example.com/"] [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/properties/ |
feedWatch.emf.properties | 26 //*[name()='entry'][1]/*/*[name()='build']/*[name()='releases']/*[@os='linux'][@ws='gtk'][@type='SDK']/text();null;null;\ 96 # feedWatchActions=//*[name() = 'entry'][1]/*/*/*/*[@type = 'performance']/*[name() = 'result'][@os = 'linux'][@ws = 'gtk']/text(); null; null
|
/external/embunit/src/ |
TestCase.c | 55 TestCase* ws = self_; /*push*/ local 60 self_ = ws; /*pop*/
|
/external/srtp/test/ |
rdbx_driver.c | 58 test_replay_dbx(int num_trials, unsigned long ws); 61 rdbx_check_adds_per_second(int num_trials, unsigned long ws); 102 printf("testing rdbx_t (ws=128)...\n"); 111 printf("testing rdbx_t (ws=1024)...\n"); 123 printf("rdbx_check/replay_adds per second (ws=128): %e\n", rate); 125 printf("rdbx_check/replay_adds per second (ws=1024): %e\n", rate); 212 test_replay_dbx(int num_trials, unsigned long ws) { 219 status = rdbx_init(&rdbx, ws); 258 if (rdbx_init(&rdbx, ws) != err_status_ok) { 285 if (rdbx_init(&rdbx, ws) != err_status_ok) [all...] |