/external/ltp/testcases/kernel/syscalls/nftw/ |
tools.c | 32 extern char ebuf[ERR_BUF_SIZ]; 73 sprintf(ebuf, "Can't mkdir ./tmp"); 74 perror(ebuf); 81 sprintf(ebuf, "Can't mkdir %s %d", 83 perror(ebuf); 91 sprintf(ebuf, "Can't symlink %s ", 93 perror(ebuf); 102 sprintf(ebuf, "Can't open %s", pathdat[i].name); 103 perror(ebuf); 124 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d333") [all...] |
tools64.c | 32 extern char ebuf[ERR_BUF_SIZ]; 72 sprintf(ebuf, "Can't mkdir ./tmp"); 73 perror(ebuf); 80 sprintf(ebuf, "Can't mkdir %s %d", 82 perror(ebuf); 90 sprintf(ebuf, "Can't symlink %s ", 92 perror(ebuf); 101 sprintf(ebuf, "Can't open %s", pathdat[i].name); 102 perror(ebuf); 123 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d333") [all...] |
/external/cn-cbor/src/ |
cn-cbor.c | 72 unsigned char *ebuf; member in struct:parse_buf 76 #define TAKE(pos, ebuf, n, stmt) \ 77 if (n > (size_t)(ebuf - pos)) \ 84 unsigned char *ebuf = pb->ebuf; local 103 TAKE(pos, ebuf, 1, ib = ntoh8p(pos) ); 138 case AI_1: TAKE(pos, ebuf, 1, val = ntoh8p(pos)) ; break; 139 case AI_2: TAKE(pos, ebuf, 2, val = ntoh16p(pos)) ; break; 140 case AI_4: TAKE(pos, ebuf, 4, val = ntoh32p(pos)) ; break; 141 case AI_8: TAKE(pos, ebuf, 8, val = ntoh64p(pos)) ; break [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
reggnu.c | 84 re_compile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf)
91 if (IS_NOT_NULL(ebuf))
92 (void )onig_error_code_to_str((UChar* )ebuf, r, &einfo);
100 re_recompile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf)
114 if (IS_NOT_NULL(ebuf))
115 (void )onig_error_code_to_str((UChar* )ebuf, r, &einfo);
|
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/ |
strsuftoll.c | 135 long long min, long long max, char *ebuf, size_t ebuflen, size_t depth) 142 _DIAGASSERT(ebuf != NULL); 145 snprintf(ebuf, ebuflen, "%s: Recursion limit exceeded", desc); 211 num *= __strsuftollx(desc, expr + 1, min, max, ebuf, ebuflen, 213 if (*ebuf != '\0') 218 snprintf(ebuf, ebuflen, "%s: %s", desc, strerror(errno)); 224 snprintf(ebuf, ebuflen, "%s `%s': illegal number", desc, val); 229 snprintf(ebuf, ebuflen, "%s %lld is less than %lld.", 235 snprintf(ebuf, ebuflen, "%s %lld is greater than %lld.", 239 *ebuf = '\0' [all...] |
/external/libpcap/ |
pcap-septel.h | 12 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours);
|
pcap-null.c | 39 pcap_create_interface(const char *device _U_, char *ebuf) 41 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
|
pcap-dlpi.c | 845 * Returns NULL on error, and fills "ebuf" with an error message. 848 split_dname(char *device, int *unitp, char *ebuf) 859 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s missing unit number", 871 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s bad unit number", device); 875 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number too large", 880 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number is negative", 889 dl_doattach(int fd, int ppa, char *ebuf) 897 if (send_request(fd, (char *)&req, sizeof(req), "attach", ebuf) < 0) 900 err = dlokack(fd, "attach", (char *)buf, ebuf); 908 dl_dohpuxbind(int fd, char *ebuf) [all...] |
pcap-bt-monitor-linux.h | 32 pcap_t *bt_monitor_create(const char *device, char *ebuf, int *is_ours);
|
pcap-netfilter-linux.h | 35 pcap_t *netfilter_create(const char *device, char *ebuf, int *is_ours);
|
pcap-bt-linux.h | 38 pcap_t *bt_create(const char *device, char *ebuf, int *is_ours);
|
pcap-dos.c | 111 static int first_init (const char *name, char *ebuf, int promisc); 152 pcap_t *pcap_create_interface (const char *device _U_, char *ebuf) 156 p = pcap_create_common(ebuf, sizeof (struct pcap_dos)); 476 char *pcap_lookupdev (char *ebuf) 496 if (ebuf) 497 strcpy (ebuf, "No driver found"); 637 open_driver (const char *dev_name, char *ebuf, int promisc) 654 pcap_snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to detect device `%s'", dev_name); 676 pcap_snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to activate device `%s'", dev_name); 679 strcat (ebuf, ": ") [all...] |
pcap-tc.h | 49 TcCreate(const char *device, char *ebuf, int *is_ours);
|
pcap-usb-linux.h | 38 pcap_t *usb_create(const char *device, char *ebuf, int *is_ours);
|
/external/libpcap/tests/ |
reactivatetest.c | 40 char ebuf[PCAP_ERRBUF_SIZE]; local 44 pd = pcap_open_live("lo0", 65535, 0, 1000, ebuf); 46 pd = pcap_open_live("lo", 65535, 0, 1000, ebuf); 49 ebuf);
|
capturetest.c | 115 char ebuf[PCAP_ERRBUF_SIZE]; local 167 device = pcap_lookupdev(ebuf); 169 error("%s", ebuf); 171 *ebuf = '\0'; 172 pd = pcap_create(device, ebuf); 174 error("%s", ebuf); 204 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { 207 warning("%s", ebuf); 216 if (pcap_setnonblock(pd, nonblock, ebuf) == -1) 217 error("pcap_setnonblock failed: %s", ebuf); [all...] |
opentest.c | 104 char ebuf[PCAP_ERRBUF_SIZE]; local 166 device = pcap_lookupdev(ebuf); 168 error("pcap_lookupdev failed: %s", ebuf); 171 pd = pcap_create(device, ebuf); 173 error("%s: pcap_create failed: %s", device, ebuf); 217 *ebuf = '\0'; 218 pd = pcap_open_live(device, 65535, 0, 1000, ebuf); 220 error("%s", ebuf); 221 else if (*ebuf) 222 warning("%s", ebuf); [all...] |
can_set_rfmon_test.c | 45 char ebuf[PCAP_ERRBUF_SIZE]; local 58 pd = pcap_create(argv[1], ebuf); 60 error("%s", ebuf);
|
selpolltest.c | 119 char ebuf[PCAP_ERRBUF_SIZE]; local 173 device = pcap_lookupdev(ebuf); 175 error("%s", ebuf); 177 *ebuf = '\0'; 178 pd = pcap_open_live(device, 65535, 0, 1000, ebuf); 180 error("%s", ebuf); 181 else if (*ebuf) 182 warning("%s", ebuf); 183 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { 186 warning("%s", ebuf); [all...] |
valgrindtest.c | 279 char ebuf[PCAP_ERRBUF_SIZE]; local 336 device = pcap_lookupdev(ebuf); 339 ebuf); 366 pd = pcap_create(device, ebuf); 368 error("%s: pcap_create() failed: %s", device, ebuf); 403 *ebuf = '\0'; 404 pd = pcap_open_live(device, 65535, 1, 1000, ebuf); 406 error("%s", ebuf); 407 else if (*ebuf) 408 warning("%s", ebuf); [all...] |
/external/tcpdump/ |
machdep.c | 63 abort_on_misalignment(char *ebuf _U_, size_t ebufsiz _U_) 69 (void)snprintf(ebuf, ebufsiz, "setsysinfo: errno %d", errno);
|
tcpdump.c | 423 char ebuf[PCAP_ERRBUF_SIZE]; local 426 if (pcap_findalldevs(&devlist, ebuf) < 0) 427 error("%s", ebuf); 926 char ebuf[PCAP_ERRBUF_SIZE]; local 929 if (pcap_findalldevs(&devlist, ebuf) < 0) 930 error("%s", ebuf); 946 open_interface(const char *device, netdissect_options *ndo, char *ebuf) 955 pc = pcap_create(device, ebuf); 963 if (strstr(ebuf, "No such device") != NULL) 965 error("%s", ebuf); 1111 char ebuf[PCAP_ERRBUF_SIZE]; local [all...] |
/external/one-true-awk/ |
lex.c | 538 char ebuf[300]; variable 539 char *ep = ebuf; 560 if (ep >= ebuf + sizeof ebuf) 561 ep = ebuf; 572 if (--ep < ebuf) 573 ep = ebuf + sizeof(ebuf) - 1;
|
/external/opencv/cv/src/ |
cvstereogc.cpp | 669 GCEdge* ebuf = (GCEdge*)state->edgeBuf->data.ptr; local 692 ebuf[k].dst = 0; 693 ebuf[k].next = 0; 694 ebuf[k].weight = 0; 743 delta, delta, 0, ebuf, nedges ); 746 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges ); 759 E += icvAddTerm( var, var1, 0, E0a, Ea0, Eaa, ebuf, nedges ); 781 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges ); 792 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges ); 805 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges ) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
DLexer.h | 60 sprintf((char *)ebuf,"Invalid automaton mode = %d ",m);
61 errstd(ebuf);
|