/third_party/grpc/src/core/lib/gpr/ |
D | string_posix.cc | 30 int gpr_asprintf(char** strp, const char* format, ...) { in gpr_asprintf() argument 41 *strp = nullptr; in gpr_asprintf() 47 if ((*strp = static_cast<char*>(gpr_malloc(strp_buflen))) == nullptr) { in gpr_asprintf() 54 memcpy(*strp, buf, strp_buflen); in gpr_asprintf() 60 ret = vsnprintf(*strp, strp_buflen, format, args); in gpr_asprintf() 67 gpr_free(*strp); in gpr_asprintf() 68 *strp = nullptr; in gpr_asprintf()
|
D | string_windows.cc | 34 int gpr_asprintf(char** strp, const char* format, ...) { in gpr_asprintf() argument 44 *strp = NULL; in gpr_asprintf() 50 if ((*strp = (char*)gpr_malloc(strp_buflen)) == NULL) { in gpr_asprintf() 57 ret = vsnprintf_s(*strp, strp_buflen, _TRUNCATE, format, args); in gpr_asprintf() 64 gpr_free(*strp); in gpr_asprintf() 65 *strp = NULL; in gpr_asprintf()
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | localtime.c | 136 static const char * getzname(const char * strp) ATTRIBUTE_PURE; 137 static const char * getqzname(const char * strp, const int delim) 139 static const char * getnum(const char * strp, int * nump, int min, 141 static const char * getsecs(const char * strp, int_fast32_t * secsp); 142 static const char * getoffset(const char * strp, int_fast32_t * offsetp); 143 static const char * getrule(const char * strp, struct rule * rulep); 649 getzname(register const char *strp) in getzname() argument 653 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' && in getzname() 655 ++strp; in getzname() 656 return strp; in getzname() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/ |
D | localtime.c | 136 static const char * getzname(const char * strp) ATTRIBUTE_PURE; 137 static const char * getqzname(const char * strp, const int delim) 139 static const char * getnum(const char * strp, int * nump, int min, 141 static const char * getsecs(const char * strp, int_fast32_t * secsp); 142 static const char * getoffset(const char * strp, int_fast32_t * offsetp); 143 static const char * getrule(const char * strp, struct rule * rulep); 649 getzname(register const char *strp) in getzname() argument 653 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' && in getzname() 655 ++strp; in getzname() 656 return strp; in getzname() [all …]
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | localtime.c | 136 static const char * getzname(const char * strp) ATTRIBUTE_PURE; 137 static const char * getqzname(const char * strp, const int delim) 139 static const char * getnum(const char * strp, int * nump, int min, 141 static const char * getsecs(const char * strp, int_fast32_t * secsp); 142 static const char * getoffset(const char * strp, int_fast32_t * offsetp); 143 static const char * getrule(const char * strp, struct rule * rulep); 649 getzname(register const char *strp) in getzname() argument 653 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' && in getzname() 655 ++strp; in getzname() 656 return strp; in getzname() [all …]
|
/third_party/tzdata/ |
D | localtime.c | 795 getzname(register const char *strp) in getzname() argument 799 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' && in getzname() 801 ++strp; in getzname() 802 return strp; in getzname() 816 getqzname(register const char *strp, const int delim) in getqzname() argument 820 while ((c = *strp) != '\0' && c != delim) in getqzname() 821 ++strp; in getqzname() 822 return strp; in getqzname() 833 getnum(register const char *strp, int *const nump, const int min, const int max) in getnum() argument 838 if (strp == NULL || !is_digit(c = *strp)) in getnum() [all …]
|
/third_party/libxkbcommon/src/ |
D | utils.c | 169 asprintf(char **strp, const char *fmt, ...) in asprintf() argument 174 ret = vasprintf(strp, fmt, ap); in asprintf() 181 vasprintf(char **strp, const char *fmt, va_list ap) in vasprintf() argument 206 *strp = buf; in vasprintf()
|
D | utils.h | 295 int asprintf(char **strp, const char *fmt, ...) ATTR_PRINTF(2, 3); 298 int vasprintf(char **strp, const char *fmt, va_list ap);
|
/third_party/boost/libs/utility/test/ |
D | string_ref_test2.cpp | 134 const char *strp = std::strchr ( arg, ch ); in find() local 135 BOOST_TEST (( strp == NULL ) == ( pos == string_ref::npos )); in find() 136 if ( strp != NULL ) in find() 137 BOOST_TEST ( ptr_diff ( strp, arg ) == pos ); in find() 146 const char *strp = std::strrchr ( arg, ch ); in find() local 147 BOOST_TEST (( strp == NULL ) == ( pos == string_ref::npos )); in find() 148 if ( strp != NULL ) in find() 149 BOOST_TEST ( ptr_diff ( strp, arg ) == pos ); in find()
|
D | string_view_test2.cpp | 138 const char *strp = std::strchr ( arg, ch ); in find() local 139 BOOST_TEST (( strp == NULL ) == ( pos == string_view::npos )); in find() 140 if ( strp != NULL ) in find() 141 BOOST_TEST ( ptr_diff ( strp, arg ) == pos ); in find() 150 const char *strp = std::strrchr ( arg, ch ); in find() local 151 BOOST_TEST (( strp == NULL ) == ( pos == string_view::npos )); in find() 152 if ( strp != NULL ) in find() 153 BOOST_TEST ( ptr_diff ( strp, arg ) == pos ); in find()
|
/third_party/ltp/include/ |
D | tst_safe_stdio.h | 18 #define SAFE_ASPRINTF(strp, fmt, ...) \ argument 19 safe_asprintf(__FILE__, __LINE__, NULL, strp, fmt, __VA_ARGS__)
|
D | safe_stdio_fn.h | 30 char **strp, const char *fmt, ...);
|
/third_party/ltp/include/old/ |
D | old_safe_stdio.h | 31 #define SAFE_ASPRINTF(cleanup_fn, strp, fmt, ...) \ argument 32 safe_asprintf(__FILE__, __LINE__, cleanup_fn, strp, fmt, __VA_ARGS__)
|
/third_party/grpc/third_party/upb/upb/ |
D | msg.h | 416 upb_strview *strp = (upb_strview*)upb_arena_malloc(a, sizeof(*strp)); in _upb_map_tovalue() local 417 if (!strp) return false; in _upb_map_tovalue() 418 *strp = *(upb_strview*)val; in _upb_map_tovalue() 419 *msgval = upb_value_ptr(strp); in _upb_map_tovalue() 428 const upb_strview *strp = (const upb_strview*)upb_value_getptr(val); in _upb_map_fromvalue() local 429 memcpy(out, strp, sizeof(upb_strview)); in _upb_map_fromvalue() 551 upb_strview *strp = (upb_strview*)(uintptr_t)ent->val.val; in _upb_msg_map_set_value() local 552 memcpy(strp, val, sizeof(*strp)); in _upb_msg_map_set_value()
|
/third_party/libinput/src/ |
D | util-strings.h | 100 xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument 106 rc = vasprintf(strp, fmt, args); in xasprintf() 108 if ((rc == -1) && strp) in xasprintf() 109 *strp = NULL; in xasprintf()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_mem.c | 95 __attribute__ ((format (printf, 2, 3))) int cil_asprintf(char **strp, const char *fmt, ...) in cil_asprintf() argument 101 rc = vasprintf(strp, fmt, ap); in cil_asprintf()
|
D | cil_mem.h | 38 int cil_asprintf(char **strp, const char *fmt, ...);
|
/third_party/ltp/lib/ |
D | safe_stdio.c | 56 char **strp, const char *fmt, ...) in safe_asprintf() argument 62 ret = vasprintf(strp, fmt, va); in safe_asprintf()
|
/third_party/grpc/include/grpc/support/ |
D | string_util.h | 44 GPRAPI int gpr_asprintf(char** strp, const char* format, ...)
|
/third_party/libnl/include/netlink-private/ |
D | netlink.h | 221 static inline int build_sysconf_path(char **strp, const char *filename) in build_sysconf_path() argument 230 return asprintf(strp, "%s/%s", sysconfdir, filename); in build_sysconf_path()
|
/third_party/selinux/libsepol/src/ |
D | private.h | 80 extern int str_read(char **strp, struct policy_file *fp, size_t len);
|
/third_party/uboot/u-boot-2020.01/scripts/dtc/ |
D | util.c | 50 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument 75 *strp = p; in xasprintf()
|
D | util.h | 74 extern int PRINTF(2, 3) xasprintf(char **strp, const char *fmt, ...);
|
/third_party/ffmpeg/libavcodec/ |
D | vaapi_encode_h265.c | 902 const VAAPIEncodeH265Picture *strp; in vaapi_encode_h265_init_slice_params() local 914 strp = pic->refs[i]->priv_data; in vaapi_encode_h265_init_slice_params() 915 rps_poc[rps_pics] = strp->pic_order_cnt; in vaapi_encode_h265_init_slice_params() 928 strp = pic->dpb[i]->priv_data; in vaapi_encode_h265_init_slice_params() 929 rps_poc[rps_pics] = strp->pic_order_cnt; in vaapi_encode_h265_init_slice_params()
|
/third_party/uboot/u-boot-2020.01/include/ |
D | cros_ec.h | 348 int cros_ec_read_build_info(struct udevice *dev, char **strp);
|