Home
last modified time | relevance | path

Searched refs:ret_err (Results 1 – 5 of 5) sorted by relevance

/external/libopus/tests/
Dtest_opus_api.c413 int *ret_err; in test_msdec_api() local
414 ret_err = c?0:&err; in test_msdec_api()
420 VG_UNDEF(ret_err,sizeof(*ret_err)); in test_msdec_api()
421 dec = opus_multistream_decoder_create(48000, 2, 1, 0, mapping, ret_err); in test_msdec_api()
422 if(ret_err){VG_CHECK(ret_err,sizeof(*ret_err));} in test_msdec_api()
423 if((ret_err && *ret_err!=OPUS_BAD_ARG) || dec!=NULL)test_failed(); in test_msdec_api()
426 VG_UNDEF(ret_err,sizeof(*ret_err)); in test_msdec_api()
428 dec = opus_multistream_decoder_create(48000, 2, 1, 0, mapping, ret_err); in test_msdec_api()
429 if(ret_err){VG_CHECK(ret_err,sizeof(*ret_err));} in test_msdec_api()
430 if((ret_err && *ret_err!=OPUS_OK) || dec==NULL)test_failed(); in test_msdec_api()
[all …]
Dtest_opus_encode.c149 int *ret_err; in run_test1() local
150 ret_err = i?0:&err; in run_test1()
151 MSenc = opus_multistream_encoder_create(8000, 2, 2, 0, mapping, OPUS_UNIMPLEMENTED, ret_err); in run_test1()
152 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
154 … MSenc = opus_multistream_encoder_create(8000, 0, 1, 0, mapping, OPUS_APPLICATION_VOIP, ret_err); in run_test1()
155 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
157 … MSenc = opus_multistream_encoder_create(44100, 2, 2, 0, mapping, OPUS_APPLICATION_VOIP, ret_err); in run_test1()
158 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
160 … MSenc = opus_multistream_encoder_create(8000, 2, 2, 3, mapping, OPUS_APPLICATION_VOIP, ret_err); in run_test1()
161 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
[all …]
/external/wpa_supplicant_8/src/utils/
Dxml_libxml2.c54 const char *xml_schema_fname, char **ret_err) in xml_validate() argument
64 if (ret_err) in xml_validate()
65 *ret_err = NULL; in xml_validate()
100 if (ret_err) in xml_validate()
101 *ret_err = errors.buf; in xml_validate()
106 if (ret_err) in xml_validate()
107 *ret_err = errors.buf; in xml_validate()
116 const char *dtd_fname, char **ret_err) in xml_validate_dtd() argument
125 if (ret_err) in xml_validate_dtd()
126 *ret_err = NULL; in xml_validate_dtd()
[all …]
Dxml-utils.h19 const char *xml_schema_fname, char **ret_err);
21 const char *dtd_fname, char **ret_err);
/external/wpa_supplicant_8/hs20/server/
Dspp_server.c1063 const char *urn, int *valid, char **ret_err) in spp_get_mo() argument
1072 if (ret_err) in spp_get_mo()
1073 *ret_err = NULL; in spp_get_mo()
1105 if (xml_validate_dtd(ctx->xml, tnds, fname, ret_err) == 0) in spp_get_mo()
1107 else if (ret_err && *ret_err && in spp_get_mo()
1108 os_strcmp(*ret_err, "No declaration for attribute xmlns of element MgmtTree\n") == 0) { in spp_get_mo()
1109 free(*ret_err); in spp_get_mo()
1111 *ret_err = NULL; in spp_get_mo()