| /applications/sample/camera/cameraApp/cameraApp/src/main/cpp/ |
| H A D | camera_ability.cpp | 21 void CameraAbility::OnStart(const Want &want) in OnStart() argument 26 Ability::OnStart(want); in OnStart() 35 void CameraAbility::OnActive(const Want &want) in OnActive() argument 38 Ability::OnActive(want); in OnActive()
|
| /applications/sample/camera/gallery/src/ |
| H A D | gallery_ability.cpp | 21 void GalleryAbility::OnStart(const Want &want) in OnStart() argument 26 Ability::OnStart(want); in OnStart() 35 void GalleryAbility::OnActive(const Want &want) in OnActive() argument 38 Ability::OnActive(want); in OnActive()
|
| H A D | picture_ability_slice.cpp | 118 void PictureAbilitySlice::OnStart(const Want &want) in OnStart() argument 121 printf("receive the data -> %s\n", reinterpret_cast<char*>(want.data)); in OnStart() 122 AbilitySlice::OnStart(want); in OnStart() 129 uint16_t imagePathLen = strlen(PHOTO_DIRECTORY) + strlen(reinterpret_cast<char*>(want.data)) + 1; in OnStart() 135 if (sprintf_s(imagePath, imagePathLen + 1, "%s/%s", PHOTO_DIRECTORY, reinterpret_cast<char*>(want.data)) < 0) { in OnStart() 163 void PictureAbilitySlice::OnActive(const Want &want) in OnActive() argument 166 AbilitySlice::OnActive(want); in OnActive()
|
| /applications/sample/camera/launcher/launcher/src/main/cpp/ |
| H A D | main_ability.cpp | 21 void MainAbility::OnStart(const Want& want) in OnStart() argument 24 Ability::OnStart(want); in OnStart() 32 void MainAbility::OnActive(const Want& want) in OnActive() argument 34 Ability::OnActive(want); in OnActive()
|
| /applications/sample/camera/screensaver/screensaver/src/main/cpp/ |
| H A D | screensaver_ability.cpp | 21 void ScreensaverAbility::OnStart(const Want& want)
in OnStart() argument 24 Ability::OnStart(want);
in OnStart() 32 void ScreensaverAbility::OnActive(const Want& want)
in OnActive() argument 34 Ability::OnActive(want);
in OnActive()
|
| /applications/sample/camera/setting/setting/src/main/cpp/ |
| H A D | setting_main_ability.cpp | 21 void SettingMainAbility::OnStart(const Want& want) in OnStart() argument 24 Ability::OnStart(want); in OnStart() 32 void SettingMainAbility::OnActive(const Want& want) in OnActive() argument 34 Ability::OnActive(want); in OnActive()
|
| H A D | app_info_ability_slice.cpp | 139 void AppInfoAbilitySlice::OnStart(const Want& want) in OnStart() argument 142 printf("[LOG]receive the data -> %s\n", static_cast<char*>(want.data)); in OnStart() 143 AbilitySlice::OnStart(want); in OnStart() 145 ret = memcpy_s(bundleName_, sizeof(bundleName_), want.data, want.dataLength); in OnStart() 163 void AppInfoAbilitySlice::OnActive(const Want &want) in OnActive() argument 165 AbilitySlice::OnActive(want); in OnActive()
|
| /third_party/musl/libc-test/src/regression/ |
| H A D | printf-1e9-oob.c | 7 static void t(const char *fmt, double d, const char *want) in t() argument 10 int n = strlen(want); in t() 12 if (r != n || memcmp(buf, want, n+1) != 0) in t() 13 t_error("snprintf(\"%s\",%f) want %s got %s\n", fmt, d, want, buf); in t()
|
| H A D | printf-fmt-g-round.c | 7 static void t(const char *fmt, double d, const char *want) in t() argument 10 int n = strlen(want); in t() 12 if (r != n || memcmp(buf, want, n+1) != 0) in t() 13 t_error("snprintf(\"%s\", %f) want %s got %s\n", fmt, d, want, buf); in t()
|
| H A D | printf-fmt-g-zeros.c | 7 static void t(const char *fmt, double d, const char *want) in t() argument 10 int n = strlen(want); in t() 12 if (r != n || memcmp(buf, want, n+1) != 0) in t() 13 t_error("snprintf(\"%s\",%f) want %s got %s\n", fmt, d, want, buf); in t()
|
| /third_party/musl/libc-test/src/functionalext/supplement/string/ |
| H A D | strnlen.c | 27 size_t want = 5; in strnlen_0100() local 30 if (result != want) { in strnlen_0100() 42 size_t want = 6; in strnlen_0200() local 45 if (result != want) { in strnlen_0200()
|
| H A D | wcscspn.c | 31 t_error("%s wcscspn get result is %d are not want 0U\n", __func__, result); in wcscspn_0100() 43 size_t want = 5U; in wcscspn_0200() local 44 if (result != want) { in wcscspn_0200() 45 t_error("%s wcscspn get result is %d are not want 5U\n", __func__, result); in wcscspn_0200() 57 size_t want = 11U; in wcscspn_0300() local 58 if (result != want) { in wcscspn_0300() 59 t_error("%s wcscspn get result is %d are not want 11U\n", __func__, result); in wcscspn_0300()
|
| H A D | wcsspn.c | 29 size_t want = 5U; in wcsspn_0100() local 30 if (result != want) { in wcsspn_0100() 31 t_error("%s wcsspn get result is %d are not want 5U\n", __func__, result); in wcsspn_0100() 43 size_t want = 11U; in wcsspn_0200() local 44 if (result != want) { in wcsspn_0200() 45 t_error("%s wcsspn get result is %d are not want 11U\n", __func__, result); in wcsspn_0200() 58 t_error("%s wcsspn get result is %d are not want 0U\n", __func__, result); in wcsspn_0300()
|
| /third_party/python/Lib/ |
| H A D | doctest.py | 111 # - Example: a <source, want> pair, plus an intra-docstring line number. 162 # Special string markers for use in `want` strings: 271 def _ellipsis_match(want, got): 277 if ELLIPSIS_MARKER not in want: 278 return want == got 281 ws = want.split(ELLIPSIS_MARKER) 311 # due to an ellipsis at the start or end of `want`. That's OK. 428 ## - An "example" is a <source, want> pair, where "source" is a 429 ## fragment of source code, and "want" is the expected output for 445 - want [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_telnetlib.py | 189 want = [b'xxxmatchyyy'] 190 telnet = test_telnet(want) 233 want = b'x' * 100 234 telnet = test_telnet([want]) 245 self.assertEqual(data, want) 256 want = b'x' * 100 257 telnet = test_telnet([want]) 262 self.assertEqual(want, data) 266 want = b'x' * 100 267 telnet = test_telnet([want]) [all...] |
| /test/xts/acts/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/ServiceAbility/ |
| H A D | service.js | 185 function handleOption(want) {
186 switch (want.parameters.option) {
230 onCommand(want, startId) {
232 console.info(TAG + 'Get onCommand want: ' + JSON.stringify(want));
235 handleOption(want);
237 onConnect(want) {
240 onDisConnect(want) {
|
| /third_party/skia/tests/ |
| H A D | SRGBTest.cpp | 117 SkColor4f want = expected(i); in DEF_TEST() local 119 SkDebugf("got %g %g %g, want %g %g %g\n", in DEF_TEST() 121 want.fR, want.fG, want.fB); in DEF_TEST() 123 REPORTER_ASSERT(r, close(rgba[i].fR, want.fR)); in DEF_TEST() 124 REPORTER_ASSERT(r, close(rgba[i].fG, want.fG)); in DEF_TEST() 125 REPORTER_ASSERT(r, close(rgba[i].fB, want.fB)); in DEF_TEST()
|
| /third_party/musl/libc-test/src/functionalext/supplement/stdlib/ |
| H A D | strtoimax.c | 30 intmax_t want = -18737357; in strtoimax_0100() local 32 if (result != want) { in strtoimax_0100() 48 intmax_t want = -0x18737357f; in strtoimax_0200() local 50 if (result != want) { in strtoimax_0200()
|
| H A D | strtoumax.c | 30 intmax_t want = 18737357U; in strtoumax_0100() local 32 if (result != want) { in strtoumax_0100() 48 intmax_t want = 0x18737357fU; in strtoumax_0200() local 50 if (result != want) { in strtoumax_0200()
|
| /third_party/musl/libc-test/src/functional/ |
| H A D | string_memset.c | 20 char *want = aligned(buf2+64) + align; in test_align() local 24 if (len + 64 > buf + N - s || len + 64 > buf2 + N - want) in test_align() 29 want[i] = '#'; in test_align() 34 if (s[i] != want[i]) { in test_align() 37 t_printf("want: '%.*s'\n", len+128, want-64); in test_align()
|
| H A D | strtod_long.c | 8 double x, want = .1111111111111111111111; in main() local 15 if ((x=strtod(buf, 0)) != want) in main() 16 t_error("strtod(.11[...]1) got %a want %a\n", x, want); in main()
|
| /third_party/musl/libc-test/src/functionalext/supplement/multibyte/ |
| H A D | wcrtomb.c | 50 int want = 2; in wcrtomb_0200() local 55 if (result != want) { in wcrtomb_0200() 71 int want = 3; in wcrtomb_0300() local 76 if (result != want) { in wcrtomb_0300()
|
| /third_party/optimized-routines/string/test/ |
| H A D | stpcpy.c | 59 char *want = wbuf; in test() local 62 char *w = want + dalign; in test() 73 want[i] = dst[i] = '*'; in test() 94 if (dst[i] != want[i]) in test() 99 quoteat ("want", want, len + ALIGN, i); in test()
|
| H A D | memcpy.c | 56 unsigned char *want = wbuf; in test() local 59 unsigned char *w = want + dalign; in test() 70 want[i] = dst[i] = '*'; in test() 85 if (dst[i] != want[i]) in test() 90 quoteat ("want", want, len + A, i); in test()
|
| H A D | strcpy.c | 57 char *want = wbuf; in test() local 60 char *w = want + dalign; in test() 71 want[i] = dst[i] = '*'; in test() 92 if (dst[i] != want[i]) in test() 97 quoteat ("want", want, len + ALIGN, i); in test()
|