Home
last modified time | relevance | path

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

12345678910

/external/autotest/client/common_lib/cros/manual/
Dmeet_helper.py30 errmsg = 'Fail to run telemetry api restart_chrome_for_cfm.'
31 logging.exception(errmsg)
32 return False, errmsg
57 errmsg = 'Meeting code is required for hangout meet.'
58 logging.exception(errmsg)
59 return False, errmsg
63 errmsg = 'Fail to run telemetry api to join meeting.'
64 logging.exception(errmsg)
65 return False, errmsg
83 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/autotest/server/cros/cellular/
Dabstract_inst.py69 errmsg = 'Socket timeout while connecting to instrument.'
70 raise SocketInstrumentError(errmsg)
73 errmsg = 'Socket error while connecting to instrument.'
74 raise SocketInstrumentError(errmsg)
92 errmsg = ('Socket timeout while sending command {} '
94 raise SocketInstrumentError(errmsg)
97 errmsg = ('Socket error while sending command {} '
99 raise SocketInstrumentError(errmsg)
102 errmsg = ('Error {} while sending command {} '
104 raise SocketInstrumentError(errmsg)
[all …]
/external/ltp/lib/
Dtst_tmpdir.c102 static int rmobj(const char *obj, char **errmsg);
193 static int rmobj(const char *obj, char **errmsg) in rmobj() argument
203 ret_val = purge_dir(obj, errmsg); in rmobj()
212 if (errmsg != NULL) { in rmobj()
216 *errmsg = err_msg; in rmobj()
225 if (errmsg != NULL) { in rmobj()
229 *errmsg = err_msg; in rmobj()
236 if (errmsg != NULL) { in rmobj()
240 *errmsg = err_msg; in rmobj()
247 if (errmsg != NULL) { in rmobj()
[all …]
/external/python/cpython3/Lib/tkinter/test/
Dwidget_tests.py68 def checkInvalidParam(self, widget, name, value, errmsg=None, *, argument
71 if errmsg is not None:
72 errmsg = errmsg.format(value)
75 if errmsg is not None:
76 self.assertEqual(str(cm.exception), errmsg)
83 if errmsg is not None:
84 self.assertEqual(str(cm.exception), errmsg)
97 errmsg='expected integer but got ""')
99 errmsg='expected integer but got "10p"')
101 errmsg='expected integer but got "3.2"')
[all …]
/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/mtools/
Dplain_io.c247 char *errmsg) in LockDevice() argument
254 if(errmsg) in LockDevice()
256 snprintf(errmsg,199, in LockDevice()
260 sprintf(errmsg, in LockDevice()
281 const char *name, int mode, char *errmsg, in SimpleFileOpen() argument
284 errmsg, mode2, locked, mode, maxSize, in SimpleFileOpen()
289 const char *name, int mode, char *errmsg, in SimpleFileOpenWithLm() argument
320 if(errmsg) in SimpleFileOpenWithLm()
322 snprintf(errmsg,199,"Can't stat -: %s", in SimpleFileOpenWithLm()
325 sprintf(errmsg,"Can't stat -: %s", in SimpleFileOpenWithLm()
[all …]
Dopen_image.c49 const char *name, int mode, char *errmsg, in OpenImage() argument
64 errmsg, maxSize); in OpenImage()
69 Stream = XdfOpen(out_dev, name, mode, errmsg, xdf_info); in OpenImage()
80 errmsg, flags, 0, in OpenImage()
88 errmsg, flags, 0, in OpenImage()
105 Stream_t *Remapped = Remap(Stream, out_dev, errmsg); in OpenImage()
113 errmsg, maxSize); in OpenImage()
132 errmsg, maxSize); in OpenImage()
Ddevice.c25 char *errmsg) in check_if_sectors_fit() argument
30 sprintf(errmsg, in check_if_sectors_fit()
42 int chs_to_totsectors(struct device *dev, char *errmsg) in chs_to_totsectors() argument
61 if(errmsg) in chs_to_totsectors()
62 sprintf(errmsg, in chs_to_totsectors()
Dinit.c222 char *errmsg) in try_device() argument
253 Stream = OpenImage(out_dev, dev, name, openMode, errmsg, in try_device()
280 sprintf(errmsg, in try_device()
289 sprintf(errmsg, in try_device()
293 sprintf(errmsg,"init %c: non DOS media", dev->drive); in try_device()
312 snprintf(errmsg, 199, in try_device()
316 sprintf(errmsg, in try_device()
321 sprintf(errmsg, in try_device()
373 char errmsg[200]; in find_device() local
376 sprintf(errmsg, "Drive '%c:' not supported", drive); in find_device()
[all …]
Dmcat.c59 char errmsg[200]; in mcat() local
99 sprintf(errmsg, "Drive '%c:' not supported", drive); in mcat()
112 errmsg, ALWAYS_GET_GEOMETRY, mode, &maxSize, in mcat()
126 if(chs_to_totsectors(&out_dev, errmsg) < 0 || in mcat()
128 maxSize, 512, errmsg)) in mcat()
152 fprintf(stderr,"%s\n",errmsg); in mcat()
/external/rust/crates/nix/src/mount/
Dbsd.rs114 errmsg: Option<String>, field
120 pub fn errmsg(&self) -> Option<&str> { in errmsg() method
121 self.errmsg.as_deref() in errmsg()
129 fn new(error: Error, errmsg: Option<&CStr>) -> Self { in new()
132 errmsg: errmsg.map(CStr::to_string_lossy).map(Cow::into_owned), in new()
143 if let Some(errmsg) = &self.errmsg { in fmt()
144 write!(f, "{:?}: {}: {}", self.errno, errmsg, self.errno.desc()) in fmt()
380 let mut errmsg = vec![0u8; 255]; in nmount() localVariable
389 iov_base: errmsg.as_mut_ptr() as *mut c_void, in nmount()
390 iov_len: errmsg.len(), in nmount()
[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/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/erofs-utils/lib/
Ddir.c15 const char *errmsg; in traverse_dirents() local
40 errmsg = "bogus dirent nameoff"; in traverse_dirents()
46 errmsg = "bogus dirent namelen"; in traverse_dirents()
56 errmsg = "wrong dirent name order"; in traverse_dirents()
62 errmsg = "invalid file type %u"; in traverse_dirents()
75 errmsg = "duplicated `..' dirent"; in traverse_dirents()
86 errmsg = "corrupted `..' dirent"; in traverse_dirents()
93 errmsg = "duplicated `.' dirent"; in traverse_dirents()
99 errmsg = "corrupted `.' dirent"; in traverse_dirents()
118 errmsg, ctx->dir->nid | 0ULL, lblk, in traverse_dirents()
/external/autotest/cli/
Dtopic_common.py331 errmsg = str(full_error).split('Traceback')[0].rstrip('\n')
332 parts = errmsg.split(':')
352 errmsg = str(full_error)
354 errmsg = str(full_error).split('Traceback')[0].rstrip('\n')
357 print >> sys.stderr, "%s\n %s" % (what_failed, errmsg)
368 if item and item in errmsg:
369 errmsg = errmsg.replace(item, FAIL_TAG)
371 self.failed[what_failed].setdefault(errmsg, set()).add(item)
373 self.failed[what_failed] = {errmsg: set([item])}
383 for (errmsg, items) in self.failed[what_failed].iteritems():
[all …]
/external/tinyalsa_new/utils/
Doptparse.h60 char errmsg[64]; member
130 options->errmsg[p++] = *msg++; in optparse_error()
132 options->errmsg[p++] = *sep++; in optparse_error()
133 while (p < sizeof(options->errmsg) - 2 && *data) in optparse_error()
134 options->errmsg[p++] = *data++; in optparse_error()
135 options->errmsg[p++] = '\''; in optparse_error()
136 options->errmsg[p++] = '\0'; in optparse_error()
149 options->errmsg[0] = '\0'; in optparse_init()
201 options->errmsg[0] = '\0'; in optparse()
372 options->errmsg[0] = '\0'; in optparse_long()
/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/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/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/
Dtest_upb.lua545 local errmsg = "not an integer or out of range"
547 assert_error_match(errmsg, function() array[3] = vals.too_small end)
550 assert_error_match(errmsg, function() array[3] = vals.too_big end)
553 assert_error_match(errmsg, function() array[3] = vals.other_bad end)
557 errmsg = "bad argument #3"
558 assert_error_match(errmsg, function() array[3] = "abc" end)
559 assert_error_match(errmsg, function() array[3] = true end)
560 assert_error_match(errmsg, function() array[3] = false end)
561 assert_error_match(errmsg, function() array[3] = nil end)
562 assert_error_match(errmsg, function() array[3] = {} end)
[all …]
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestLocalCurrency.java114 StringBuffer errmsg = new StringBuffer(); in TestConsistency() local
115 errmsg.append("Too many localized currency symbols for region: " in TestConsistency()
118 errmsg.append("\t\tLocale: " + locale); in TestConsistency()
119 errmsg.append(" Symbol: " in TestConsistency()
121 errmsg.append('\n'); in TestConsistency()
123 …errln(errmsg.toString()); // if this fails, see if it warrants changing regionsWithTwoCurrencySymb… in TestConsistency()

12345678910