/external/cn-cbor/src/ |
D | cn-create.c | 15 if (errp) {errp->err = CN_CBOR_NO_ERROR;} \ 17 if (!(v)) { if (errp) {errp->err = CN_CBOR_ERR_OUT_OF_MEMORY;} return NULL; } 19 cn_cbor* cn_cbor_map_create(CBOR_CONTEXT_COMMA cn_cbor_errback *errp) in cn_cbor_map_create() argument 32 cn_cbor_errback *errp) in cn_cbor_data_create() argument 46 cn_cbor_errback *errp) in cn_cbor_string_create() argument 60 cn_cbor_errback *errp) in cn_cbor_int_create() argument 79 cn_cbor_errback *errp) in cn_cbor_float_create() argument 92 cn_cbor_errback *errp) in cn_cbor_double_create() argument 124 cn_cbor_errback *errp) in cn_cbor_map_put() argument 129 if (errp) {errp->err = CN_CBOR_ERR_INVALID_PARAMETER;} in cn_cbor_map_put() [all …]
|
D | cn-cbor.c | 256 cn_cbor* cn_cbor_decode(const unsigned char* buf, size_t len CBOR_CONTEXT, cn_cbor_errback *errp) { in cn_cbor_decode() argument 274 if (errp) { in cn_cbor_decode() 275 errp->err = pb.err; in cn_cbor_decode() 276 errp->pos = pb.buf - (unsigned char *)buf; in cn_cbor_decode()
|
/external/cn-cbor/include/cn-cbor/ |
D | cn-cbor.h | 226 cn_cbor* cn_cbor_decode(const uint8_t *buf, size_t len CBOR_CONTEXT, cn_cbor_errback *errp); 287 cn_cbor* cn_cbor_map_create(CBOR_CONTEXT_COMMA cn_cbor_errback *errp); 301 cn_cbor_errback *errp); 318 cn_cbor_errback *errp); 330 cn_cbor_errback *errp); 343 cn_cbor_errback *errp); 355 cn_cbor_errback *errp); 370 cn_cbor_errback *errp); 386 cn_cbor_errback *errp); 405 cn_cbor_errback *errp); [all …]
|
/external/ltp/lib/ |
D | random_range.c | 278 long random_range(int min, int max, int mult, char **errp) in random_range() argument 289 if (errp != NULL) { in random_range() 291 *errp = errbuf; in random_range() 325 if (errp != NULL) { in random_range() 329 *errp = errbuf; in random_range() 334 if (errp != NULL) { in random_range() 335 *errp = NULL; in random_range() 365 long random_rangel(long min, long max, long mult, char **errp) in random_rangel() argument 376 if (errp != NULL) { in random_rangel() 378 *errp = errbuf; in random_rangel() [all …]
|
/external/libnl/lib/route/cls/ |
D | ematch_syntax.y | 35 %parse-param {char **errp} 53 static void yyerror(void *scanner, char **errp, struct nl_list_head *root, const char *msg) 56 *errp = strdup(msg); 58 *errp = NULL; 191 *errp = strdup("Unable to allocate ematch object"); 206 *errp = strdup("Unable to allocate ematch object"); 224 *errp = strdup("Unable to allocate ematch object"); 251 *errp = strdup("Unable to allocate ematch object"); 270 *errp = strdup("Unable to allocate ematch object"); 422 if (asprintf(errp, "invalid pattern \"%s\"", $1) == -1) [all …]
|
D | ematch.c | 631 int rtnl_ematch_parse_expr(const char *expr, char **errp, in rtnl_ematch_parse_expr() argument 651 if ((err = ematch_parse(scanner, errp, &tree->et_list)) != 0) { in rtnl_ematch_parse_expr()
|
/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | unary_two_results.cpp | 466 float errp, err2p, errn, err2n; in TestFunc_Float2_Float() local 497 errp = Abs_Error( test, correctp ); in TestFunc_Float2_Float() 504 errp = Ulp_Error( test, correctp ); in TestFunc_Float2_Float() 510 … fail = fail && ((!(fabsf(errp) <= float_ulps)) && (!(fabsf(err2p) <= float_ulps)) && in TestFunc_Float2_Float() 512 if( fabsf( errp ) < fabsf(err ) ) in TestFunc_Float2_Float() 513 err = errp; in TestFunc_Float2_Float() 839 float errp = Bruteforce_Ulp_Error_Double( test, correctp ); in TestFunc_Double2_Double() local 843 … fail = fail && ((!(fabsf(errp) <= f->double_ulps)) && (!(fabsf(err2p) <= f->double_ulps)) && in TestFunc_Double2_Double() 845 if( fabsf( errp ) < fabsf(err ) ) in TestFunc_Double2_Double() 846 err = errp; in TestFunc_Double2_Double()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | iogen.c | 584 char pattern, *errp; in form_iorequest() local 675 length = random_range(minlength, maxlength, mult, &errp); in form_iorequest() 676 if (errp != NULL) { in form_iorequest() 697 length = random_range(minlength, maxlength, mult, &errp); in form_iorequest() 698 if (errp != NULL) { in form_iorequest() 737 offset = random_range(minoffset, maxoffset, mult, &errp); in form_iorequest() 738 if (errp != NULL) { in form_iorequest() 879 nstrides = random_range(Minstrides, maxstride, 1, &errp); in form_iorequest() 880 if (errp != NULL) { in form_iorequest()
|
/external/dnsmasq/src/ |
D | lease.c | 154 static void ourprintf(int* errp, char* format, ...) { in ourprintf() argument 158 if (!(*errp) && vfprintf(daemon->lease_stream, format, ap) < 0) *errp = errno; in ourprintf()
|