Home
last modified time | relevance | path

Searched refs:newp (Results 1 - 25 of 51) sorted by relevance

123

/third_party/elfutils/libdw/
H A Dlibdw_findcu.c147 struct Dwarf_CU *newp = libdw_typed_alloc (dbg, struct Dwarf_CU); in __libdw_intern_next_unit() local
149 newp->dbg = dbg; in __libdw_intern_next_unit()
150 newp->sec_idx = sec_idx; in __libdw_intern_next_unit()
151 newp->start = oldoff; in __libdw_intern_next_unit()
152 newp->end = *offsetp; in __libdw_intern_next_unit()
153 newp->address_size = address_size; in __libdw_intern_next_unit()
154 newp->offset_size = offset_size; in __libdw_intern_next_unit()
155 newp->version = version; in __libdw_intern_next_unit()
156 newp->unit_id8 = unit_id8; in __libdw_intern_next_unit()
157 newp in __libdw_intern_next_unit()
250 struct Dwarf_CU *newp = __libdw_intern_next_unit (dbg, v4_debug_types); __libdw_findcu() local
[all...]
H A Dlibdw_alloc.c123 struct libdw_memblock *newp = malloc (size); in __libdw_allocate() local
124 if (newp == NULL) in __libdw_allocate()
127 uintptr_t result = ((uintptr_t) newp->mem + align - 1) & ~(align - 1); in __libdw_allocate()
129 newp->size = size - offsetof (struct libdw_memblock, mem); in __libdw_allocate()
130 newp->remaining = (uintptr_t) newp + size - (result + minsize); in __libdw_allocate()
133 newp->prev = dbg->mem_tails[thread_id]; in __libdw_allocate()
134 dbg->mem_tails[thread_id] = newp; in __libdw_allocate()
H A Ddwarf_getlocation.c231 struct loc_s *newp = libdw_alloc (attr->cu->dbg, in is_constant_offset() local
234 newp->addr = attr->valp; in is_constant_offset()
235 newp->loc = result; in is_constant_offset()
236 newp->nloc = 1; in is_constant_offset()
238 found = tsearch (newp, &attr->cu->locs, loc_compare); in is_constant_offset()
641 struct loc_s *newp; in __libdw_intern_expression() local
643 newp = libdw_alloc (dbg, struct loc_s, sizeof (struct loc_s), 1); in __libdw_intern_expression()
646 newp = malloc (sizeof *newp); in __libdw_intern_expression()
647 if (newp in __libdw_intern_expression()
[all...]
H A Ddwarf_getsrc_file.c144 Dwarf_Line **newp = realloc (match, in dwarf_getsrc_file() local
147 if (newp == NULL) in dwarf_getsrc_file()
153 match = newp; in dwarf_getsrc_file()
/third_party/elfutils/libasm/
H A Dasm_newsubscn.c44 AsmScn_t *newp; in asm_newsubscn() local
65 newp = malloc (sizeof (AsmScn_t)); in asm_newsubscn()
66 if (newp == NULL) in asm_newsubscn()
70 newp->ctx = runp->ctx; in asm_newsubscn()
73 newp->subsection_id = nr; in asm_newsubscn()
76 newp->type = runp->type; in asm_newsubscn()
79 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up; in asm_newsubscn()
82 newp->offset = 0; in asm_newsubscn()
84 newp->max_align = 1; in asm_newsubscn()
87 newp in asm_newsubscn()
[all...]
H A Dasm_align.c154 struct AsmData *newp; in __libasm_ensure_section_space() local
162 newp = calloc (1, sizeof (struct AsmData) + size); in __libasm_ensure_section_space()
163 if (newp == NULL) in __libasm_ensure_section_space()
166 newp->next = asmscn->content->next; in __libasm_ensure_section_space()
167 asmscn->content = asmscn->content->next = newp; in __libasm_ensure_section_space()
/third_party/elfutils/lib/
H A Dlist.h33 #define CDBL_LIST_ADD_REAR(first, newp) \
35 __typeof (newp) _newp = (newp); \
76 #define SNGL_LIST_PUSH(first, newp) \
78 __typeof (newp) _newp = (newp); \
86 #define CSNGL_LIST_ADD_REAR(first, newp) \
88 __typeof (newp) _newp = (newp); \
/third_party/elfutils/libelf/
H A Delf_newscn.c85 Elf_ScnList *newp = NULL; in elf_newscn() local
97 newp = calloc (sizeof (Elf_ScnList) in elf_newscn()
100 if (newp == NULL) in elf_newscn()
106 result = &newp->data[0]; in elf_newscn()
109 ++newp->cnt; in elf_newscn()
112 newp->max = elf->state.elf.scnincr; in elf_newscn()
115 newp->data[0].index in elf_newscn()
119 elf->state.elf.scns_last = elf->state.elf.scns_last->next = newp; in elf_newscn()
H A Delf_begin.c730 char *newp; in read_long_names() local
788 newp = malloc (len); in read_long_names()
789 if (newp != NULL) in read_long_names()
796 elf->state.ar.long_names = (char *) memcpy (newp, in read_long_names()
803 if (unlikely ((size_t) pread_retry (elf->fildes, newp, len, in read_long_names()
809 free (newp); in read_long_names()
813 elf->state.ar.long_names = newp; in read_long_names()
819 runp = newp; in read_long_names()
823 runp = (char *) memchr (runp, '/', newp + len - runp); in read_long_names()
827 memset (startp, '\0', newp in read_long_names()
[all...]
H A Delf_getarsym.c215 Elf_Arsym *newp = realloc (elf->state.ar.ar_sym, ar_sym_len); in elf_getarsym() local
216 if (newp == NULL) in elf_getarsym()
223 elf->state.ar.ar_sym = newp; in elf_getarsym()
/third_party/elfutils/libcpu/
H A Di386_parse.y267 struct synonym *newp = xmalloc (sizeof (*newp));
268 newp->from = $2;
269 newp->to = $3;
270 if (tfind (newp, &synonyms, compare_syn) != NULL)
274 else if (tsearch ( newp, &synonyms, compare_syn) == NULL)
296 struct instruction *newp = xcalloc (sizeof (*newp),
301 newp->repe = 1;
303 newp
[all...]
/third_party/elfutils/src/
H A Dar.c160 char *newp = alloca (len + 1); in main() local
161 newp[0] = '-'; in main()
162 memcpy (&newp[1], argv[1], len); in main()
163 argv[1] = newp; in main()
966 struct armem *newp = alloca (sizeof (struct armem)); in do_oper_delete() local
967 newp->old_off = elf_getaroff (subelf); in do_oper_delete()
968 newp->off = cur_off; in do_oper_delete()
974 to_copy = newp->next = newp; in do_oper_delete()
977 newp in do_oper_delete()
1157 struct armem *newp = alloca (sizeof (struct armem)); do_oper_insert() local
[all...]
H A Dobjdump.c183 struct section_list *newp = xmalloc (sizeof (*newp)); in parse_opt() local
185 newp->scnndx = strtoul (arg, &endp, 0); in parse_opt()
187 newp->is_name = false; in parse_opt()
190 newp->name = arg; in parse_opt()
191 newp->is_name = true; in parse_opt()
193 newp->next = section_list; in parse_opt()
194 section_list = newp; in parse_opt()
H A Dnm.c689 struct local_name *newp = xmalloc (sizeof (*newp)); in get_local_names() local
690 newp->name = name; in get_local_names()
691 newp->file = dwarf_filesrc (files, fileidx, NULL, NULL); in get_local_names()
692 newp->lineno = lineno; in get_local_names()
693 newp->lowpc = lowpc; in get_local_names()
694 newp->highpc = highpc; in get_local_names()
699 struct local_name **tres = tsearch (newp, &local_root, in get_local_names()
703 else if (*tres != newp) in get_local_names()
704 free (newp); in get_local_names()
[all...]
H A Delfcmp.c292 struct region *newp = (struct region *) alloca (sizeof (*newp)); in main() local
293 newp->from = shdr1->sh_offset; in main()
294 newp->to = shdr1->sh_offset + shdr1->sh_size; in main()
295 newp->next = regions; in main()
296 regions = newp; in main()
/third_party/curl/lib/
H A Dgopher.c166 char *newp; in gopher_do() local
169 newp = gopherpath; in gopher_do()
170 newp += 2; in gopher_do()
173 result = Curl_urldecode(newp, 0, &sel, &len, REJECT_ZERO); in gopher_do()
/third_party/elfutils/libdwfl/
H A Ddwfl_module_getsrc_file.c149 Dwfl_Line **newp = realloc (match, in dwfl_module_getsrc_file() local
152 if (newp == NULL) in dwfl_module_getsrc_file()
158 match = newp; in dwfl_module_getsrc_file()
/third_party/backends/backend/
H A Dhp-device.c322 hp_nonscsi_device_new (HpDevice * newp, const char * devname, HpConnect connect) in hp_nonscsi_device_new() argument
383 *newp = this; in hp_nonscsi_device_new()
388 sanei_hp_device_new (HpDevice * newp, const char * devname) in sanei_hp_device_new() argument
400 return hp_nonscsi_device_new (newp, devname, connect); in sanei_hp_device_new()
463 *newp = this; in sanei_hp_device_new()
H A Dhp-scsi.h47 SANE_Status sanei_hp_nonscsi_new (HpScsi * newp, const char * devname,
49 SANE_Status sanei_hp_scsi_new (HpScsi * newp, const char * devname);
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzdump.c227 static intmax_t delta(struct tm * newp, struct tm * oldp) ATTRIBUTE_PURE;
773 delta(struct tm * newp, struct tm *oldp) in delta() argument
778 if (newp->tm_year < oldp->tm_year) in delta()
779 return -delta(oldp, newp); in delta()
781 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy) in delta()
783 result += newp->tm_yday - oldp->tm_yday; in delta()
785 result += newp->tm_hour - oldp->tm_hour; in delta()
787 result += newp->tm_min - oldp->tm_min; in delta()
789 result += newp->tm_sec - oldp->tm_sec; in delta()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dzdump.c233 static intmax_t delta(struct tm * newp, struct tm * oldp) ATTRIBUTE_PURE;
779 delta(struct tm * newp, struct tm *oldp) in delta() argument
784 if (newp->tm_year < oldp->tm_year) in delta()
785 return -delta(oldp, newp); in delta()
787 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy) in delta()
789 result += newp->tm_yday - oldp->tm_yday; in delta()
791 result += newp->tm_hour - oldp->tm_hour; in delta()
793 result += newp->tm_min - oldp->tm_min; in delta()
795 result += newp->tm_sec - oldp->tm_sec; in delta()
/third_party/tzdata/
H A Dzdump.c775 delta_nonneg(struct tm *newp, struct tm *oldp) in delta_nonneg() argument
778 int cycles = (newp->tm_year - oldy) / YEARSPERREPEAT; in delta_nonneg()
781 for ( ; tmy < newp->tm_year; ++tmy) in delta_nonneg()
783 result += newp->tm_yday - oldp->tm_yday; in delta_nonneg()
785 result += newp->tm_hour - oldp->tm_hour; in delta_nonneg()
787 result += newp->tm_min - oldp->tm_min; in delta_nonneg()
789 result += newp->tm_sec - oldp->tm_sec; in delta_nonneg()
794 delta(struct tm *newp, struct tm *oldp) in delta() argument
796 return (newp->tm_year < oldp->tm_year in delta()
797 ? -delta_nonneg(oldp, newp) in delta()
[all...]
/third_party/selinux/libsepol/src/
H A Dmls.h57 policydb_t * newp, context_struct_t * context);
H A Dservices.c1535 policydb_t *newp; in validate_class() local
1538 newp = (policydb_t *) p; in validate_class()
1542 (class_datum_t *) hashtab_search(newp->p_classes.table, key); in validate_class()
1602 policydb_t *newp; member
1609 * in the policy `p->newp'. Verify that the
1630 usrdatum = (user_datum_t *) hashtab_search(args->newp->p_users.table, in convert_context()
1641 role = (role_datum_t *) hashtab_search(args->newp->p_roles.table, in convert_context()
1651 hashtab_search(args->newp->p_types.table, in convert_context()
1658 rc = mls_convert_context(args->oldp, args->newp, c); in convert_context()
1663 if (!policydb_context_isvalid(args->newp, in convert_context()
[all...]
/third_party/python/Lib/idlelib/
H A Dpyparse.py394 newp = m.end()
396 i = newp - 1 # index of last boring char
401 p = newp

Completed in 21 milliseconds

123