Home
last modified time | relevance | path

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

1234

/external/v8/test/mjsunit/
Dstring-replace-with-empty.js35 var cons = "a0b1c2d3";
38 cons += cons;
40 assertEquals(expected, cons.replace(/[a-z]/g, ""));
41 cons = "\u12340b1c2d3";
43 cons += cons;
45 assertEquals(expected, cons.replace(/[\u1234a-z]/g, ""));
47 cons = "a0b1c2d3";
49 cons += cons;
51 externalizeString(cons, true/* force two-byte */);
52 assertEquals(expected, cons.replace(/[a-z]/g, ""));
[all …]
Dstring-slices.js151 cons = flat + flat.toUpperCase();
154 f(flat, cons, slice, i);
157 cons = flat + flat.toUpperCase();
160 f(flat, cons, slice, i);
165 cons = flat + flat.toUpperCase();
166 /x/.exec(cons); // Flatten cons
169 assertEquals("cdefg", cons.substr(2, 5));
173 cons = flat + flat.toUpperCase();
174 /x/.exec(cons); // Flatten cons
177 assertEquals("c\u1234def", cons.substr(2, 5));
Dregexp-capture-3.js140 var cons = base + base + base + base; variable
141 no_last_match(function() { cons.replace("x", "y"); });
142 no_last_match(function() { cons.replace("e", "E"); });
/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/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/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/v8/test/mjsunit/regress/
Dregress-95485.js32 var cons = left + right;
33 var substring = cons.substring(2, 4);
Dregress-1439135.js33 var cons = left + right;
34 var substring = cons.substring(20, 80);
/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/v8/test/mjsunit/es6/
Diteration-semantics.js80 function fold(cons, seed, iterable) { argument
82 seed = cons(x, seed);
115 function nested_fold(cons, seed, iterable) { argument
119 seed = cons(y, seed);
/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/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/llvm/test/Assembler/
DConstantExprFold.ll30 @cons = weak global i32 0, align 8 ; <i32*> [#uses=1]
31 global i64 and (i64 ptrtoint (i32* @cons to i64), i64 7)
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java650 Constructor cons = c.getConstructor(paramTypes); in create() local
651 return cons.newInstance(args); in create()
947 Constructor[] cons = SecurityActions.getDeclaredConstructors(superClass); in makeConstructors() local
950 for (int i = 0; i < cons.length; i++) { in makeConstructors()
951 Constructor c = cons[i]; in makeConstructors()
1054 private static MethodInfo makeConstructor(String thisClassName, Constructor cons, in makeConstructor() argument
1056 String desc = RuntimeSupport.makeDescriptor(cons.getParameterTypes(), in makeConstructor()
1060 setThrows(minfo, cp, cons.getExceptionTypes()); in makeConstructor()
1082 int s = addLoadParameters(code, cons.getParameterTypes(), 1); in makeConstructor()
/external/mesa3d/src/glsl/
Dast.h267 cons(false) in ast_function_expression()
275 cons(true) in ast_function_expression()
282 return cons; in is_constructor()
292 bool cons;
/external/javassist/src/main/javassist/tools/rmi/
DObjectImporter.java190 Constructor cons = c.getConstructor(proxyConstructorParamTypes); in createProxy() local
191 return cons.newInstance(new Object[] { this, new Integer(oid) }); in createProxy()

1234