Home
last modified time | relevance | path

Searched refs:errmsg (Results 1 – 25 of 180) sorted by relevance

12345678

/external/autotest/client/common_lib/cros/manual/
Dmeet_helper.py33 errmsg = 'Fail to run telemetry api restart_chrome_for_cfm.'
34 logging.exception(errmsg)
35 return False, errmsg
60 errmsg = 'Meeting code is required for hangout meet.'
61 logging.exception(errmsg)
62 return False, errmsg
66 errmsg = 'Fail to run telemetry api to join meeting.'
67 logging.exception(errmsg)
68 return False, errmsg
86 errmsg = 'Fail to run telemetry api to leave meeting.'
[all …]
/external/ltp/testcases/kernel/fs/doio/
Ddatabin.c83 int databinchk(int mode, char *buffer, int bsize, int offset, char **errmsg) in databinchk() argument
92 if (errmsg != NULL) in databinchk()
93 *errmsg = Errmsg; in databinchk()
155 char *errmsg; in main() local
167 ret = databinchk('a', buffer, size, 0, &errmsg); in main()
169 size, ret, errmsg); in main()
176 ret = databinchk('a', &buffer[1], size - 1, offset, &errmsg); in main()
178 size, offset, ret, errmsg); in main()
189 ret = databinchk('a', &buffer[1], size - 1, offset + 1, &errmsg); in main()
191 size - 1, offset + 1, ret, errmsg); in main()
[all …]
Ddataascii.c74 int offset, char **errmsg) in dataasciichk() argument
94 if (errmsg != NULL) in dataasciichk()
95 *errmsg = Errmsg; in dataasciichk()
119 char *errmsg; in main() local
130 ret = dataasciichk(NULL, buffer, size, 0, &errmsg); in main()
132 size, ret, errmsg); in main()
139 ret = dataasciichk(NULL, &buffer[1], size - 1, 1, &errmsg); in main()
141 size - 1, ret, errmsg); in main()
151 ret = dataasciichk(NULL, &buffer[1], size - 1, 1, &errmsg); in main()
153 size - 1, ret, errmsg); in main()
[all …]
Ddatapid.c181 int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) in datapidchk() argument
194 if (errmsg != NULL) { in datapidchk()
195 *errmsg = Errmsg; in datapidchk()
286 if (errmsg != NULL) { in datapidchk()
287 *errmsg = Errmsg; in datapidchk()
309 char *errmsg; local
325 ret = datapidchk(-1, buffer, size, 3, &errmsg);
327 size, ret, errmsg);
328 ret = datapidchk(-1, &buffer[1], size - 1, 4, &errmsg);
330 size - 1, ret, errmsg);
[all …]
Dfile_lock.c54 static char errmsg[256]; variable
86 sprintf(errmsg, in file_lock()
88 *errormsg = errmsg; in file_lock()
114 sprintf(errmsg, in file_lock()
117 *errormsg = errmsg; in file_lock()
158 sprintf(errmsg, in record_lock()
160 *errormsg = errmsg; in record_lock()
186 sprintf(errmsg, in record_lock()
189 *errormsg = errmsg; in record_lock()
Dgrowfiles.c1955 char *errmsg; in growfile() local
1999 random_range(min_size, max_size, mult_size, &errmsg); in growfile()
2000 if (errmsg != NULL) { in growfile()
2004 errmsg); in growfile()
2043 lio_write_buffer(fd, io_type, "w", 1, SIGUSR1, &errmsg, 0); in growfile()
2045 ret = write_buffer(fd, io_type, "w", 1, 0, &errmsg); in growfile()
2051 Iter_cnt, errmsg); in growfile()
2210 SIGUSR1, &errmsg, 0); in growfile()
2212 ret = write_buffer(fd, io_type, buf, grow_incr, 0, &errmsg); in growfile()
2263 Iter_cnt, errmsg); in growfile()
[all …]
/external/ltp/lib/
Dtst_tmpdir.c122 static int rmobj(char *obj, char **errmsg) in rmobj() argument
138 if (errmsg != NULL) { in rmobj()
140 *errmsg = err_msg; in rmobj()
148 if (errmsg != NULL) { in rmobj()
152 *errmsg = err_msg; in rmobj()
171 if (rmobj(dirobj, errmsg) != 0) in rmobj()
184 if (errmsg != NULL) { in rmobj()
188 *errmsg = err_msg; in rmobj()
197 if (errmsg != NULL) { in rmobj()
201 *errmsg = err_msg; in rmobj()
[all …]
/external/openssh/
Dgss-serv-krb5.c90 const char *errmsg; in ssh_gssapi_krb5_userok() local
97 errmsg = krb5_get_error_message(krb_context, retval); in ssh_gssapi_krb5_userok()
98 logit("krb5_parse_name(): %.100s", errmsg); in ssh_gssapi_krb5_userok()
99 krb5_free_error_message(krb_context, errmsg); in ssh_gssapi_krb5_userok()
125 const char *errmsg; local
139 errmsg = krb5_get_error_message(krb_context, problem);
140 logit("krb5_cc_new_unique(): %.100s", errmsg);
146 krb5_free_error_message(krb_context, errmsg);
151 errmsg = krb5_get_error_message(krb_context, problem);
152 logit("ssh_krb5_cc_gen(): %.100s", errmsg);
[all …]
Dsandbox-darwin.c62 char *errmsg; in ssh_sandbox_child() local
67 &errmsg) == -1) in ssh_sandbox_child()
68 fatal("%s: sandbox_init: %s", __func__, errmsg); in ssh_sandbox_child()
/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py76 def checkInvalidParam(self, widget, name, value, errmsg=None, argument
79 if errmsg is not None:
80 errmsg = errmsg.format(value)
83 if errmsg is not None:
84 self.assertEqual(str(cm.exception), errmsg)
91 if errmsg is not None:
92 self.assertEqual(str(cm.exception), errmsg)
105 errmsg='expected integer but got ""')
107 errmsg='expected integer but got "10p"')
109 errmsg='expected integer but got "3.2"')
[all …]
/external/python/cpython3/Lib/tkinter/test/
Dwidget_tests.py72 def checkInvalidParam(self, widget, name, value, errmsg=None, *, argument
75 if errmsg is not None:
76 errmsg = errmsg.format(value)
79 if errmsg is not None:
80 self.assertEqual(str(cm.exception), errmsg)
87 if errmsg is not None:
88 self.assertEqual(str(cm.exception), errmsg)
101 errmsg='expected integer but got ""')
103 errmsg='expected integer but got "10p"')
105 errmsg='expected integer but got "3.2"')
[all …]
/external/llvm/bindings/go/llvm/
Dbitreader.go32 var errmsg *C.char
35 result := C.LLVMCreateMemoryBufferWithContentsOfFile(cfilename, &buf, &errmsg)
37 err := errors.New(C.GoString(errmsg))
38 C.free(unsafe.Pointer(errmsg))
48 err := errors.New(C.GoString(errmsg))
49 C.free(unsafe.Pointer(errmsg))
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dbitreader.go32 var errmsg *C.char
35 result := C.LLVMCreateMemoryBufferWithContentsOfFile(cfilename, &buf, &errmsg)
37 err := errors.New(C.GoString(errmsg))
38 C.free(unsafe.Pointer(errmsg))
48 err := errors.New(C.GoString(errmsg))
49 C.free(unsafe.Pointer(errmsg))
/external/u-boot/env/
Dmmc.c206 const char *errmsg; in env_mmc_save() local
208 errmsg = init_mmc_for_env(mmc); in env_mmc_save()
209 if (errmsg) { in env_mmc_save()
210 printf("%s\n", errmsg); in env_mmc_save()
270 const char *errmsg = NULL; in env_mmc_load() local
279 errmsg = init_mmc_for_env(mmc); in env_mmc_load()
280 if (errmsg) { in env_mmc_load()
301 set_default_env(errmsg); in env_mmc_load()
315 const char *errmsg; in env_mmc_load() local
319 errmsg = init_mmc_for_env(mmc); in env_mmc_load()
[all …]
/external/python/cpython2/Lib/json/
Ddecoder.py34 def errmsg(msg, doc, pos, end=None): function
71 raise ValueError(errmsg(msg, s, pos))
92 errmsg("Unterminated string starting at", s, begin))
108 raise ValueError(errmsg(msg, s, end))
116 errmsg("Unterminated string starting at", s, begin))
123 raise ValueError(errmsg(msg, s, end))
171 raise ValueError(errmsg(
182 raise ValueError(errmsg("Expecting ':' delimiter", s, end))
196 raise ValueError(errmsg("Expecting object", s, end))
211 raise ValueError(errmsg("Expecting ',' delimiter", s, end - 1))
[all …]
/external/autotest/server/site_tests/enterprise_CFM_Test/
Denterprise_CFM_Test.py61 status, errmsg = cfm_helper.gpio_usb_test(self.client,
74 return status, errmsg
82 status, errmsg = meet_helper.leave_meeting(self.cfm_facade,
93 return False, errmsg
95 status, errmsg = meet_helper.join_meeting(self.cfm_facade,
109 return False, errmsg
127 errmsg = 'Reboot test fails for %s' % self.ip_addr
128 logging.exception(errmsg)
131 return False, errmsg
151 result, errmsg = meet_helper.restart_chrome(self.cfm_facade,
[all …]
/external/autotest/cli/
Dtopic_common.py329 errmsg = str(full_error).split('Traceback')[0].rstrip('\n')
330 parts = errmsg.split(':')
350 errmsg = str(full_error)
352 errmsg = str(full_error).split('Traceback')[0].rstrip('\n')
355 print >> sys.stderr, "%s\n %s" % (what_failed, errmsg)
366 if item and item in errmsg:
367 errmsg = errmsg.replace(item, FAIL_TAG)
369 self.failed[what_failed].setdefault(errmsg, set()).add(item)
371 self.failed[what_failed] = {errmsg: set([item])}
381 for (errmsg, items) in self.failed[what_failed].iteritems():
[all …]
/external/nanopb-c/tests/io_errors/
Dio_errors.c76 else if (strcmp(stream.errmsg, "simulated") != 0) in main()
78 fprintf(stderr, "Wrong error in decode: %s\n", stream.errmsg); in main()
91 fprintf(stderr, "Decoding failed: %s\n", stream.errmsg); in main()
117 else if (strcmp(stream.errmsg, "simulated") != 0) in main()
119 fprintf(stderr, "Wrong error in encode: %s\n", stream.errmsg); in main()
133 fprintf(stderr, "Encoding failed: %s\n", stream.errmsg); in main()
/external/grpc-grpc/third_party/nanopb/tests/io_errors/
Dio_errors.c76 else if (strcmp(stream.errmsg, "simulated") != 0) in main()
78 fprintf(stderr, "Wrong error in decode: %s\n", stream.errmsg); in main()
91 fprintf(stderr, "Decoding failed: %s\n", stream.errmsg); in main()
117 else if (strcmp(stream.errmsg, "simulated") != 0) in main()
119 fprintf(stderr, "Wrong error in encode: %s\n", stream.errmsg); in main()
133 fprintf(stderr, "Encoding failed: %s\n", stream.errmsg); in main()
/external/swiftshader/third_party/LLVM/test/lib/
Dllvm.exp5 set retval [ catch { eval exec -keepnewline -- $line } errmsg ]
12 set errmsg " at line $lineno\nwhile running: $line\n$errmsg"
17 set resultmsg "$test$PRS\nFailed with exit($status)$errmsg"
22 set resultmsg "$test$PRS\nFailed with signal($signal)$errmsg"
26 set resultmsg "$test$PRS\nFailed with suspend($signal)$errmsg"
31 set resultmsg "$test$PRS\nFailed with posix($posixNum,$posixMsg)$errmsg"
36 set resultmsg "$test$PRS\nFailed with unknown error (or has stderr output)$errmsg"
39 set resultmsg "$test$PRS\nFailed with unknown error$errmsg"
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestLocalCurrency.java111 StringBuffer errmsg = new StringBuffer(); in TestConsistency() local
112 errmsg.append("Too many localized currency symbols for region: " in TestConsistency()
115 errmsg.append("\t\tLocale: " + locale); in TestConsistency()
116 errmsg.append(" Symbol: " in TestConsistency()
118 errmsg.append('\n'); in TestConsistency()
120 errln(errmsg.toString()); in TestConsistency()
/external/python/cpython2/Lib/
Durllib.py351 errcode, errmsg, headers = h.getreply()
364 return self.http_error(url, fp, errcode, errmsg, headers)
366 return self.http_error(url, fp, errcode, errmsg, headers, data)
368 def http_error(self, url, fp, errcode, errmsg, headers, data=None): argument
377 result = method(url, fp, errcode, errmsg, headers)
379 result = method(url, fp, errcode, errmsg, headers, data)
381 return self.http_error_default(url, fp, errcode, errmsg, headers)
383 def http_error_default(self, url, fp, errcode, errmsg, headers): argument
386 raise IOError, ('http error', errcode, errmsg, headers)
444 errcode, errmsg, headers = h.getreply()
[all …]
Dpy_compile.py49 errmsg = tbtext.replace('File "<string>"', 'File "%s"' % file)
51 errmsg = "Sorry: %s: %s" % (exc_type_name,exc_value)
53 Exception.__init__(self,msg or errmsg,exc_type_name,exc_value,file)
58 self.msg = msg or errmsg
/external/Reactive-Extensions/RxCpp/Ix/CPP/unittest/
Dtestbench.hpp64 struct errmsg struct
67 errmsg() : msg(new std::stringstream) in errmsg() function
71 errmsg& operator<<(T value) in operator <<() argument
86 …(errmsg() << TEST_WHERE << "(" << e << ")!=(" << a << ") in VERIFY_EQ("#expected","#actual")").str… argument
/external/autotest/client/site_tests/platform_PartitionCheck/
Dplatform_PartitionCheck.py47 errmsg = ('%s is %d bytes, expected %d or %d' %
49 logging.warning(errmsg)
50 errors.append(errmsg)

12345678