Home
last modified time | relevance | path

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

12345

/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/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/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/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/javassist/src/main/javassist/
DCtNewWrappedConstructor.java35 CtConstructor cons = new CtConstructor(parameterTypes, declaring); in wrapped() local
36 cons.setExceptionTypes(exceptionTypes); in wrapped()
40 cons.getMethodInfo2().setCodeAttribute(code.toCodeAttribute()); in wrapped()
41 return cons; in wrapped()
DCtMember.java78 void addConstructor(CtMember cons) { in addConstructor() argument
79 cons.next = consTail.next; in addConstructor()
80 consTail.next = cons; in addConstructor()
82 fieldTail = cons; in addConstructor()
84 consTail = cons; in addConstructor()
DCtNewClass.java95 CtConstructor cons in inheritAllConstructors() local
98 cons.setModifiers(mod & (Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE)); in inheritAllConstructors()
99 addConstructor(cons); in inheritAllConstructors()
DCtClassType.java974 CtMember cons = memCache.consHead(); in getDeclaredBehaviors() local
976 int cnum = CtMember.Cache.count(cons, consTail); in getDeclaredBehaviors()
983 while (cons != consTail) { in getDeclaredBehaviors()
984 cons = cons.next(); in getDeclaredBehaviors()
985 cb[i++] = (CtBehavior)cons; in getDeclaredBehaviors()
998 CtMember cons = memCache.consHead(); in getConstructors() local
1002 CtMember mem = cons; in getConstructors()
1011 mem = cons; in getConstructors()
1022 private static boolean isPubCons(CtConstructor cons) { in isPubCons() argument
1023 return !Modifier.isPrivate(cons.getModifiers()) in isPubCons()
[all …]
DCtNewConstructor.java138 CtConstructor cons = new CtConstructor((CtClass[])null, declaring); in defaultConstructor() local
154 cons.getMethodInfo2().setCodeAttribute(code.toCodeAttribute()); in defaultConstructor()
155 return cons; in defaultConstructor()
/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/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/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/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))
DREADME12 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
21 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothHealthFacade.java144 Constructor[] cons = btHealthAppConfigClass.getConstructors(); in bluetoothHealthRegisterAppConfiguration() local
145 for (int i = 0; i < cons.length; i++) { in bluetoothHealthRegisterAppConfiguration()
146 System.out.println("constuctor: " + cons[i]); in bluetoothHealthRegisterAppConfiguration()
152 System.out.println(Integer.toString(cons.length)); in bluetoothHealthRegisterAppConfiguration()
/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))
Dtablegen-mode.el37 (cons (concat kw "[ \n\t(]") 1)
40 (cons (concat type-kw "[ \n\t(]") 1)
/external/javassist/src/main/javassist/compiler/
DJavac.java151 CtConstructor cons = new CtConstructor(plist, in compileMethod() local
153 cons.setModifiers(mod); in compileMethod()
155 cons.getMethodInfo().setCodeAttribute( in compileMethod()
157 cons.setExceptionTypes(tlist); in compileMethod()
158 return cons; in compileMethod()
/external/clang/utils/
Dclang-completion-mode.el222 (cons (cons 'clang-completion-mode clang-completion-mode-map)
/external/nist-sip/java/gov/nist/javax/sip/
DSipStackImpl.java564 Constructor<?> cons = stackLoggerClass in SipStackImpl() local
567 StackLogger stackLogger = (StackLogger) cons.newInstance(args); in SipStackImpl()
593 Constructor<?> cons = serverLoggerClass in SipStackImpl() local
596 this.serverLogger = (ServerLogger) cons.newInstance(args); in SipStackImpl()
631 Constructor<?> cons = routerClass.getConstructor(constructorArgs); in SipStackImpl() local
635 Router router = (Router) cons.newInstance(args); in SipStackImpl()
/external/swiftshader/third_party/LLVM/test/Assembler/
DConstantExprFold.ll29 @cons = weak global i32 0, align 8 ; <i32*> [#uses=1]
30 global i64 and (i64 ptrtoint (i32* @cons to i64), i64 7)
/external/syslinux/gpxe/src/drivers/net/
Dmtnic.c120 for (; ring->cons <= ring->prod; ++ring->cons) { in mtnic_free_io_buffers()
121 index = ring->cons & ring->size_mask; in mtnic_free_io_buffers()
142 while ((u32)(ring->prod - ring->cons) < UNITS_BUFFER_SIZE) { in mtnic_alloc_iobuf()
146 if (ring->prod <= (ring->cons + 1)) { in mtnic_alloc_iobuf()
188 ring->cons = 0; in mtnic_alloc_ring()
1214 ring->cons = cq->last; in mtnic_process_tx_cq()
1273 ring->cons = cq->last; in mtnic_process_rx_cq()
1275 if (ring->prod - ring->cons < (MAX_GAP_PROD_CONS)) { in mtnic_process_rx_cq()
1553 if ((ring->prod - ring->cons) >= ring->size) { in mtnic_transmit()
1555 ring->cons, ring->prod); in mtnic_transmit()

12345