Searched refs:new (Results 1 - 25 of 1335) sorted by relevance

1234567891011>>

/external/clang/test/SemaCXX/Inputs/
H A Dwarn-new-overaligned-3.h3 // This header file pretends to be <new> from the system library, for the
6 void* operator new(unsigned long) {
9 void* operator new[](unsigned long) {
13 void* operator new(unsigned long, void *) {
17 void* operator new[](unsigned long, void *) {
/external/toybox/toys/android/
H A Dsetenforce.c22 char *new = *toys.optargs; local
26 else if (!strcmp(new, "1") || !strcasecmp(new, "enforcing")) state = 1;
27 else if (!strcmp(new, "0") || !strcasecmp(new, "permissive")) state = 0;
28 else error_exit("Invalid state: %s", new);
31 if (ret == -1) perror_msg("Couldn't set enforcing status to '%s'", new);
/external/clang/test/Modules/Inputs/PR21687/
H A Db.h2 X *n = new X;
/external/toybox/toys/posix/
H A Dln.c29 char *dest = toys.optargs[--toys.optc], *new; local
51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try));
52 else new = dest;
57 oldnew = new;
59 new = xmprintf("%s_XXXXXX", new);
60 rc = mkstemp(new);
63 if (unlink(new)) perror_msg("unlink '%s'", new);
67 rc = (toys.optflags & FLAG_s) ? symlink(try, new)
[all...]
/external/bison/lib/
H A Dstrndup.c29 char *new = malloc (len + 1); local
31 if (new == NULL)
34 new[len] = '\0';
35 return memcpy (new, s, len);
H A Dstrdup.c42 void *new = malloc (len); local
44 if (new == NULL)
47 return (char *) memcpy (new, s, len);
/external/valgrind/drd/tests/
H A Dtc08_hbl2.stdout.exp1 child: new value 6
2 child: new value 10
/external/valgrind/helgrind/tests/
H A Dtc08_hbl2.stdout.exp1 child: new value 6
2 child: new value 10
/external/valgrind/memcheck/tests/vbit-test/
H A Dvbits.c109 vbits_t new = { .num_bits = num_bits }; local
112 case 1: new.bits.u32 = 0x01; break;
113 case 8: new.bits.u8 = 0xff; break;
114 case 16: new.bits.u16 = 0xffff; break;
115 case 32: new.bits.u32 = ~0; break;
116 case 64: new.bits.u64 = ~0ull; break;
117 case 128: new.bits.u128[0] = ~0ull;
118 new.bits.u128[1] = ~0ull;
120 case 256: new.bits.u256[0] = ~0ull;
121 new
136 vbits_t new = { .num_bits = num_bits }; local
255 vbits_t new = { .num_bits = num_bits }; local
384 vbits_t new = { .num_bits = v1.num_bits }; local
412 vbits_t new = { .num_bits = v1.num_bits }; local
440 vbits_t new = { .num_bits = v1.num_bits * 2 }; local
483 vbits_t new = { .num_bits = v.num_bits / 2 }; local
608 vbits_t new = { .num_bits = num_bits }; local
701 vbits_t new = v; local
723 vbits_t new = v; local
745 vbits_t new = v; local
780 vbits_t new = { .num_bits = v1_num_bits }; local
[all...]
/external/icu/icu4c/source/tools/tzcode/
H A Dialloc.c11 icatalloc(char *const old, const char *const new) argument
16 newsize = (new == NULL) ? 0 : strlen(new);
23 if (new != NULL)
24 (void) strcpy(result + oldsize, new);
/external/tcpdump/
H A Dsetsignal.c72 struct sigaction old, new; local
74 memset(&new, 0, sizeof(new));
75 new.sa_handler = func;
77 new.sa_flags = SA_RESTART;
78 if (sigaction(sig, &new, &old) < 0)
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_placement_new.h13 // The file provides 'placement new'.
21 inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) {
/external/toybox/lib/
H A Dllist.c67 void dlist_add_nomalloc(struct double_list **list, struct double_list *new) argument
70 new->next = *list;
71 new->prev = (*list)->prev;
72 (*list)->prev->next = new;
73 (*list)->prev = new;
74 } else *list = new->next = new->prev = new;
81 struct double_list *new = xmalloc(sizeof(struct double_list)); local
83 new
[all...]
/external/selinux/libsepol/cil/src/
H A Dcil_copy_ast.c51 struct cil_list *new; local
54 cil_list_init(&new, data->flavor);
59 cil_list_append(new, CIL_STRING, orig_item->data);
64 cil_list_append(new, CIL_LIST, new_sub);
73 cil_list_append(new, CIL_PARAM, pn);
78 cil_list_append(new, orig_item->flavor, orig_item->data);
83 *copy = new;
88 char *new = NULL; local
91 new = data;
93 *copy = new;
106 struct cil_block *new; local
119 struct cil_blockabstract *new = NULL; local
133 struct cil_blockinherit *new = NULL; local
153 struct cil_policycap *new; local
171 struct cil_perm *new; local
181 cil_copy_classperms(struct cil_classperms *orig, struct cil_classperms **new) argument
188 cil_copy_classperms_set(struct cil_classperms_set *orig, struct cil_classperms_set **new) argument
194 cil_copy_classperms_list(struct cil_list *orig, struct cil_list **new) argument
219 struct cil_classmapping *new = NULL; local
236 struct cil_class *new = NULL; local
258 struct cil_classorder *new = NULL; local
273 struct cil_classpermission *new = NULL; local
297 struct cil_classpermissionset *new = NULL; local
313 struct cil_classcommon *new = NULL; local
333 struct cil_sid *new; local
346 struct cil_sidcontext *new = NULL; local
365 struct cil_sidorder *new = NULL; local
385 struct cil_user *new; local
398 struct cil_userattribute *new = NULL; local
416 struct cil_userattributeset *new = NULL; local
433 struct cil_userrole *new = NULL; local
448 struct cil_userlevel *new = NULL; local
468 struct cil_userrange *new = NULL; local
489 struct cil_userprefix *new = NULL; local
509 struct cil_role *new; local
522 struct cil_roletype *new = NULL; local
542 struct cil_roleattribute *new; local
555 struct cil_roleattributeset *new = NULL; local
572 struct cil_roleallow *new = NULL; local
592 struct cil_type *new; local
605 struct cil_typepermissive *new = NULL; local
624 struct cil_typeattribute *new; local
637 struct cil_typeattributeset *new = NULL; local
654 struct cil_alias *new = NULL; local
674 struct cil_aliasactual *new = NULL; local
689 struct cil_roletransition *new = NULL; local
706 struct cil_nametypetransition *new = NULL; local
725 struct cil_rangetransition *new = NULL; local
748 struct cil_bool *new = NULL; local
768 struct cil_tunable *new = NULL; local
785 cil_copy_fill_permissionx(struct cil_db *db, struct cil_permissionx *orig, struct cil_permissionx *new) argument
795 struct cil_avrule *new = NULL; local
823 struct cil_permissionx *new = NULL; local
845 struct cil_type_rule *new = NULL; local
868 struct cil_sens *new; local
886 struct cil_cat *new; local
896 cil_copy_cats(struct cil_db *db, struct cil_cats *orig, struct cil_cats **new) argument
906 struct cil_catset *new = NULL; local
928 struct cil_senscat *new = NULL; local
944 struct cil_catorder *new = NULL; local
959 struct cil_sensorder *new = NULL; local
971 cil_copy_fill_level(struct cil_db *db, struct cil_level *orig, struct cil_level **new) argument
985 struct cil_level *new = NULL; local
1004 cil_copy_fill_levelrange(struct cil_db *db, struct cil_levelrange *data, struct cil_levelrange *new) argument
1022 struct cil_levelrange *new = NULL; local
1042 cil_copy_fill_context(struct cil_db *db, struct cil_context *data, struct cil_context *new) argument
1059 struct cil_context *new = NULL; local
1082 struct cil_netifcon *new = NULL; local
1110 struct cil_genfscon *new = NULL; local
1132 struct cil_filecon *new = NULL; local
1154 struct cil_nodecon *new = NULL; local
1187 struct cil_portcon *new = NULL; local
1210 struct cil_pirqcon *new = NULL; local
1231 struct cil_iomemcon *new = NULL; local
1253 struct cil_ioportcon *new = NULL; local
1275 struct cil_pcidevicecon *new = NULL; local
1296 struct cil_devicetreecon *new = NULL; local
1317 struct cil_fsuse *new = NULL; local
1336 cil_copy_expr(struct cil_db *db, struct cil_list *orig, struct cil_list **new) argument
1380 struct cil_constrain *new = NULL; local
1396 struct cil_validatetrans *new = NULL; local
1413 struct cil_call *new = NULL; local
1448 struct cil_macro *new; local
1513 struct cil_optional *new; local
1523 cil_copy_fill_ipaddr(struct cil_ipaddr *data, struct cil_ipaddr *new) argument
1532 struct cil_ipaddr *new = NULL; local
1553 struct cil_condblock *new = *copy; local
1564 struct cil_booleanif *new = NULL; local
1580 struct cil_tunableif *new = NULL; local
1595 struct cil_default *new = NULL; local
1615 struct cil_defaultrange *new = NULL; local
1633 struct cil_handleunknown *new = NULL; local
1645 struct cil_mls *new = NULL; local
1657 struct cil_bounds *new = NULL; local
1673 struct cil_tree_node *new = NULL; local
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h50 TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText());
51 DataSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getData());
52 BSSSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getBSS());
54 new NVPTXSection(MCSection::SV_ELF, SectionKind::getReadOnly());
57 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
59 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
61 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
63 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
65 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
67 new NVPTXSectio
[all...]
/external/dnsmasq/contrib/slackware-dnsmasq/
H A Ddoinst.sh.gz
/external/google-breakpad/src/tools/solaris/dump_syms/
H A Drun_regtest.sh32 ./dump_syms testdata/dump_syms_regtest.o > testdata/dump_syms_regtest.new
40 diff -u testdata/dump_syms_regtest.new testdata/dump_syms_regtest.sym > \
45 rm testdata/dump_syms_regtest.diff testdata/dump_syms_regtest.new
48 echo "FAIL, see testdata/dump_syms_regtest.[new|diff]"
/external/google-breakpad/src/tools/windows/dump_syms/
H A Drun_regtest.sh34 testdata/dump_syms_regtest.new
42 diff -u testdata/dump_syms_regtest.new testdata/dump_syms_regtest.sym > \
47 rm testdata/dump_syms_regtest.diff testdata/dump_syms_regtest.new
50 echo "FAIL, see testdata/dump_syms_regtest.[new|diff]"
/external/clang/test/SemaCXX/
H A Ddelete-mismatch.h8 : a(new int[1]) { } // expected-note{{allocated with 'new[]' here}}
11 delete a; // expected-warning{{'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'?}}
/external/toybox/toys/other/
H A Dlsusb.c18 static int list_device(struct dirtree *new) argument
24 if (!new->parent) return DIRTREE_RECURSE;
25 if (new->name[0] == '.') return 0;
26 name = dirtree_path(new, 0);
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-scope.rb10 @A = ANTLR3::Scope.new( :a, :b )
11 @B = ANTLR3::Scope.new( 'count = 3' )
12 @C = ANTLR3::Scope.new( 'a', 'b = 0', 'c = {}' )
22 @A.new.to_a.should == [ nil, nil ]
23 @B.new.to_a.should == [ 3 ]
24 @C.new.to_a.should == [ nil, 0, {} ]
28 c = @C.new( Object )
35 b = @B.new( 7000 )
40 a = @A.new( "apple", :orange )
/external/ipsec-tools/src/racoon/
H A Dremoteconf.c91 * If matching anonymous entry, then new entry is copied from anonymous entry.
171 struct remoteconf *new; local
174 new = racoon_calloc(1, sizeof(*new));
175 if (new == NULL)
178 new->proposal = NULL;
181 new->doitype = IPSEC_DOI;
182 new->sittype = IPSECDOI_SIT_IDENTITY_ONLY;
183 new->idvtype = IDTYPE_UNDEFINED;
184 new
231 struct remoteconf *new, *old; local
271 struct remoteconf *new; local
337 struct etypes *new; local
436 struct isakmpsa *new; local
623 struct idspec *new; local
[all...]
/external/dnsmasq/src/
H A Doption.c668 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); local
675 new->len = 0;
676 new->flags = flags;
677 new->netid = NULL;
678 new->val = NULL;
679 new->opt = 0;
691 new->opt = atoi(arg);
702 new->opt = opttab[i].val;
711 new->u.vendor_class = (unsigned char *)opt_string_alloc(arg+7);
712 new
1150 struct resolvc *new, *list = daemon->resolv_files; local
1180 struct mx_srv_record *new; local
1227 struct hostsfile *new = opt_malloc(sizeof(struct hostsfile)); local
1250 struct cond_domain *new = safe_malloc(sizeof(struct cond_domain)); local
1301 struct iname *new = opt_malloc(sizeof(struct iname)); local
1316 struct iname *new = opt_malloc(sizeof(struct iname)); local
1351 struct iname *new = opt_malloc(sizeof(struct iname)); local
1612 struct dhcp_bridge *new = opt_malloc(sizeof(struct dhcp_bridge)); local
1644 struct dhcp_context *new = opt_malloc(sizeof(struct dhcp_context)); local
1782 struct dhcp_config *new; local
1966 struct dhcp_boot *new = opt_malloc(sizeof(struct dhcp_boot)); local
1981 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); local
2025 struct pxe_service *new = opt_malloc(sizeof(struct pxe_service)); local
2102 struct dhcp_mac *new = opt_malloc(sizeof(struct dhcp_mac)); local
2127 struct dhcp_vendor *new = opt_malloc(sizeof(struct dhcp_vendor)); local
2199 struct dhcp_netid_list *new = opt_malloc(sizeof(struct dhcp_netid_list)); local
2243 struct doctor *new = opt_malloc(sizeof(struct doctor)); local
2278 struct interface_name *new, **up; local
2299 struct cname *new; local
2327 struct ptr_record *new; local
2350 struct naptr *new; local
2384 struct txt_record *new; local
2449 struct mx_srv_record *new; local
[all...]
/external/llvm/include/llvm/
H A DLinkAllIR.h46 (void)new llvm::Module("", llvm::getGlobalContext());
47 (void)new llvm::UnreachableInst(llvm::getGlobalContext());
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Dnuances.rb28 lexer = EmptyAlt::Lexer.new( 'foo' )
29 parser = EmptyAlt::Parser.new lexer
58 lexer = Subrule::Lexer.new( 'BEGIN A END' )
59 parser = Subrule::Parser.new lexer
95 lexer = SpecialStates::Lexer.new 'foo'
96 parser = SpecialStates::Parser.new lexer
101 lexer = SpecialStates::Lexer.new 'foo name1'
102 parser = SpecialStates::Parser.new lexer
107 lexer = SpecialStates::Lexer.new 'bar name1'
108 parser = SpecialStates::Parser.new lexe
[all...]

Completed in 695 milliseconds

1234567891011>>