Home
last modified time | relevance | path

Searched refs:strs (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/typescript/tests/baselines/reference/
DtaggedTemplateStringsWithOverloadResolution1_ES6.types2 function foo(strs: TemplateStringsArray): number;
3strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: Templ…
4 >strs : TemplateStringsArray
6 function foo(strs: TemplateStringsArray, x: number): string;
7strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: Templ…
8 >strs : TemplateStringsArray
11 function foo(strs: TemplateStringsArray, x: number, y: number): boolean;
12strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: Templ…
13 >strs : TemplateStringsArray
17 function foo(strs: TemplateStringsArray, x: number, y: string): {};
[all …]
DtaggedTemplateStringsWithOverloadResolution1.types2 function foo(strs: TemplateStringsArray): number;
3strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: Templ…
4 >strs : TemplateStringsArray
6 function foo(strs: TemplateStringsArray, x: number): string;
7strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: Templ…
8 >strs : TemplateStringsArray
11 function foo(strs: TemplateStringsArray, x: number, y: number): boolean;
12strs: TemplateStringsArray): number; (strs: TemplateStringsArray, x: number): string; (strs: Templ…
13 >strs : TemplateStringsArray
17 function foo(strs: TemplateStringsArray, x: number, y: string): {};
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.types3 function fn1(strs: TemplateStringsArray, s: string): string;
4 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
5 >strs : TemplateStringsArray
8 function fn1(strs: TemplateStringsArray, n: number): number;
9 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
10 >strs : TemplateStringsArray
14 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
20 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
27 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
31 function fn2(strs: TemplateStringsArray, s: string, n: number): number;
[all …]
DtaggedTemplateStringsWithOverloadResolution3.types3 function fn1(strs: TemplateStringsArray, s: string): string;
4 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
5 >strs : TemplateStringsArray
8 function fn1(strs: TemplateStringsArray, n: number): number;
9 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
10 >strs : TemplateStringsArray
14 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
20 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
27 >fn1 : { (strs: TemplateStringsArray, s: string): string; (strs: TemplateStringsArray, n: number): …
31 function fn2(strs: TemplateStringsArray, s: string, n: number): number;
[all …]
DtaggedTemplateStringsWithOverloadResolution2.types2 function foo1(strs: TemplateStringsArray, x: number): string;
3 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
4 >strs : TemplateStringsArray
7 function foo1(strs: string[], x: number): number;
8 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
9 >strs : string[]
13 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
23 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
30 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
34 function foo2(strs: string[], x: number): number;
[all …]
DtaggedTemplateStringsWithOverloadResolution2_ES6.types2 function foo1(strs: TemplateStringsArray, x: number): string;
3 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
4 >strs : TemplateStringsArray
7 function foo1(strs: string[], x: number): number;
8 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
9 >strs : string[]
13 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
23 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
30 >foo1 : { (strs: TemplateStringsArray, x: number): string; (strs: string[], x: number): number; }
34 function foo2(strs: string[], x: number): number;
[all …]
DtaggedTemplateStringsTypeArgumentInferenceES6.js18 function someGenerics2a<T>(strs: TemplateStringsArray, n: (x: T) => void) { }
21 function someGenerics2b<T, U>(strs: TemplateStringsArray, n: (x: T, y: U) => void) { }
25 function someGenerics3<T>(strs: TemplateStringsArray, producer: () => T) { }
31 function someGenerics4<T, U>(strs: TemplateStringsArray, n: T, f: (x: U) => void) { }
37 function someGenerics5<U, T>(strs: TemplateStringsArray, n: T, f: (x: U) => void) { }
43 function someGenerics6<A>(strs: TemplateStringsArray, a: (a: A) => A, b: (b: A) => A, c: (c: A) => …
49 function someGenerics7<A, B, C>(strs: TemplateStringsArray, a: (a: A) => A, b: (b: B) => B, c: (c: …
55 function someGenerics8<T>(strs: TemplateStringsArray, n: T): T { return n; }
60 function someGenerics9<T>(strs: TemplateStringsArray, a: T, b: T, c: T): T {
107 function someGenerics2a(strs, n) { } argument
[all …]
DtaggedTemplateStringsTypeArgumentInferenceES6.types46 function someGenerics2a<T>(strs: TemplateStringsArray, n: (x: T) => void) { }
47 >someGenerics2a : <T>(strs: TemplateStringsArray, n: (x: T) => void) => void
48 >strs : TemplateStringsArray
54 >someGenerics2a : <T>(strs: TemplateStringsArray, n: (x: T) => void) => void
60 function someGenerics2b<T, U>(strs: TemplateStringsArray, n: (x: T, y: U) => void) { }
61 >someGenerics2b : <T, U>(strs: TemplateStringsArray, n: (x: T, y: U) => void) => void
62 >strs : TemplateStringsArray
69 >someGenerics2b : <T, U>(strs: TemplateStringsArray, n: (x: T, y: U) => void) => void
77 function someGenerics3<T>(strs: TemplateStringsArray, producer: () => T) { }
78 >someGenerics3 : <T>(strs: TemplateStringsArray, producer: () => T) => void
[all …]
DtaggedTemplateStringsTypeArgumentInference.types46 function someGenerics2a<T>(strs: TemplateStringsArray, n: (x: T) => void) { }
47 >someGenerics2a : <T>(strs: TemplateStringsArray, n: (x: T) => void) => void
48 >strs : TemplateStringsArray
54 >someGenerics2a : <T>(strs: TemplateStringsArray, n: (x: T) => void) => void
60 function someGenerics2b<T, U>(strs: TemplateStringsArray, n: (x: T, y: U) => void) { }
61 >someGenerics2b : <T, U>(strs: TemplateStringsArray, n: (x: T, y: U) => void) => void
62 >strs : TemplateStringsArray
69 >someGenerics2b : <T, U>(strs: TemplateStringsArray, n: (x: T, y: U) => void) => void
77 function someGenerics3<T>(strs: TemplateStringsArray, producer: () => T) { }
78 >someGenerics3 : <T>(strs: TemplateStringsArray, producer: () => T) => void
[all …]
DtaggedTemplateStringsTypeArgumentInference.js18 function someGenerics2a<T>(strs: TemplateStringsArray, n: (x: T) => void) { }
21 function someGenerics2b<T, U>(strs: TemplateStringsArray, n: (x: T, y: U) => void) { }
25 function someGenerics3<T>(strs: TemplateStringsArray, producer: () => T) { }
31 function someGenerics4<T, U>(strs: TemplateStringsArray, n: T, f: (x: U) => void) { }
37 function someGenerics5<U, T>(strs: TemplateStringsArray, n: T, f: (x: U) => void) { }
43 function someGenerics6<A>(strs: TemplateStringsArray, a: (a: A) => A, b: (b: A) => A, c: (c: A) => …
49 function someGenerics7<A, B, C>(strs: TemplateStringsArray, a: (a: A) => A, b: (b: B) => B, c: (c: …
55 function someGenerics8<T>(strs: TemplateStringsArray, n: T): T { return n; }
60 function someGenerics9<T>(strs: TemplateStringsArray, a: T, b: T, c: T): T {
111 function someGenerics2a(strs, n) { } argument
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.js3 function fn1(strs: TemplateStringsArray, s: string): string;
4 function fn1(strs: TemplateStringsArray, n: number): number;
12 function fn2(strs: TemplateStringsArray, s: string, n: number): number;
13 function fn2<T>(strs: TemplateStringsArray, n: number, t: T): T;
29 function fn3<T>(strs: TemplateStringsArray, n: T): string;
30 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
31 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
48 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
49 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
50 function fn4(strs: TemplateStringsArray)
[all …]
/third_party/musl/porting/linux/user/ldso/
Dstrops.c79 strlist *strs; in strlist_alloc() local
82 strs = (strlist *)__libc_calloc(1, sizeof *strs) ; in strlist_alloc()
84 if (strs) { in strlist_alloc()
85 strs->strs = (char **)__libc_calloc(size, sizeof *strs->strs); in strlist_alloc()
86 if (strs->strs) { in strlist_alloc()
87 strs->size = size; in strlist_alloc()
89 __libc_free(strs); in strlist_alloc()
90 strs = NULL; in strlist_alloc()
93 return strs ; in strlist_alloc()
96 static void strlist_realloc(strlist *strs) in strlist_realloc() argument
[all …]
/third_party/selinux/libsepol/src/
Dkernel_to_common.c107 int strs_init(struct strs **strs, size_t size) in strs_init() argument
109 struct strs *new; in strs_init()
115 *strs = NULL; in strs_init()
117 new = malloc(sizeof(struct strs)); in strs_init()
133 *strs = new; in strs_init()
138 void strs_destroy(struct strs **strs) in strs_destroy() argument
140 if (!strs || !*strs) { in strs_destroy()
144 free((*strs)->list); in strs_destroy()
145 (*strs)->list = NULL; in strs_destroy()
146 (*strs)->num = 0; in strs_destroy()
[all …]
Dkernel_to_common.h80 struct strs { struct
95 int strs_init(struct strs **strs, size_t size); argument
96 void strs_destroy(struct strs **strs);
97 void strs_free_all(struct strs *strs);
98 int strs_add(struct strs *strs, char *s);
100 int strs_create_and_add(struct strs *strs, const char *fmt, int num, ...);
101 char *strs_remove_last(struct strs *strs);
102 int strs_add_at_index(struct strs *strs, char *s, size_t index);
103 char *strs_read_at_index(struct strs *strs, size_t index);
104 void strs_sort(struct strs *strs);
[all …]
Dkernel_to_conf.c33 struct strs *stack; in cond_expr_to_str()
122 struct strs *stack = NULL; in constraint_expr_to_str()
273 struct strs *mls_list, in class_constraint_rules_to_strs()
274 struct strs *non_mls_list) in class_constraint_rules_to_strs()
277 struct strs *strs; in class_constraint_rules_to_strs() local
303 strs = mls_list; in class_constraint_rules_to_strs()
306 strs = non_mls_list; in class_constraint_rules_to_strs()
309 rc = strs_create_and_add(strs, "%s %s %s%s%s %s;", 6, in class_constraint_rules_to_strs()
327 struct strs *mls_list, in class_validatetrans_rules_to_strs()
328 struct strs *non_mls_list) in class_validatetrans_rules_to_strs()
[all …]
Dkernel_to_cil.c34 struct strs *stack; in cond_expr_to_str()
124 struct strs *stack = NULL; in constraint_expr_to_str()
277 struct strs *mls_list, in class_constraint_rules_to_strs()
278 struct strs *non_mls_list) in class_constraint_rules_to_strs()
286 struct strs *strs; in class_constraint_rules_to_strs() local
302 strs = mls_list; in class_constraint_rules_to_strs()
305 strs = non_mls_list; in class_constraint_rules_to_strs()
308 rc = strs_create_and_add(strs, "(%s (%s (%s)) %s)", 4, key_word, classkey, perms+1, expr); in class_constraint_rules_to_strs()
323 struct strs *mls_list, in class_validatetrans_rules_to_strs()
324 struct strs *non_mls_list) in class_validatetrans_rules_to_strs()
[all …]
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_mock_strops.c59 slist.strs = list; in strsplit()
61 slist.strs[0] = "/data/test"; in strsplit()
62 slist.strs[1] = "/etc"; in strsplit()
73 static void strlist_realloc(strlist *strs) in strlist_realloc() argument
77 void strlist_free(strlist *strs) in strlist_free() argument
81 void strlist_set(strlist *strs,const char *str) in strlist_set() argument
83 if (!strs || !str) return; in strlist_set()
84 if (strs->num == strs->size) { in strlist_set()
85 strlist_realloc(strs); in strlist_set()
87 if (strs->num < strs->size) { in strlist_set()
[all …]
/third_party/libwebsockets/lib/plat/unix/
Dunix-caps.c74 char strs[1024]; local
76 if (getgrnam_r(colon, &gr, strs, sizeof(strs), &g) || !g) {
92 char strs[1024]; local
94 if (getpwnam_r(u, &pr, strs, sizeof(strs), &p) || !p) {
121 char strs[1024]; local
123 if (!getgrnam_r(context->groupname, &gr, strs, sizeof(strs), &g) && g) {
144 char strs[1024]; local
146 if (!getpwnam_r(context->username, &pr, strs, sizeof(strs), &p) && p) {
171 char strs[1024]; local
173 if (getgrgid_r(context->gid, &gr, strs, sizeof(strs), &g) || !g) {
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtsptransport.c601 GPtrArray *strs; in gst_rtsp_transport_as_text() local
607 strs = g_ptr_array_new (); in gst_rtsp_transport_as_text()
612 g_ptr_array_add (strs, g_ascii_strup (tmp, -1)); in gst_rtsp_transport_as_text()
614 g_ptr_array_add (strs, g_strdup ("/")); in gst_rtsp_transport_as_text()
618 g_ptr_array_add (strs, g_ascii_strup (tmp, -1)); in gst_rtsp_transport_as_text()
626 g_ptr_array_add (strs, g_strdup ("/")); in gst_rtsp_transport_as_text()
631 g_ptr_array_add (strs, g_ascii_strup (tmp, -1)); in gst_rtsp_transport_as_text()
641 g_ptr_array_add (strs, g_strdup (";multicast")); in gst_rtsp_transport_as_text()
643 g_ptr_array_add (strs, g_strdup (";unicast")); in gst_rtsp_transport_as_text()
647 g_ptr_array_add (strs, g_strdup (";destination=")); in gst_rtsp_transport_as_text()
[all …]
/third_party/typescript/tests/cases/conformance/es6/templates/
DtaggedTemplateStringsWithOverloadResolution3.ts3 function fn1(strs: TemplateStringsArray, s: string): string;
4 function fn1(strs: TemplateStringsArray, n: number): number;
12 function fn2(strs: TemplateStringsArray, s: string, n: number): number;
13 function fn2<T>(strs: TemplateStringsArray, n: number, t: T): T;
29 function fn3<T>(strs: TemplateStringsArray, n: T): string;
30 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
31 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
48 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
49 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
50 function fn4(strs: TemplateStringsArray)
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.ts3 function fn1(strs: TemplateStringsArray, s: string): string;
4 function fn1(strs: TemplateStringsArray, n: number): number;
12 function fn2(strs: TemplateStringsArray, s: string, n: number): number;
13 function fn2<T>(strs: TemplateStringsArray, n: number, t: T): T;
29 function fn3<T>(strs: TemplateStringsArray, n: T): string;
30 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
31 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
48 function fn4<T extends string, U extends number>(strs: TemplateStringsArray, n: T, m: U);
49 function fn4<T extends number, U extends string>(strs: TemplateStringsArray, n: T, m: U);
50 function fn4(strs: TemplateStringsArray)
[all …]
/third_party/node/deps/icu-small/source/tools/toolutil/
Ddbgutil.cpp25 static UnicodeString **strs = NULL; variable
38 if(strs != NULL) { in udbg_cleanup()
40 delete [] strs[t]; in udbg_cleanup()
42 delete[] strs; in udbg_cleanup()
43 strs = NULL; in udbg_cleanup()
59 if(strs == NULL) { in udbg_setup()
73 strs = newStrs; in udbg_setup()
80 if(strs == NULL ) { in udbg_enumString()
87 return strs[UDBG_ENUM_COUNT][0]; in udbg_enumString()
93 return strs[type][count]; in udbg_enumString()
[all …]
/third_party/icu/icu4c/source/tools/toolutil/
Ddbgutil.cpp25 static UnicodeString **strs = NULL; variable
38 if(strs != NULL) { in udbg_cleanup()
40 delete [] strs[t]; in udbg_cleanup()
42 delete[] strs; in udbg_cleanup()
43 strs = NULL; in udbg_cleanup()
59 if(strs == NULL) { in udbg_setup()
73 strs = newStrs; in udbg_setup()
80 if(strs == NULL ) { in udbg_enumString()
87 return strs[UDBG_ENUM_COUNT][0]; in udbg_enumString()
93 return strs[type][count]; in udbg_enumString()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Ddbgutil.cpp25 static UnicodeString **strs = NULL; variable
38 if(strs != NULL) { in udbg_cleanup()
40 delete [] strs[t]; in udbg_cleanup()
42 delete[] strs; in udbg_cleanup()
43 strs = NULL; in udbg_cleanup()
59 if(strs == NULL) { in udbg_setup()
73 strs = newStrs; in udbg_setup()
80 if(strs == NULL ) { in udbg_enumString()
87 return strs[UDBG_ENUM_COUNT][0]; in udbg_enumString()
93 return strs[type][count]; in udbg_enumString()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Ddbgutil.cpp25 static UnicodeString **strs = NULL; variable
38 if(strs != NULL) { in udbg_cleanup()
40 delete [] strs[t]; in udbg_cleanup()
42 delete[] strs; in udbg_cleanup()
43 strs = NULL; in udbg_cleanup()
59 if(strs == NULL) { in udbg_setup()
73 strs = newStrs; in udbg_setup()
80 if(strs == NULL ) { in udbg_enumString()
87 return strs[UDBG_ENUM_COUNT][0]; in udbg_enumString()
93 return strs[type][count]; in udbg_enumString()
[all …]

123456