Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 2122) sorted by relevance

12345678910>>...85

/external/selinux/libsemanage/tests/
Dtest_semanage_store.c59 int err; in semanage_store_test_init() local
62 err = mkdir(rootpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
63 if (err != 0) in semanage_store_test_init()
66 err = mkdir(polpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
67 if (err != 0) in semanage_store_test_init()
70 err = mkdir(actpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
71 if (err != 0) in semanage_store_test_init()
74 err = mkdir(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
75 if (err != 0) in semanage_store_test_init()
91 err = semanage_check_init(sh, rootpath); in semanage_store_test_init()
[all …]
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jerror.c65 (*cinfo->err->output_message) (cinfo); in error_exit()
95 (*cinfo->err->format_message) (cinfo, buffer); in output_message()
116 struct jpeg_error_mgr * err = cinfo->err; in emit_message() local
123 if (err->num_warnings == 0 || err->trace_level >= 3) in emit_message()
124 (*err->output_message) (cinfo); in emit_message()
126 err->num_warnings++; in emit_message()
129 if (err->trace_level >= msg_level) in emit_message()
130 (*err->output_message) (cinfo); in emit_message()
146 struct jpeg_error_mgr * err = cinfo->err; in format_message()
147 int msg_code = err->msg_code; in format_message()
[all …]
/external/jpeg/
Djerror.c73 (*cinfo->err->output_message) (cinfo); in error_exit()
103 (*cinfo->err->format_message) (cinfo, buffer); in output_message()
130 struct jpeg_error_mgr * err = cinfo->err; in emit_message() local
137 if (err->num_warnings == 0 || err->trace_level >= 3) in emit_message()
138 (*err->output_message) (cinfo); in emit_message()
140 err->num_warnings++; in emit_message()
143 if (err->trace_level >= msg_level) in emit_message()
144 (*err->output_message) (cinfo); in emit_message()
159 struct jpeg_error_mgr * err = cinfo->err; in format_message() local
160 int msg_code = err->msg_code; in format_message()
[all …]
/external/bison/lib/glthread/
Dlock.c40 int err; in glthread_rwlock_init_multithreaded() local
42 err = pthread_rwlock_init (&lock->rwlock, NULL); in glthread_rwlock_init_multithreaded()
43 if (err != 0) in glthread_rwlock_init_multithreaded()
44 return err; in glthread_rwlock_init_multithreaded()
54 int err; in glthread_rwlock_rdlock_multithreaded() local
56 err = pthread_mutex_lock (&lock->guard); in glthread_rwlock_rdlock_multithreaded()
57 if (err != 0) in glthread_rwlock_rdlock_multithreaded()
58 return err; in glthread_rwlock_rdlock_multithreaded()
61 err = glthread_rwlock_init_multithreaded (lock); in glthread_rwlock_rdlock_multithreaded()
62 if (err != 0) in glthread_rwlock_rdlock_multithreaded()
[all …]
/external/parameter-framework/test/functional-tests/PfwTestCase/Functions/
DtFunction_listingFunctions.py98 … out, err = self.pfw.sendCmd("importDomainsWithSettingsXML",self.reference_dumpDomains_xml, "")
99 …assert err == None, log.E("Command [importDomainsWithSettingsXML %s] : %s"%(self.reference_dumpDom…
103 out, err = self.pfw.sendCmd("dumpDomains","","")
104 assert err == None, log.E("Command [dumpDomains] : %s"%(err))
125 out, err = self.pfw.sendCmd("help","")
126 assert err == None, log.E("Command [help] : %s"%(err))
147 out, err = self.pfw.sendCmd("status","")
148 assert err == None, log.E("Command [help] : %s"%(err))
169 out, err = self.pfw.sendCmd("listCriteria","")
170 assert err == None, log.E("Command [listCriteria] : %s"%(err))
[all …]
DtFunction_Export_Import_Domains.py121 out, err = self.pfw.sendCmd("importDomainsWithSettingsXML",self.reference_xml, "")
122 …assert err == None, log.E("Command [importDomainsWithSettingsXML %s] : %s"%(self.reference_xml,err
129 out, err = self.pfw.sendCmd("listDomains","","")
130 assert err == None, log.E("Command [listDomains] : %s"%(err))
152 out, err = self.pfw.sendCmd("listConfigurations",domain_name,"")
153 assert err == None, log.E("Command [listConfigurations %s] : %s"%(domain_name,err))
176 out, err = self.pfw.sendCmd("getRule",domain_name,conf_name)
177 … assert err == None, log.E("Command [getRules %s %s] : %s"%(domain_name,conf_name,err))
188 out, err = self.pfw.sendCmd("restoreConfiguration",domain_name,conf_name)
189 … assert err == None, log.E("Command [restoreConfiguration %s %s] : %s"%(domain_name,conf_name,err))
[all …]
/external/zlib/src/contrib/pascal/
Dexample.pas37 procedure CHECK_ERR(err: Integer; msg: String);
39 if err <> Z_OK then
41 WriteLn(msg, ' error: ', err);
58 var err: Integer;
63 err := compress(compr, comprLen, hello, len);
64 CHECK_ERR(err, 'compress');
68 err := uncompress(uncompr, uncomprLen, compr, comprLen);
69 CHECK_ERR(err, 'uncompress');
85 var err: Integer;
101 WriteLn('gzputs err: ', gzerror(zfile, err));
[all …]
/external/parameter-framework/test/functional-tests/PfwTestCase/Domains/
DtDomain_Configuration_Backup.py82 out, err = self.pfw.sendCmd("restoreConfiguration", self.domain_name, self.conf_1)
83 …assert err == None, "Error when restoring configuration %s from domain %s : %s" % (self.conf_1, se…
85 out, err = self.pfw.sendCmd("getParameter", self.param_name)
86 assert err == None, "Error when getting parameter %s : %s" % (self.param_name, err)
92 out, err = self.pfw.sendCmd("setParameter", self.param_name, str(Param_saved_1+1))
93 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err)
98 out, err = self.pfw.sendCmd("saveConfiguration", self.domain_name, self.conf_1)
99 …assert err == None, "Error when saving configuration %s from domain %s : %s" % (self.conf_1, self.…
101 out, err = self.pfw.sendCmd("getParameter", self.param_name)
102 assert err == None, "Error when getting parameter %s : %s" % (self.param_name, err)
[all …]
/external/selinux/policycoreutils/semanage/
Dtest-semanage.py10 def assertDenied(self, err): argument
11 self.assertTrue('Permission denied' in err,
12 '"Permission denied" not found in %r' % err)
13 def assertNotFound(self, err): argument
14 self.assertTrue('not found' in err,
15 '"not found" not found in %r' % err)
21 def assertSuccess(self, status, err): argument
23 '"semanage should have succeeded for this test %r' % err)
31 out, err = p.communicate()
32 self.assertSuccess(p.returncode, err)
[all …]
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dget_long.pass.cpp53 std::ios_base::iostate err = ios.goodbit; in main() local
57 ios, err, v); in main()
59 assert(err == ios.goodbit); in main()
66 std::ios_base::iostate err = ios.goodbit; in main() local
70 ios, err, v); in main()
72 assert(err == ios.goodbit); in main()
78 std::ios_base::iostate err = ios.goodbit; in main() local
82 ios, err, v); in main()
84 assert(err == ios.goodbit); in main()
90 std::ios_base::iostate err = ios.goodbit; in main() local
[all …]
/external/selinux/policycoreutils/sepolicy/
Dinfo.c116 if (!dict) goto err; in get_sens()
120 goto err; in get_sens()
127 goto err; in get_sens()
129 if (rt) goto err; in get_sens()
137 err: in get_sens()
247 if (!dict) goto err; in get_cat_sens()
249 goto err; in get_cat_sens()
257 goto err; in get_cat_sens()
259 goto err; in get_cat_sens()
261 goto err; in get_cat_sens()
[all …]
Dtest_sepolicy.py6 def assertDenied(self, err): argument
7 self.assert_('Permission denied' in err,
8 '"Permission denied" not found in %r' % err)
9 def assertNotFound(self, err): argument
10 self.assert_('not found' in err,
11 '"not found" not found in %r' % err)
17 def assertSuccess(self, status, err): argument
19 '"sepolicy should have succeeded for this test %r' % err)
24 out, err = p.communicate()
25 print out, err
[all …]
/external/icu/icu4c/source/test/iotest/
Dtrnstst.c19 UErrorCode err = U_ZERO_ERROR; in TestTranslitOps() local
31 a = utrans_open("Latin-Greek", UTRANS_FORWARD, NULL, -1, NULL, &err); in TestTranslitOps()
32 if(U_FAILURE(err)) in TestTranslitOps()
34 log_err("Error opening transliterator %s\n", u_errorName(err)); in TestTranslitOps()
41 b = u_fsettransliterator(f, U_WRITE, a, &err); in TestTranslitOps()
42 if(U_FAILURE(err)) in TestTranslitOps()
44 log_err("Error setting transliterator %s\n", u_errorName(err)); in TestTranslitOps()
54 b = u_fsettransliterator(NULL, U_WRITE, a, &err); in TestTranslitOps()
55 if(err != U_ILLEGAL_ARGUMENT_ERROR) in TestTranslitOps()
57 log_err("Error setting transliterator on NULL file err=%s\n", u_errorName(err)); in TestTranslitOps()
[all …]
/external/srtp/test/
Ddtls_srtp_driver.c67 err_status_t err; in main() local
72 err = srtp_init(); in main()
73 if (err) { in main()
74 printf("error: srtp init failed with error code %d\n", err); in main()
88 err = crypto_kernel_set_debug_module(optarg_s, 1); in main()
89 if (err) { in main()
100 err = crypto_kernel_list_debug_modules(); in main()
101 if (err) { in main()
108 err = test_dtls_srtp(); in main()
109 if (err) { in main()
[all …]
/external/icu/icu4c/source/common/
Dloclikely.cpp43 UErrorCode* err) { in findLikelySubtags() argument
46 if (!U_FAILURE(*err)) { in findLikelySubtags()
60 *err = tmpErr; in findLikelySubtags()
65 *err = U_INTERNAL_PROGRAM_ERROR; in findLikelySubtags()
74 *err = tmpErr; in findLikelySubtags()
165 UErrorCode* err) { in createTagStringWithAlternates() argument
167 if (U_FAILURE(*err)) { in createTagStringWithAlternates()
219 err); in createTagStringWithAlternates()
220 if(U_FAILURE(*err) || in createTagStringWithAlternates()
262 err); in createTagStringWithAlternates()
[all …]
/external/zlib/src/test/
Dexample.c22 #define CHECK_ERR(err, msg) { \ argument
23 if (err != Z_OK) { \
24 fprintf(stderr, "%s error: %d\n", msg, err); \
92 int err; local
95 err = compress(compr, &comprLen, (const Bytef*)hello, len);
96 CHECK_ERR(err, "compress");
100 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
101 CHECK_ERR(err, "uncompress");
122 int err;
134 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err));
[all …]
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
Dget_monthname.pass.cpp38 std::ios_base::iostate err; in main() local
42 err = std::ios_base::goodbit; in main()
44 I i = f.get_monthname(I(in), I(in+sizeof(in)-1), ios, err, &t); in main()
47 assert(err == std::ios_base::eofbit); in main()
51 err = std::ios_base::goodbit; in main()
53 I i = f.get_monthname(I(in), I(in+sizeof(in)-1), ios, err, &t); in main()
56 assert(err == std::ios_base::eofbit); in main()
60 err = std::ios_base::goodbit; in main()
62 I i = f.get_monthname(I(in), I(in+sizeof(in)-1), ios, err, &t); in main()
65 assert(err == std::ios_base::eofbit); in main()
[all …]
Dget_monthname_wide.pass.cpp38 std::ios_base::iostate err; in main() local
42 err = std::ios_base::goodbit; in main()
44 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); in main()
47 assert(err == std::ios_base::eofbit); in main()
51 err = std::ios_base::goodbit; in main()
53 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); in main()
56 assert(err == std::ios_base::eofbit); in main()
60 err = std::ios_base::goodbit; in main()
62 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); in main()
65 assert(err == std::ios_base::eofbit); in main()
[all …]
Dget_weekday.pass.cpp38 std::ios_base::iostate err; in main() local
42 err = std::ios_base::goodbit; in main()
44 I i = f.get_weekday(I(in), I(in+sizeof(in)-1), ios, err, &t); in main()
47 assert(err == std::ios_base::eofbit); in main()
51 err = std::ios_base::goodbit; in main()
53 I i = f.get_weekday(I(in), I(in+sizeof(in)-1), ios, err, &t); in main()
56 assert(err == std::ios_base::goodbit); in main()
60 err = std::ios_base::goodbit; in main()
62 I i = f.get_weekday(I(in), I(in+sizeof(in)-1), ios, err, &t); in main()
65 assert(err == (std::ios_base::failbit | std::ios_base::eofbit)); in main()
[all …]
/external/lldb/source/Host/common/
DMutex.cpp52 int err; in error_check_mutex() local
54 err = ::pthread_mutex_lock (&g_mutex_set_mutex); in error_check_mutex()
55 assert(err == 0); in error_check_mutex()
82 err = ::pthread_mutex_unlock (&g_mutex_set_mutex); in error_check_mutex()
83 assert(err == 0); in error_check_mutex()
188 int err; in Mutex() local
189 err = ::pthread_mutex_init (&m_mutex, NULL); in Mutex()
191 if (err == 0) in Mutex()
194 assert(err == 0); in Mutex()
205 int err; in Mutex() local
[all …]
/external/libnl/lib/netfilter/
Dct.c109 int err; in ct_parse_ip() local
111 err = nla_parse_nested(tb, CTA_IP_MAX, attr, ct_ip_policy); in ct_parse_ip()
112 if (err < 0) in ct_parse_ip()
119 err = nfnl_ct_set_src(ct, repl, addr); in ct_parse_ip()
121 if (err < 0) in ct_parse_ip()
128 err = nfnl_ct_set_dst(ct, repl, addr); in ct_parse_ip()
130 if (err < 0) in ct_parse_ip()
137 err = nfnl_ct_set_src(ct, repl, addr); in ct_parse_ip()
139 if (err < 0) in ct_parse_ip()
146 err = nfnl_ct_set_dst(ct, repl, addr); in ct_parse_ip()
[all …]
/external/boringssl/src/crypto/bn/
Dgcd.c126 goto err; in euclid()
129 goto err; in euclid()
139 goto err; in euclid()
151 goto err; in euclid()
161 goto err; in euclid()
164 goto err; in euclid()
174 goto err; in euclid()
180 err: in euclid()
193 goto err; in BN_gcd()
196 goto err; in BN_gcd()
[all …]
/external/parameter-framework/test/functional-tests/PfwTestCase/Types/
DtRAW.py110 out, err = self.pfw.sendCmd("setOutputRawFormat", value)
111 assert err == None, log.E("When setting output raw format : %s"
112 % (err))
116 out, err = self.pfw.sendCmd("getOutputRawFormat","")
117 assert err == None, log.E("When getting output raw format : %s"
118 % (err))
124 out, err = self.pfw.sendCmd("setOutputRawFormat", value)
125 assert err == None, log.E("When setting output raw format : %s"
126 % (err))
130 out, err = self.pfw.sendCmd("getOutputRawFormat","")
[all …]
/external/valgrind/none/tests/ppc32/
DtestVMX.c375 int i, err, j;//, b, bAux; in main() local
485 err = 0; in main()
490 err++; in main()
491 if (err) in main()
496 err = 0; in main()
501 err++; in main()
502 if (err) in main()
507 err = 0; in main()
512 err++; in main()
513 if (err) in main()
[all …]
/external/jdiff/src/jdiff/
DOptions.java151 ErrorHandler err = new ErrorHandler(); in validOptions() local
167 err.msg("No version identifier specified after -apiname option."); in validOptions()
169err.msg("Use the -apiname option, or the -oldapi and -newapi options, but not both."); in validOptions()
182 err.msg("No directory specified after -apidir option."); in validOptions()
190 err.msg("No version identifier specified after -oldapi option."); in validOptions()
192 err.msg("Use the -apiname or -oldapi option, but not both."); in validOptions()
204 err.msg("No directory specified after -oldapidir option."); in validOptions()
212 err.msg("No version identifier specified after -newapi option."); in validOptions()
214 err.msg("Use the -apiname or -newapi option, but not both."); in validOptions()
226 err.msg("No directory specified after -newapidir option."); in validOptions()
[all …]

12345678910>>...85