Searched refs:new (Results 1 - 25 of 1451) 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/syslinux/com32/lib/
H A Dchrreplace.c3 /* Replace char 'old' by char 'new' in source */
4 void chrreplace(char *source, char old, char new) argument
8 if (source[0] == old) source[0]=new;
/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/ltp/utils/ffsb-6.0-rc2/
H A Dlist.c15 void __list_add(struct list_head *new, argument
18 next->prev = new;
19 new->next = next;
20 new->prev = prev;
21 prev->next = new;
30 void list_add(struct list_head *new, struct list_head *head) argument
32 __list_add(new, head, head->next);
35 void list_add_tail(struct list_head *new, struct list_head *head) argument
37 __list_add(new, head->prev, head);
47 void list_replace(struct list_head *old, struct list_head *new) argument
[all...]
/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/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
1672 struct cil_src_info *new = NULL; local
1688 struct cil_tree_node *new = NULL; local
[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/skia/src/sksl/
H A DSkSLContext.h22 : fInvalid_Type(new Type(SkString("<INVALID>")))
23 , fVoid_Type(new Type(SkString("void")))
24 , fDouble_Type(new Type(SkString("double"), true))
25 , fDVec2_Type(new Type(SkString("dvec2"), *fDouble_Type, 2))
26 , fDVec3_Type(new Type(SkString("dvec3"), *fDouble_Type, 3))
27 , fDVec4_Type(new Type(SkString("dvec4"), *fDouble_Type, 4))
28 , fFloat_Type(new Type(SkString("float"), true, { fDouble_Type.get() }))
29 , fVec2_Type(new Type(SkString("vec2"), *fFloat_Type, 2))
30 , fVec3_Type(new Type(SkString("vec3"), *fFloat_Type, 3))
31 , fVec4_Type(new Typ
[all...]
/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/ltp/testscripts/
H A Dltpdmmapper.sh134 dmsetup rename dm-test-1 dm-test-1-new
135 dmsetup rename dm-test-2 dm-test-2-new
136 dmsetup rename dm-test-3 dm-test-3-new
137 dmsetup rename dm-test-4 dm-test-4-new
141 dmsetup suspend dm-test-1-new
142 dmsetup suspend dm-test-2-new
143 dmsetup suspend dm-test-3-new
144 dmsetup suspend dm-test-4-new
153 dmsetup reload dm-test-1-new ltp-dev-mapper-table1
154 dmsetup reload dm-test-2-new lt
[all...]
/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.c673 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); local
680 new->len = 0;
681 new->flags = flags;
682 new->netid = NULL;
683 new->val = NULL;
684 new->opt = 0;
696 new->opt = atoi(arg);
707 new->opt = opttab[i].val;
716 new->u.vendor_class = (unsigned char *)opt_string_alloc(arg+7);
717 new
1155 struct resolvc *new, *list = daemon->resolv_files; local
1185 struct mx_srv_record *new; local
1232 struct hostsfile *new = opt_malloc(sizeof(struct hostsfile)); local
1255 struct cond_domain *new = safe_malloc(sizeof(struct cond_domain)); local
1306 struct iname *new = opt_malloc(sizeof(struct iname)); local
1321 struct iname *new = opt_malloc(sizeof(struct iname)); local
1356 struct iname *new = opt_malloc(sizeof(struct iname)); local
1617 struct dhcp_bridge *new = opt_malloc(sizeof(struct dhcp_bridge)); local
1649 struct dhcp_context *new = opt_malloc(sizeof(struct dhcp_context)); local
1787 struct dhcp_config *new; local
1971 struct dhcp_boot *new = opt_malloc(sizeof(struct dhcp_boot)); local
1986 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); local
2030 struct pxe_service *new = opt_malloc(sizeof(struct pxe_service)); local
2107 struct dhcp_mac *new = opt_malloc(sizeof(struct dhcp_mac)); local
2132 struct dhcp_vendor *new = opt_malloc(sizeof(struct dhcp_vendor)); local
2204 struct dhcp_netid_list *new = opt_malloc(sizeof(struct dhcp_netid_list)); local
2248 struct doctor *new = opt_malloc(sizeof(struct doctor)); local
2283 struct interface_name *new, **up; local
2304 struct cname *new; local
2332 struct ptr_record *new; local
2355 struct naptr *new; local
2389 struct txt_record *new; local
2454 struct mx_srv_record *new; local
[all...]

Completed in 604 milliseconds

1234567891011>>