Home
last modified time | relevance | path

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

123456

/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.c1942 char *errmsg; in growfile() local
1986 random_range(min_size, max_size, mult_size, &errmsg); in growfile()
1987 if (errmsg != NULL) { in growfile()
1991 errmsg); in growfile()
2030 lio_write_buffer(fd, io_type, "w", 1, SIGUSR1, &errmsg, 0); in growfile()
2032 ret = write_buffer(fd, io_type, "w", 1, 0, &errmsg); in growfile()
2038 Iter_cnt, errmsg); in growfile()
2197 SIGUSR1, &errmsg, 0); in growfile()
2199 ret = write_buffer(fd, io_type, buf, grow_incr, 0, &errmsg); in growfile()
2250 Iter_cnt, errmsg); in growfile()
[all …]
/external/ltp/lib/
Dtst_tmpdir.c121 static int rmobj(char *obj, char **errmsg) in rmobj() argument
137 if (errmsg != NULL) { in rmobj()
139 *errmsg = err_msg; in rmobj()
147 if (errmsg != NULL) { in rmobj()
151 *errmsg = err_msg; in rmobj()
170 if (rmobj(dirobj, errmsg) != 0) in rmobj()
183 if (errmsg != NULL) { in rmobj()
187 *errmsg = err_msg; in rmobj()
196 if (errmsg != NULL) { in rmobj()
200 *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/bison/lib/
Dstrerror_r.c255 const char *errmsg = in strerror_r() local
262 const char *errmsg = in strerror_r() local
268 const char *errmsg = sys_errlist[errnum]; in strerror_r()
270 if (errmsg == NULL || *errmsg == '\0') in strerror_r()
273 ret = safe_copy (buf, buflen, errmsg); in strerror_r()
288 char *errmsg = strerror (errnum); in strerror_r() local
290 if (errmsg == NULL || *errmsg == '\0') in strerror_r()
293 ret = safe_copy (buf, buflen, errmsg); in strerror_r()
303 char *errmsg = strerror (errnum); in strerror_r() local
308 if (errmsg == NULL || *errmsg == '\0') in strerror_r()
[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/fio/oslib/
Dlibmtd_legacy.c90 errmsg("\"%s\" does not start with \"%s\"", MTD_PROC_FILE, in proc_parse_start()
120 return errmsg("\"%s\" pattern not found", PROC_MTD_PATT); in proc_parse_next()
124 return errmsg("opening \" not found"); in proc_parse_next()
128 return errmsg("opening \" not found"); in proc_parse_next()
132 return errmsg("closing \" not found"); in proc_parse_next()
135 return errmsg("closing \" not found"); in proc_parse_next()
139 return errmsg("too long mtd%d device name", pi->mtd_num); in proc_parse_next()
145 return errmsg("opening \"\n\" not found"); in proc_parse_next()
252 return errmsg("\"%s\" is not a character device", node); in legacy_get_dev_info()
261 return errmsg("\"%s\" has major number %d, MTD devices have " in legacy_get_dev_info()
[all …]
Dlibmtd.c93 errmsg("contents of \"%s\" is too long", file); in read_data()
107 errmsg("file \"%s\" contains too much data (> %d bytes)", in read_data()
145 return errmsg("\"%s\" does not have major:minor format", file); in read_major()
150 return errmsg("bad major:minor %d:%d in \"%s\"", in read_major()
216 errmsg("contents of \"%s\" is too long", file); in read_hex_ll()
223 errmsg("cannot read integer from \"%s\"\n", file); in read_hex_ll()
229 errmsg("negative value %lld in \"%s\"", *value, file); in read_hex_ll()
268 errmsg("contents of \"%s\" is too long", file); in read_pos_ll()
274 errmsg("cannot read integer from \"%s\"\n", file); in read_pos_ll()
280 errmsg("negative value %lld in \"%s\"", *value, file); in read_pos_ll()
[all …]
Dlibmtd_common.h97 #define errmsg(fmt, ...) ({ \ macro
102 exit(errmsg(fmt, ##__VA_ARGS__)); \
108 errmsg(fmt, ##__VA_ARGS__); \
201 errmsg("%s: unable to parse the number '%s'", #func, snum); \
/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/autotest/cli/
Dtopic_common.py310 errmsg = str(full_error).split('Traceback')[0].rstrip('\n')
311 parts = errmsg.split(':')
331 errmsg = str(full_error)
333 errmsg = str(full_error).split('Traceback')[0].rstrip('\n')
336 print >> sys.stderr, "%s\n %s" % (what_failed, errmsg)
347 if item and item in errmsg:
348 errmsg = errmsg.replace(item, FAIL_TAG)
350 self.failed[what_failed].setdefault(errmsg, set()).add(item)
352 self.failed[what_failed] = {errmsg: set([item])}
362 for (errmsg, items) in self.failed[what_failed].iteritems():
[all …]
/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/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/syslinux/com32/lib/
Dmakeerrlist.pl11 %errmsg = ();
50 $errmsg{$errno} = $msg;
85 printf " [%s] = \"%s\",\n", $errors{$e}, $errmsg{$e};
/external/autotest/client/site_tests/platform_PartitionCheck/
Dplatform_PartitionCheck.py69 errmsg = ('%s is %d bytes, expected %d' %
71 logging.warning(errmsg)
72 errors.append(errmsg)
/external/openssh/regress/
Dcheck-perm.c162 char errmsg[256]; in main() local
198 errmsg, sizeof(errmsg)) != 0) in main()
199 fatal("Unsafe %s: %s", path, errmsg); in main()
/external/e2fsprogs/lib/ext2fs/
Dfinddev.c179 const char *errmsg = "Couldn't parse %s: %s\n"; in main() local
189 fprintf(stderr, errmsg, "device number", argv[1]); in main()
195 fprintf(stderr, errmsg, "major number", argv[1]); in main()
200 fprintf(stderr, errmsg, "minor number", argv[2]); in main()
/external/e2fsprogs/lib/blkid/
Ddevno.c199 const char *errmsg = "Couldn't parse %s: %s\n"; in main() local
211 fprintf(stderr, errmsg, "device number", argv[1]); in main()
217 fprintf(stderr, errmsg, "major number", argv[1]); in main()
222 fprintf(stderr, errmsg, "minor number", argv[2]); in main()
/external/dtc/
Dutil.h214 void NORETURN util_usage(const char *errmsg, const char *synopsis,
227 #define usage(errmsg) \ argument
228 util_usage(errmsg, usage_synopsis, usage_short_opts, \

123456