Searched refs:new (Results 1 - 25 of 1020) 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.c77 vbits_t new = { .num_bits = num_bits }; local
80 case 1: new.bits.u32 = 0x01; break;
81 case 8: new.bits.u8 = 0xff; break;
82 case 16: new.bits.u16 = 0xffff; break;
83 case 32: new.bits.u32 = ~0; break;
84 case 64: new.bits.u64 = ~0ull; break;
85 case 128: new.bits.u128[0] = ~0ull;
86 new.bits.u128[1] = ~0ull;
88 case 256: new.bits.u256[0] = ~0ull;
89 new
104 vbits_t new = { .num_bits = num_bits }; local
223 vbits_t new = { .num_bits = num_bits }; local
352 vbits_t new = { .num_bits = v1.num_bits }; local
380 vbits_t new = { .num_bits = v1.num_bits }; local
408 vbits_t new = { .num_bits = v1.num_bits * 2 }; local
451 vbits_t new = { .num_bits = v.num_bits / 2 }; local
576 vbits_t new = { .num_bits = num_bits }; local
669 vbits_t new = v; local
691 vbits_t new = v; local
713 vbits_t new = v; local
748 vbits_t new = { .num_bits = v1_num_bits }; local
[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
295 struct cil_classpermissionset *new = NULL; local
309 struct cil_classcommon *new = NULL; local
329 struct cil_sid *new; local
342 struct cil_sidcontext *new = NULL; local
361 struct cil_sidorder *new = NULL; local
381 struct cil_user *new; local
394 struct cil_userrole *new = NULL; local
409 struct cil_userlevel *new = NULL; local
429 struct cil_userrange *new = NULL; local
450 struct cil_userprefix *new = NULL; local
470 struct cil_role *new; local
483 struct cil_roletype *new = NULL; local
503 struct cil_roleattribute *new; local
516 struct cil_roleattributeset *new = NULL; local
533 struct cil_roleallow *new = NULL; local
553 struct cil_type *new; local
566 struct cil_typepermissive *new = NULL; local
585 struct cil_typeattribute *new; local
598 struct cil_typeattributeset *new = NULL; local
615 struct cil_alias *new = NULL; local
635 struct cil_aliasactual *new = NULL; local
650 struct cil_roletransition *new = NULL; local
667 struct cil_nametypetransition *new = NULL; local
686 struct cil_rangetransition *new = NULL; local
709 struct cil_bool *new = NULL; local
729 struct cil_tunable *new = NULL; local
749 struct cil_avrule *new = NULL; local
766 struct cil_type_rule *new = NULL; local
789 struct cil_sens *new; local
807 struct cil_cat *new; local
817 cil_copy_cats(struct cil_db *db, struct cil_cats *orig, struct cil_cats **new) argument
827 struct cil_catset *new = NULL; local
849 struct cil_senscat *new = NULL; local
865 struct cil_catorder *new = NULL; local
880 struct cil_sensorder *new = NULL; local
892 cil_copy_fill_level(struct cil_db *db, struct cil_level *orig, struct cil_level **new) argument
906 struct cil_level *new = NULL; local
925 cil_copy_fill_levelrange(struct cil_db *db, struct cil_levelrange *data, struct cil_levelrange *new) argument
943 struct cil_levelrange *new = NULL; local
963 cil_copy_fill_context(struct cil_db *db, struct cil_context *data, struct cil_context *new) argument
980 struct cil_context *new = NULL; local
1003 struct cil_netifcon *new = NULL; local
1031 struct cil_genfscon *new = NULL; local
1053 struct cil_filecon *new = NULL; local
1075 struct cil_nodecon *new = NULL; local
1108 struct cil_portcon *new = NULL; local
1131 struct cil_pirqcon *new = NULL; local
1152 struct cil_iomemcon *new = NULL; local
1174 struct cil_ioportcon *new = NULL; local
1196 struct cil_pcidevicecon *new = NULL; local
1217 struct cil_devicetreecon *new = NULL; local
1238 struct cil_fsuse *new = NULL; local
1257 cil_copy_expr(struct cil_db *db, struct cil_list *orig, struct cil_list **new) argument
1301 struct cil_constrain *new = NULL; local
1317 struct cil_validatetrans *new = NULL; local
1334 struct cil_call *new = NULL; local
1369 struct cil_macro *new; local
1434 struct cil_optional *new; local
1444 cil_copy_fill_ipaddr(struct cil_ipaddr *data, struct cil_ipaddr *new) argument
1453 struct cil_ipaddr *new = NULL; local
1474 struct cil_condblock *new = *copy; local
1485 struct cil_booleanif *new = NULL; local
1501 struct cil_tunableif *new = NULL; local
1516 struct cil_default *new = NULL; local
1536 struct cil_defaultrange *new = NULL; local
1554 struct cil_handleunknown *new = NULL; local
1566 struct cil_mls *new = NULL; local
1578 struct cil_bounds *new = NULL; local
1594 struct cil_tree_node *new = NULL; 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.c77 struct sigaction old, new; local
79 memset(&new, 0, sizeof(new));
80 new.sa_handler = func;
82 new.sa_flags = SA_RESTART;
83 if (sigaction(sig, &new, &old) < 0)
/external/skia/experimental/PdfViewer/scripts/
H A Dvm_pdf_viewer_run_one_pdf.sh10 out/Debug/pdfviewer -r $1 -w $DIR/new -n
H A Dtest_all_pdfs.sh17 folder Folder containing PDF files. The PNG results will be placed in "folder/new".
18 If folder contains a folder named "old", the PNGs in "folder/new" will be
44 # Create the directory to contain the new results. If old new results exist, remove them.
45 if [ -d $1/new ]
47 rm -rf $1/new
50 mkdir $1/new/
92 $SKDIFF $1/old $1/new $1/d
/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/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h50 TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText());
52 new NVPTXSection(MCSection::SV_ELF, SectionKind::getDataRel());
53 BSSSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getBSS());
55 new NVPTXSection(MCSection::SV_ELF, SectionKind::getReadOnly());
58 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
60 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
62 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
64 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
66 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
68 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/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/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
1629 struct dhcp_bridge *new = opt_malloc(sizeof(struct dhcp_bridge)); local
1661 struct dhcp_context *new = opt_malloc(sizeof(struct dhcp_context)); local
1799 struct dhcp_config *new; local
1983 struct dhcp_boot *new = opt_malloc(sizeof(struct dhcp_boot)); local
1998 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); local
2042 struct pxe_service *new = opt_malloc(sizeof(struct pxe_service)); local
2119 struct dhcp_mac *new = opt_malloc(sizeof(struct dhcp_mac)); local
2144 struct dhcp_vendor *new = opt_malloc(sizeof(struct dhcp_vendor)); local
2216 struct dhcp_netid_list *new = opt_malloc(sizeof(struct dhcp_netid_list)); local
2260 struct doctor *new = opt_malloc(sizeof(struct doctor)); local
2295 struct interface_name *new, **up; local
2316 struct cname *new; local
2344 struct ptr_record *new; local
2367 struct naptr *new; local
2401 struct txt_record *new; local
2466 struct mx_srv_record *new; local
[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
438 struct isakmpsa *new; local
625 struct idspec *new; local
[all...]
/external/llvm/include/llvm/
H A DLinkAllIR.h46 (void)new llvm::Module("", llvm::getGlobalContext());
47 (void)new llvm::UnreachableInst(llvm::getGlobalContext());

Completed in 4431 milliseconds

1234567891011>>