Home
last modified time | relevance | path

Searched refs:want (Results 26 - 50 of 298) sorted by relevance

12345678910>>...12

/applications/sample/camera/cameraApp/cameraApp/src/main/cpp/
H A Dcamera_ability.cpp21 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 Dgallery_ability.cpp21 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 Dpicture_ability_slice.cpp118 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 Dmain_ability.cpp21 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 Dscreensaver_ability.cpp21 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 Dsetting_main_ability.cpp21 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 Dapp_info_ability_slice.cpp139 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 Dprintf-1e9-oob.c7 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 Dprintf-fmt-g-round.c7 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 Dprintf-fmt-g-zeros.c7 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 Dstrnlen.c27 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 Dwcscspn.c31 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 Dwcsspn.c29 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 Ddoctest.py111 # - 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 Dtest_telnetlib.py189 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 Dservice.js185 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 DSRGBTest.cpp117 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 Dstrtoimax.c30 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 Dstrtoumax.c30 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 Dstring_memset.c20 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 Dstrtod_long.c8 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 Dwcrtomb.c50 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 Dstpcpy.c59 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 Dmemcpy.c56 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 Dstrcpy.c57 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()

Completed in 7 milliseconds

12345678910>>...12