Home
last modified time | relevance | path

Searched refs:newp (Results 1 – 25 of 27) sorted by relevance

12

/third_party/gettext/gettext-runtime/intl/
Dplural.y59 struct expression *newp;
67 newp = (struct expression *) malloc (sizeof (*newp));
68 if (newp != NULL)
70 newp->nargs = nargs;
71 newp->operation = op;
73 newp->val.args[i] = args[i];
74 return newp;
Ddcigettext.c378 struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \
381 if (newp != NULL) { \
382 newp->address = (addr); \
383 newp->next = (list); \
384 (list) = newp; \
842 struct known_translation_t *newp; in gl_dcigettext() local
850 newp = (struct known_translation_t *) malloc (size); in gl_dcigettext()
851 if (newp != NULL) in gl_dcigettext()
859 (char *) mempcpy (newp->msgid.appended, msgid1, in gl_dcigettext()
866 newp->domainname = new_domainname; in gl_dcigettext()
[all …]
Dplural.c188 struct expression *newp; in new_exp() local
196 newp = (struct expression *) malloc (sizeof (*newp)); in new_exp()
197 if (newp != NULL) in new_exp()
199 newp->nargs = nargs; in new_exp()
200 newp->operation = op; in new_exp()
202 newp->val.args[i] = args[i]; in new_exp()
203 return newp; in new_exp()
/third_party/curl/lib/
Durlapi.c935 char *newp = malloc(strlen(path) * 3); in seturl() local
936 if(!newp) in seturl()
939 strcpy_url(newp, path, TRUE); /* consider it relative */ in seturl()
940 u->temppath = path = newp; in seturl()
968 char *newp = Curl_dedotdotify(path); in seturl() local
969 if(!newp) in seturl()
972 if(strcmp(newp, path)) { in seturl()
976 u->temppath = path = newp; in seturl()
980 free(newp); in seturl()
1479 const char *newp = part; in curl_url_set() local
[all …]
Ddict.c101 char *newp = NULL; in unescape_word() local
105 CURLcode result = Curl_urldecode(data, inputbuff, 0, &newp, &len, in unescape_word()
107 if(!newp || result) in unescape_word()
117 for(ptr = newp; in unescape_word()
128 free(newp); in unescape_word()
Dgopher.c161 char *newp; in gopher_do() local
164 newp = gopherpath; in gopher_do()
165 newp += 2; in gopher_do()
168 result = Curl_urldecode(data, newp, 0, &sel, &len, REJECT_ZERO); in gopher_do()
/third_party/boost/libs/container/src/
Ddlmalloc_ext_2_8_6.c289 mchunkptr newp = 0; in try_realloc_chunk_with_min() local
295 newp = mmap_resize(m, p, des_nb, can_move); in try_realloc_chunk_with_min()
296 if(!newp) //mmap does not return how many bytes we could reallocate, so go the minimum in try_realloc_chunk_with_min()
297 newp = mmap_resize(m, p, min_nb, can_move); in try_realloc_chunk_with_min()
308 newp = p; in try_realloc_chunk_with_min()
320 newp = p; in try_realloc_chunk_with_min()
343 newp = p; in try_realloc_chunk_with_min()
362 newp = p; in try_realloc_chunk_with_min()
369 return newp; in try_realloc_chunk_with_min()
693 mchunkptr newp = (mchunkptr)(cp + offset); in internal_mmap_shrink_in_place() local
[all …]
Ddlmalloc_2_8_6.c3869 mchunkptr newp = (mchunkptr)(cp + offset); in mmap_resize() local
3871 newp->head = psize; in mmap_resize()
3872 mark_inuse_foot(m, newp, psize); in mmap_resize()
3873 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize()
3874 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize()
3880 check_mmapped_chunk(m, newp); in mmap_resize()
3881 return newp; in mmap_resize()
4808 mchunkptr newp = 0; in try_realloc_chunk() local
4814 newp = mmap_resize(m, p, nb, can_move); in try_realloc_chunk()
4824 newp = p; in try_realloc_chunk()
[all …]
/third_party/tzdata/
Dzdump.c686 delta_nonneg(struct tm *newp, struct tm *oldp) in delta_nonneg() argument
692 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy) in delta_nonneg()
694 result += newp->tm_yday - oldp->tm_yday; in delta_nonneg()
696 result += newp->tm_hour - oldp->tm_hour; in delta_nonneg()
698 result += newp->tm_min - oldp->tm_min; in delta_nonneg()
700 result += newp->tm_sec - oldp->tm_sec; in delta_nonneg()
705 delta(struct tm *newp, struct tm *oldp) in delta() argument
707 return (newp->tm_year < oldp->tm_year in delta()
708 ? -delta_nonneg(oldp, newp) in delta()
709 : delta_nonneg(newp, oldp)); in delta()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
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()
Dzic.c446 #define ecatalloc(oldp, newp) memcheck(icatalloc((oldp), (newp))) argument
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/
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()
Dzic.c446 #define ecatalloc(oldp, newp) memcheck(icatalloc((oldp), (newp))) argument
/third_party/icu/icu4c/source/tools/tzcode/
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()
Dzic.c446 #define ecatalloc(oldp, newp) memcheck(icatalloc((oldp), (newp))) argument
/third_party/python/Lib/idlelib/
Dpyparse.py398 newp = m.end()
400 i = newp - 1 # index of last boring char
405 p = newp
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_malloc.c3290 mchunkptr newp = (mchunkptr) (cp + offset); in mmap_resize() local
3292 newp->head = (psize | CINUSE_BIT); in mmap_resize()
3293 mark_inuse_foot(m, newp, psize); in mmap_resize()
3294 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize()
3295 chunk_plus_offset(newp, psize + SIZE_T_SIZE)->head = 0; in mmap_resize()
3301 check_mmapped_chunk(m, newp); in mmap_resize()
3302 return newp; in mmap_resize()
3895 mchunkptr newp = 0; in internal_realloc() local
3904 newp = mmap_resize(m, oldp, nb); in internal_realloc()
3907 newp = oldp; in internal_realloc()
[all …]
/third_party/libffi/src/
Ddlmalloc.c3263 mchunkptr newp = (mchunkptr)(cp + offset); in mmap_resize() local
3265 newp->head = (psize|CINUSE_BIT); in mmap_resize()
3266 mark_inuse_foot(m, newp, psize); in mmap_resize()
3267 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize()
3268 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize()
3274 check_mmapped_chunk(m, newp); in mmap_resize()
3275 return newp; in mmap_resize()
3848 mchunkptr newp = 0; in internal_realloc() local
3857 newp = mmap_resize(m, oldp, nb); in internal_realloc()
3860 newp = oldp; in internal_realloc()
[all …]
/third_party/selinux/libsepol/src/
Dmls.h56 policydb_t * newp, context_struct_t * context);
Dservices.c1528 policydb_t *newp; in validate_class() local
1531 newp = (policydb_t *) p; in validate_class()
1535 (class_datum_t *) hashtab_search(newp->p_classes.table, key); in validate_class()
1595 policydb_t *newp; member
1623 usrdatum = (user_datum_t *) hashtab_search(args->newp->p_users.table, in convert_context()
1634 role = (role_datum_t *) hashtab_search(args->newp->p_roles.table, in convert_context()
1644 hashtab_search(args->newp->p_types.table, in convert_context()
1651 rc = mls_convert_context(args->oldp, args->newp, c); in convert_context()
1656 if (!policydb_context_isvalid(args->newp, c)) { in convert_context()
1821 args.newp = &newpolicydb; in sepol_load_policy()
Dmls.c553 policydb_t * newp, context_struct_t * c) in mls_convert_context() argument
566 (level_datum_t *) hashtab_search(newp->p_levels.table, in mls_convert_context()
584 (cat_datum_t *) hashtab_search(newp->p_cats. in mls_convert_context()
/third_party/gettext/gettext-tools/src/
Dmsgmerge.c1022 char *newp; in message_merge() local
1260 cp = newp = XNMALLOC (len + 1, char); in message_merge()
1261 newp[len] = '\0'; in message_merge()
1265 newp = stpncpy (stpcpy (newp, known_fields[idx].name), \ in message_merge()
1279 stpcpy (newp, header_fields[UNKNOWN].string); in message_merge()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCAsmStreamer.cpp415 size_t newp = std::min(len, c.find_first_of("\r\n", p)); in addExplicitComment() local
418 ExplicitCommentToEmit.append(c.slice(p, newp).str()); in addExplicitComment()
420 if (newp < len) in addExplicitComment()
422 p = newp + 1; in addExplicitComment()
/third_party/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp415 UnicodeString newp; fmt.toPattern(newp); in TestPatterns() local
416 if (!(newp == newpat[i])) in TestPatterns()
418 "; " + newp + " seen instead"); in TestPatterns()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java238 String newp = fmt.toPattern(); in TestPatterns() local
239 if (!newp.equals(newpat[i])) in TestPatterns()
241 "; " + newp + " seen instead"); in TestPatterns()

12