HomeSort by relevance Sort by last modified time
    Searched refs:len (Results 101 - 125 of 16257) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/tensorflow/tensorflow/stream_executor/lib/
process_state.cc 39 size_t len = 128; local
40 std::unique_ptr<char[]> a(new char[len]);
42 char* p = getcwd(a.get(), len);
47 len += len;
48 a.reset(new char[len]);
  /external/u-boot/scripts/dtc/libfdt/
fdt_addresses.c 62 int len; local
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
68 if (len != sizeof(*ac))
82 int len; local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
88 if (len != sizeof(*sc))
  /external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/
pcm16b.c 16 size_t len,
19 for (i = 0; i < len; ++i) {
24 return 2 * len;
28 size_t len,
31 for (i = 0; i < len / 2; ++i)
33 return len / 2;
  /external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/deflate64/
HuffmanDecoderTest.java 33 11, 0, -12, -1, // len & ~len
39 int len = decoder.decode(result); local
41 assertEquals(11, len);
42 assertEquals("Hello World", new String(result, 0, len));
49 11, 0, -12, -2, // len & ~len
56 int len = decoder.decode(result); local
57 fail("Should have failed but returned " + len + " entries: " + Arrays.toString(Arrays.copyOf(result, len)));
84 int len = decoder.decode(result); local
111 int len; local
145 int len = decoder.decode(result); local
175 int len; local
210 int len; local
    [all...]
  /external/google-breakpad/src/client/linux/minidump_writer/
line_reader_unittest.cc 63 unsigned len; local
64 ASSERT_FALSE(reader.GetNextLine(&line, &len));
73 unsigned int len; local
74 ASSERT_TRUE(reader.GetNextLine(&line, &len));
75 ASSERT_EQ((unsigned int)1, len);
78 reader.PopLine(len);
80 ASSERT_FALSE(reader.GetNextLine(&line, &len));
89 unsigned len; local
90 ASSERT_TRUE(reader.GetNextLine(&line, &len));
91 ASSERT_EQ((unsigned)1, len);
105 unsigned len; local
127 unsigned len; local
151 unsigned len; local
153 ASSERT_EQ(sizeof(l), len); local
167 unsigned len; local
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
tempnam.c 45 int sverrno, len; local
55 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f,
57 if (len < 0 || len >= PATH_MAX) {
67 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f,
69 if (len < 0 || len >= PATH_MAX) {
78 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx);
79 if (len < 0 || len >= PATH_MAX)
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Locale/
aliasname.c 57 size_t len; local
70 p = fgetln(fp, &len);
74 _DIAGASSERT(len != 0);
77 if (p[len - 1] == '\n')
78 len--;
81 if (len == 0 || p[0] == '#')
84 if (aliaslen > len)
91 len -= aliaslen;
93 if (len == 0 || !__is_ws(*p))
105 len--;
    [all...]
  /external/elfutils/libasm/
asm_addstrz.c 41 /* Add zero terminated string STR of size LEN to (sub)section ASMSCN. */
43 asm_addstrz (AsmScn_t *asmscn, const char *str, size_t len)
50 if (len == 0)
62 for (cnt = 0; cnt < len; ++cnt)
71 if (len == 0)
72 len = strlen (str) + 1;
103 while (--len > 0 && (len > 1 || *str != '\0'));
111 if (__libasm_ensure_section_space (asmscn, len) != 0)
115 memcpy (&asmscn->content->data[asmscn->content->len], str, len)
    [all...]
  /external/icu/icu4c/source/common/
stringpiece.cpp 31 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) {
37 if (len < 0) {
38 len = 0;
39 } else if (len > x.length_ - pos) {
40 len = x.length_ - pos;
43 length_ = len;
56 int32_t len = x.size(); local
57 if (len != y.size()) {
60 if (len == 0) {
66 --len;
    [all...]
  /external/u-boot/drivers/usb/gadget/
config.c 44 unsigned len = (*src)->bLength; local
46 if (len > buflen)
48 memcpy(dest, *src, len);
49 buflen -= len;
50 dest += len;
84 int len; local
93 len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (u8 *)buf,
95 if (len < 0)
96 return len;
97 len += USB_DT_CONFIG_SIZE
    [all...]
  /bionic/libc/bionic/
posix_madvise.cpp 34 int posix_madvise(void* addr, size_t len, int advice) {
41 return (madvise(addr, len, advice) == 0 ? 0 : errno);
recv.cpp 31 ssize_t recv(int socket, void *buf, size_t len, int flags) {
32 return recvfrom(socket, buf, len, flags, nullptr, nullptr);
send.cpp 31 ssize_t send(int socket, const void* buf, size_t len, int flags) {
32 return sendto(socket, buf, len, flags, nullptr, 0);
  /bionic/libc/kernel/uapi/linux/
hidraw.h 35 #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len)
36 #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len)
37 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x06, len)
38 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x07, len)
  /device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/
dirname.c 59 size_t len; local
84 len = (lastp - path) + 1 /* last char */;
85 if (len > (PATH_MAX - 2))
86 len = PATH_MAX - 2;
88 memcpy(result, path, len);
91 result[len++] = '/';
94 result[len++] = '.';
97 result[len] = '\0';
  /external/boringssl/src/crypto/x509v3/
internal.h 25 // x509v3_bytes_to_hex encodes |len| bytes from |buffer| to hex and returns a
31 char *x509v3_bytes_to_hex(const unsigned char *buffer, long len);
34 // array containing the result, or NULL on error. On success, it sets |*len| to
40 unsigned char *x509v3_hex_to_bytes(const char *str, long *len);
  /external/compiler-rt/test/asan/TestCases/Windows/
dll_intercept_strlen.cc 18 int len = strlen(str); local
27 return len > 42;
intercept_strlen.cc 17 int len = strlen(str); local
26 return len < 6;
  /external/compiler-rt/test/asan/TestCases/
suppressions-exec-relative-location.cc 36 size_t len = strlen(a); // BOOM local
37 fprintf(stderr, "strlen ignored, len = %zu\n", len);
suppressions-function.cc 19 size_t len = strlen(a); // BOOM local
20 fprintf(stderr, "strlen ignored, len = %zu\n", len);
suppressions-interceptor.cc 17 size_t len = strlen(a); // BOOM local
18 fprintf(stderr, "strlen ignored, len = %zu\n", len);
  /external/elfutils/libdwfl/
dwfl_module_report_build_id.c 38 const unsigned char *bits, size_t len,
49 if ((size_t) mod->build_id_len == len
51 && !memcmp (bits, mod->build_id_bits, len))
58 if (vaddr != 0 && (vaddr < mod->low_addr || vaddr + len > mod->high_addr))
65 if (len > 0)
67 copy = malloc (len);
73 memcpy (copy, bits, len);
79 mod->build_id_len = len;
  /external/fec/
dotprod_port.c 10 int len; /* Number of coefficients */ member in struct:dotprod
16 void *initdp_port(signed short coeffs[],int len){
20 if(len == 0)
24 dp->len = len;
27 dp->coeffs = (signed short *)calloc(len,sizeof(signed short));
28 for(j=0;j<len;j++)
52 for(i=0;i<dp->len;i++){
  /external/kernel-headers/original/uapi/linux/
hidraw.h 37 #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len)
38 #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len)
40 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len)
41 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
  /external/libvpx/libvpx/
y4menc.h 24 int y4m_write_file_header(char *buf, size_t len, int width, int height,
27 int y4m_write_frame_header(char *buf, size_t len);

Completed in 1232 milliseconds

1 2 3 45 6 7 8 91011>>