/external/autotest/client/common_lib/cros/manual/ |
D | meet_helper.py | 30 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/ |
D | databin.c | 83 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 …]
|
D | dataascii.c | 74 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 …]
|
D | datapid.c | 181 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 …]
|
D | file_lock.c | 54 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()
|
D | growfiles.c | 1955 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/ |
D | tst_tmpdir.c | 122 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/ |
D | gss-serv-krb5.c | 89 const char *errmsg; in ssh_gssapi_krb5_userok() local 96 errmsg = krb5_get_error_message(krb_context, retval); in ssh_gssapi_krb5_userok() 97 logit("krb5_parse_name(): %.100s", errmsg); in ssh_gssapi_krb5_userok() 98 krb5_free_error_message(krb_context, errmsg); in ssh_gssapi_krb5_userok() 124 const char *errmsg; local 138 errmsg = krb5_get_error_message(krb_context, problem); 139 logit("krb5_cc_new_unique(): %.100s", errmsg); 145 krb5_free_error_message(krb_context, errmsg); 150 errmsg = krb5_get_error_message(krb_context, problem); 151 logit("ssh_krb5_cc_gen(): %.100s", errmsg); [all …]
|
/external/llvm-project/flang/runtime/ |
D | stat.cpp | 58 int ToErrmsg(Descriptor *errmsg, int stat) { in ToErrmsg() argument 59 if (stat != StatOk && errmsg && errmsg->raw().base_addr && in ToErrmsg() 60 errmsg->type() == TypeCode(TypeCategory::Character, 1) && in ToErrmsg() 61 errmsg->rank() == 0) { in ToErrmsg() 63 char *buffer{errmsg->OffsetElement()}; in ToErrmsg() 64 std::size_t bufferLength{errmsg->ElementBytes()}; in ToErrmsg() 78 Terminator &terminator, int stat, Descriptor *errmsg, bool hasStat) { in ReturnError() argument 80 return ToErrmsg(errmsg, stat); in ReturnError()
|
/external/python/cpython3/Lib/tkinter/test/ |
D | widget_tests.py | 69 def checkInvalidParam(self, widget, name, value, errmsg=None, *, argument 72 if errmsg is not None: 73 errmsg = errmsg.format(value) 76 if errmsg is not None: 77 self.assertEqual(str(cm.exception), errmsg) 84 if errmsg is not None: 85 self.assertEqual(str(cm.exception), errmsg) 98 errmsg='expected integer but got ""') 100 errmsg='expected integer but got "10p"') 102 errmsg='expected integer but got "3.2"') [all …]
|
/external/python/cpython2/Lib/lib-tk/test/ |
D | widget_tests.py | 76 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/llvm-project/llvm/bindings/go/llvm/ |
D | bitreader.go | 31 var errmsg *C.char 34 result := C.LLVMCreateMemoryBufferWithContentsOfFile(cfilename, &buf, &errmsg) 36 err := errors.New(C.GoString(errmsg)) 37 C.free(unsafe.Pointer(errmsg)) 47 err := errors.New(C.GoString(errmsg)) 48 C.free(unsafe.Pointer(errmsg))
|
/external/llvm/bindings/go/llvm/ |
D | bitreader.go | 32 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/llvm-project/flang/test/Semantics/ |
D | allocate02.f90 | 20 allocate(x4(2:4), stat=stat, errmsg=msg) 21 allocate(x5(2:4), source=src, stat=stat, errmsg=msg) 33 allocate(x9, mold=mld, errmsg=msg, stat=stat, errmsg= msg) 45 allocate(y3, source=src, stat=stat, errmsg=msg, mold=mld) 48 allocate(real:: y4, source=src, stat=stat, errmsg=msg, mold=mld)
|
/external/python/cpython2/Lib/json/ |
D | decoder.py | 34 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/mtools/ |
D | plain_io.c | 486 const char *name, int mode, char *errmsg, in SimpleFileOpen() argument 518 if(errmsg) in SimpleFileOpen() 520 snprintf(errmsg,199,"Can't stat -: %s", in SimpleFileOpen() 523 sprintf(errmsg,"Can't stat -: %s", in SimpleFileOpen() 584 if(errmsg) in SimpleFileOpen() 586 snprintf(errmsg, 199, "Can't open %s: %s", in SimpleFileOpen() 589 sprintf(errmsg, "Can't open %s: %s", in SimpleFileOpen() 607 if(errmsg) { in SimpleFileOpen() 609 snprintf(errmsg,199,"Can't stat %s: %s", in SimpleFileOpen() 613 sprintf(errmsg,"Can't stat file: %s", in SimpleFileOpen() [all …]
|
D | init.c | 140 char errmsg[200]; in find_device() local 147 sprintf(errmsg, "Drive '%c:' not supported", drive); in find_device() 164 errmsg, maxSize); in find_device() 169 Stream = XdfOpen(out_dev, name, mode, errmsg, 0); in find_device() 181 errmsg, 0, 1, maxSize); in find_device() 189 errmsg, 0, 1, maxSize); in find_device() 201 sprintf(errmsg, in find_device() 209 sprintf(errmsg, in find_device() 213 sprintf(errmsg,"init %c: non DOS media", drive); in find_device() 222 snprintf(errmsg, 199, in find_device() [all …]
|
D | mcat.c | 62 char errmsg[200]; in mcat() local 98 sprintf(errmsg, "Drive '%c:' not supported", drive); in mcat() 112 Stream = XdfOpen(&out_dev, name, mode, errmsg, 0); in mcat() 121 mode, errmsg, NULL); in mcat() 127 errmsg, 0, 1, 0); in mcat() 137 fprintf(stderr,"%s\n",errmsg); in mcat()
|
D | mformat.c | 720 static int get_sector_size(int fd, char *errmsg) { in get_sector_size() argument 723 sprintf(errmsg, "Could not get sector size of device (%s)", in get_sector_size() 734 static int get_block_geom(int fd, struct device *dev, char *errmsg) { in get_block_geom() argument 743 sprintf(errmsg, "Could not get geometry of device (%s)", in get_block_geom() 749 sprintf(errmsg, "Could not get size of device (%s)", in get_block_geom() 754 sec_size = get_sector_size(fd, errmsg); in get_block_geom() 772 sprintf(errmsg, in get_block_geom() 787 …c int get_lba_geom(Stream_t *Direct, unsigned long tot_sectors, struct device *dev, char *errmsg) { in get_lba_geom() argument 793 sprintf(errmsg, "Number of heads or sectors or tracks was already specified"); in get_lba_geom() 806 sprintf(errmsg, "Could not stat file (%s)", strerror(errno)); in get_lba_geom() [all …]
|
/external/autotest/server/site_tests/enterprise_CFM_Test/ |
D | enterprise_CFM_Test.py | 61 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/nanopb-c/tests/io_errors/ |
D | io_errors.c | 76 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/ |
D | io_errors.c | 76 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/tinyalsa_new/utils/ |
D | optparse.h | 60 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/autotest/cli/ |
D | topic_common.py | 331 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/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/ |
D | test_upb.lua | 545 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 …]
|