/external/strace/tests-mx32/ |
tail_alloc.c | 36 const size_t len = (size + page_size - 1) & -page_size; local 37 const size_t alloc_size = len + 6 * page_size; 45 void *tail_guard = start_work + len; 53 memset(start_work, 0xff, len);
|
tprintf.c | 82 int len = vsnprintf(buf, sizeof(buf), fmt, p); local 83 if (len < 0) 85 assert((unsigned) len < sizeof(buf)); 87 write_loop(3, buf, len);
|
unix-pair-sendto-recvfrom.c | 39 transpose(char *str, int len) 43 for (i = 0; i < len / 2; ++i) { 45 str[i] = str[len - 1 - i]; 46 str[len - 1 - i] = c; 54 const int len = strlen(av[1]); local 55 assert(len); 70 transpose(av[1], len); 71 assert(sendto(0, av[1], len, MSG_DONTROUTE, NULL, 0) == len); 72 assert(recvfrom(0, av[1], len, MSG_WAITALL, NULL, NULL) == len) [all...] |
/external/syslinux/com32/gplinclude/disk/ |
common.h | 26 uint16_t len; member in struct:ebios_dapa
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/runtime/ |
rtstr.c | 83 UINTN len; local 85 for (len=0; *s1; s1+=1, len+=1) ; 86 return len; 99 UINTN len; local 101 for (len=0; *s1; s1+=1, len+=1) ; 102 return (len + 1) * sizeof(CHAR16);
|
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/ |
bios_smbios.c | 48 size_t len; local 62 len = u.entry.len; 63 copy_from_real ( &u.bytes, BIOS_SEG, offset, len ); 64 for ( i = 0 , sum = 0 ; i < len ; i++ ) { 77 smbios->len = u.entry.smbios_len;
|
/external/syslinux/gpxe/src/include/gpxe/ |
editstring.h | 17 size_t len; member in struct:edit_string
|
udp.h | 38 uint16_t len; member in struct:udp_header
|
/external/syslinux/memdisk/ |
e820test.c | 48 uint64_t start, len; local 58 if (sscanf(p, " %llx %llx %d", &start, &len, &type) == 3) { 60 printf("%016llx %016llx %d <-\n", start, len, type); 62 insertrange(start, len, type);
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
bcast_ops.cc | 57 const int64 len = bcast.output_shape().size(); variable 58 Tensor output(DT_INT32, TensorShape({len})); 59 for (int64 i = 0; i < len; ++i) { 116 const int64 len = v.size(); local 117 Tensor constant(DT_INT32, TensorShape({len})); 118 for (int64 i = 0; i < len; ++i) {
|
/external/tensorflow/tensorflow/contrib/lite/ |
string_util.h | 53 int len; member in struct:tflite::__anon39344 67 void AddString(const char* str, size_t len);
|
/external/tensorflow/tensorflow/contrib/mpi/ |
mpi_utils.cc | 56 int proc_id = 0, number_of_procs = 1, len = -1; local 62 MPI_CHECK(MPI_Get_processor_name(my_host_name, &len));
|
/external/tensorflow/tensorflow/core/kernels/ |
bcast_ops.cc | 58 const int64 len = v.size(); local 60 OP_REQUIRES_OK(ctx, ctx->allocate_output(idx, TensorShape({len}), &o)); 61 for (int64 i = 0; i < len; ++i) { 108 const int64 len = v.size(); local 110 OP_REQUIRES_OK(ctx, ctx->allocate_output(idx, TensorShape({len}), &o)); 111 for (int64 i = 0; i < len; ++i) {
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
process_state.cc | 40 size_t len = 128; local 41 std::unique_ptr<char[]> a(new char[len]); 43 char* p = getcwd(a.get(), len); 48 len += len; 49 a.reset(new char[len]);
|
/external/toybox/toys/other/ |
base64.c | 43 int out = 0, bits = 0, x = 0, i, len; local 50 if (!(len = xread(fd, buf, sizeof(toybuf)-128))) { 60 for (i=0; i<len; i++) {
|
factor.c | 82 size_t len = 0; local 84 if (-1 == getline(&s, &len, stdin)) break;
|
insmod.c | 24 #define init_module(mod, len, opts) syscall(SYS_init_module, mod, len, opts) 43 off_t len = 0; local 45 char *buf = readfileat(AT_FDCWD, path, NULL, &len); 47 rc = init_module(buf, len, toybuf);
|
lsmod.c | 30 int len = strlen(users)-1; local 31 if (users[len] == ',' || users[len] == '-') users[len] = 0;
|
mkswap.c | 26 off_t len = fdlength(fd); local 27 unsigned int pages = (len/pagesize)-1, *swap = (unsigned int *)toybuf;
|
shred.c | 51 off_t pos = 0, len = TT.size; local 65 if (!len) len = fdlength(fd); 66 if (len<1) { 76 if (pos >= len) { 97 if (len-pos < throw) throw = len-pos;
|
/external/toybox/toys/pending/ |
fold.c | 34 int bufsz, len = 0, maxlen; local 55 // reset len, FLAG_b or not; just print multiple lines at once 56 } else len = 0; 59 // len cannot be negative; not allowed to wrap after backspace 60 if (toys.optflags & FLAG_b) len++; 61 else if (len > 0) len--; 65 if (toys.optflags & FLAG_b) len++; 66 else len = 0; 71 if (!(toys.optflags & FLAG_b)) len = (len & ~7) + 7 [all...] |
groupdel.c | 30 int i, len = 0, found = 0; local 36 else len += strlen(grp->gr_mem[i]) + 1; 41 entry = s = xmalloc(len);
|
/external/toybox/toys/posix/ |
cat.c | 56 int i, len, size=(toys.optflags & FLAG_u) ? 1 : sizeof(toybuf); local 59 len = read(fd, toybuf, size); 60 if (len < 0) { 64 if (len < 1) break; 66 for (i=0; i<len; i++) { 89 } else xwrite(1, toybuf, len);
|
head.c | 37 int i, len, lines=TT.lines, bytes=TT.bytes; local 47 len = read(fd, toybuf, sizeof(toybuf)); 48 if (len<0) perror_msg_raw(name); 49 if (len<1) break; 52 i = bytes >= len ? len : bytes; 54 } else for(i=0; i<len;) if (toybuf[i++] == '\n' && !--lines) break;
|
tee.c | 57 int len; local 60 len = xread(0, toybuf, sizeof(toybuf)); 61 if (len<1) break; 66 if(len != writeall(fdl ? fdl->fd : 1, toybuf, len)) toys.exitval=1;
|