Home
last modified time | relevance | path

Searched refs:cons (Results 1 – 25 of 113) sorted by relevance

12345

/external/u-boot/common/
Dlcd_console.c16 static struct console_t cons; variable
20 cons.curr_col = col; in lcd_set_col()
25 cons.curr_row = row; in lcd_set_row()
30 cons.curr_col = min_t(short, col, cons.cols - 1); in lcd_position_cursor()
31 cons.curr_row = min_t(short, row, cons.rows - 1); in lcd_position_cursor()
36 return cons.rows; in lcd_get_screen_rows()
41 return cons.cols; in lcd_get_screen_columns()
92 if (--cons.curr_col < 0) { in console_back()
93 cons.curr_col = cons.cols - 1; in console_back()
94 if (--cons.curr_row < 0) in console_back()
[all …]
/external/u-boot/test/py/tests/
Dtest_vboot.py56 util.run_and_log(cons, 'dtc %s %s%s -O dtb '
73 cons.restart_uboot()
74 with cons.log.section('Verified boot %s %s' % (sha_algo, test_type)):
75 output = cons.run_command_list(
91 util.run_and_log(cons, [mkimage, '-D', dtc_args, '-f',
104 cons.log.action('%s: Sign images' % sha_algo)
105 util.run_and_log(cons, [mkimage, '-F', '-k', tmpdir, '-K', dtb,
125 cons.log.action('%s: Test FIT with signed images' % sha_algo)
136 cons.log.action('%s: Test FIT with signed configuration' % sha_algo)
144 cons.log.action('%s: Check signed config on the host' % sha_algo)
[all …]
Dtest_fit.py124 return os.path.join(cons.config.build_dir, leaf)
157 util.run_and_log(cons, ['dtc', src, '-O', 'dtb', '-o', dtb])
187 util.run_and_log(cons, [mkimage, '-f', its, fit])
361 cons.config.dtb = control_dtb
362 cons.restart_uboot()
363 with cons.log.section('Kernel load'):
364 output = cons.run_command_list(cmd.splitlines())
384 with cons.log.section('Kernel + FDT load'):
387 cons.restart_uboot()
388 output = cons.run_command_list(cmd.splitlines())
[all …]
Dtest_log.py42 with cons.log.section('basic'):
89 cons = u_boot_console
111 output = cons.run_command('log format %s' % fmt)
113 output = cons.run_command('log rec arch notice file.c 123 func msg')
116 cons = u_boot_console
117 with cons.log.section('format'):
119 output = cons.run_command('log format')
Dtest_ofplatdata.py11 cons = u_boot_console
12 output = cons.get_spawn_output().replace('\r', '')
/external/clang/test/SemaTemplate/
Dexample-typelist.cpp8 struct cons { struct
28 struct length<cons<Head, Tail> > { argument
37 typedef cons<unsigned char,
38 cons<unsigned short,
39 cons<unsigned int,
40 cons<unsigned long> > > > unsigned_inttypes;
55 typedef cons<typename reversed_tail::head,
56 typename reverse<cons<typename T::head, most_of_tail> >::type> type;
60 class reverse<cons<Head> > {
62 typedef cons<Head> type;
[all …]
/external/python/cpython3/Lib/test/
Dtest_asdl_parser.py74 cons = ehandler.types[0]
75 self.assertIsInstance(cons, self.asdl.Constructor)
76 self.assertEqual(len(cons.fields), 3)
78 f0 = cons.fields[0]
83 f1 = cons.fields[1]
88 f2 = cons.fields[2]
111 def visitConstructor(self, cons): argument
112 for f in cons.fields:
114 self.names_with_seq.append(cons.name)
Dtest_hashlib.py177 for cons in self.hash_constructors:
178 c = cons(a)
224 for cons in self.hash_constructors:
225 h = cons()
236 for cons in self.hash_constructors:
237 h = cons()
248 for cons in self.hash_constructors:
249 h = cons()
263 for cons in self.hash_constructors:
264 m1 = cons()
[all …]
/external/python/cpython3/Parser/
Dasdl_c.py178 def visitConstructor(self, cons, depth): argument
179 if cons.fields:
181 for f in cons.fields:
183 self.emit("} %s;" % cons.name, depth)
256 def visitConstructor(self, cons, type, attrs): argument
257 args = self.get_args(cons.fields)
260 self.emit_function(cons.name, ctype, args, attrs)
354 def visitConstructor(self, cons, name): argument
612 def visitConstructor(self, cons, name): argument
613 self.emit("static PyTypeObject *%s_type;" % cons.name, 0)
[all …]
Dasdl.py141 self.cons = {}
156 def visitConstructor(self, cons, name): argument
157 key = str(cons.name)
158 conflict = self.cons.get(key)
160 self.cons[key] = name
165 for f in cons.fields:
/external/python/cpython2/Parser/
Dasdl_c.py176 def visitConstructor(self, cons, depth): argument
177 if cons.fields:
179 for f in cons.fields:
181 self.emit("} %s;" % cons.name, depth)
252 def visitConstructor(self, cons, type, attrs): argument
253 args = self.get_args(cons.fields)
256 self.emit_function(cons.name, ctype, args, attrs)
348 def visitConstructor(self, cons, name): argument
588 def visitConstructor(self, cons, name): argument
589 self.emit("static PyTypeObject *%s_type;" % cons.name, 0)
[all …]
Dasdl.py333 self.cons = {}
348 def visitConstructor(self, cons, name): argument
349 key = str(cons.name)
350 conflict = self.cons.get(key)
352 self.cons[key] = name
357 for f in cons.fields:
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c5737 struct cil_constrain *cons; in test_cil_gen_constrain_expr_stack_eq2_t1type() local
5738 cil_constrain_init(&cons); in test_cil_gen_constrain_expr_stack_eq2_t1type()
5740 cil_classpermset_init(&cons->classpermset); in test_cil_gen_constrain_expr_stack_eq2_t1type()
5741 cil_fill_classpermset(parse_current->next->cl_head, cons->classpermset); in test_cil_gen_constrain_expr_stack_eq2_t1type()
5743 int rc = cil_gen_expr_stack(parse_current->next->next, CIL_MLSCONSTRAIN, &cons->expr); in test_cil_gen_constrain_expr_stack_eq2_t1type()
5763 struct cil_constrain *cons; in test_cil_gen_constrain_expr_stack_eq2_t1t1_neg() local
5764 cil_constrain_init(&cons); in test_cil_gen_constrain_expr_stack_eq2_t1t1_neg()
5765 cil_classpermset_init(&cons->classpermset); in test_cil_gen_constrain_expr_stack_eq2_t1t1_neg()
5766 cil_fill_classpermset(parse_current->next->cl_head, cons->classpermset); in test_cil_gen_constrain_expr_stack_eq2_t1t1_neg()
5768 int rc = cil_gen_expr_stack(parse_current->next->next->next, CIL_MLSCONSTRAIN, &cons->expr); in test_cil_gen_constrain_expr_stack_eq2_t1t1_neg()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_baseEnglishToIpa.txt9 $cons = [bcdfghjklmnpqrstvxz ð ŋ ʃ ʒ θ] ;
26 $no_syllable = $nletter $cons* ;
29 $final_ersd = $cons? e [sdr]? $nletter ;
32 $final_ing = $cons? ing $nletter;
54 $cons { re } $nletter > ər ; # theatre
55 $cons { le } $nletter > əl ; # able
61 $cons { les } $nletter > əlz ; # battles
62 $cons { res } $nletter > ərz ; # theatres
63 #$cons { le } [rd] $nletter > əl ; # battler battled
64 #$cons { re } [rd] $nletter > ər ; # theatrer, theatred
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DExtensionNamespaceSupport.java83 Constructor[] cons = cl.getConstructors(); in launch() local
84 for (int i = 0; i < cons.length; i ++) in launch()
86 if (cons[i].getParameterTypes().length == m_args.length) in launch()
88 con = cons[i]; in launch()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/body/
DConstructorDeclarationTest.java16 ConstructorDeclaration cons = new ConstructorDeclaration("Cons"); in acceptsSuper() local
17 cons.createBody().addStatement("super();"); in acceptsSuper()
21 "}", EOL), cons.toString()); in acceptsSuper()
/external/clang/test/
Dcxx-sections.data523 18.9.1 [support.initlist.cons]
589 20.3.6.1 [bitset.cons]
735 20.9.3.1 [time.duration.cons]
743 20.9.4.1 [time.point.cons]
768 21.4.2 [string.cons]
812 22.3.1.2 [locale.cons]
899 23.3.1.1 [array.cons]
907 23.3.2.1 [deque.cons]
912 23.3.3.1 [forwardlist.cons]
919 23.3.4.1 [list.cons]
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_destroy/
D3-1.c33 pthread_t prod, cons; in main() local
51 if (pthread_create(&cons, NULL, consumer, (void *)cnt) != 0) { in main()
56 if (pthread_join(prod, NULL) == 0 && pthread_join(cons, NULL) == 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
D3-1.c33 pthread_t prod, cons; in main() local
51 if (pthread_create(&cons, NULL, consumer, (void *)cnt) != 0) { in main()
56 if ((pthread_join(prod, NULL) == 0) && (pthread_join(cons, NULL) == 0)) { in main()
/external/icu/icu4c/source/data/translit/
Dcy_cy_FONIPA.txt30 $cons = [
95 {($vowel+ $cons+ $vowel+ $cons*)} $end → ˈ $1; ## Polysyllabic words
96 $end $cons* {($vowel+ $cons*)} $end → ˈ $1; ## Monosyllabic words
106 yw } $cons* $end → ɨu;
108 y} $cons* $end → ɨ;
194 ([$cons w] [l ɬ r {r\u0325}]? j? w?) ˈ → ˈ $1;
/external/swiftshader/third_party/llvm-7.0/llvm/utils/emacs/
Dtablegen-mode.el42 (cons (concat kw "[ \n\t(]") 1)
45 (cons (concat type-kw "[ \n\t(]") 1)
127 (add-to-list 'auto-mode-alist (cons (purecopy "\\.td\\'") 'tablegen-mode))
/external/llvm/utils/emacs/
Dtablegen-mode.el42 (cons (concat kw "[ \n\t(]") 1)
45 (cons (concat type-kw "[ \n\t(]") 1)
127 (add-to-list 'auto-mode-alist (cons (purecopy "\\.td\\'") 'tablegen-mode))
/external/testng/src/main/java/org/testng/internal/annotations/
DJDK15AnnotationFinder.java197 public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass) { in findAnnotation() argument
203 Annotation annotation = cons.getAnnotation(a); in findAnnotation()
204 return findAnnotation(cons.getDeclaringClass(), annotation, annotationClass, null, cons, null, in findAnnotation()
205 new Pair<>(annotation, cons)); in findAnnotation()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DParserFactory.java294 Constructor cons = (Constructor) parserConstructorCache.get(parserClass); in createParser() local
295 if (cons == null) { in createParser()
296 cons = parserClass.getConstructor(constructorArgs); in createParser()
297 parserConstructorCache.put(parserClass, cons); in createParser()
301 HeaderParser retval = (HeaderParser) cons.newInstance(args); in createParser()
/external/swiftshader/third_party/LLVM/utils/emacs/
DREADME12 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
21 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))

12345