/external/expat/examples/ |
outline.c | 85 int len; local 87 len = (int)fread(Buff, 1, BUFFSIZE, stdin); 94 if (XML_Parse(p, Buff, len, done) == XML_STATUS_ERROR) {
|
/external/fio/ |
log.c | 12 size_t len; local 14 len = vsnprintf(buffer, sizeof(buffer), str, args); 15 len = min(len, sizeof(buffer) - 1); 18 len = fio_server_text_output(FIO_LOG_INFO, buffer, len); 22 len = fwrite(buffer, len, 1, f_out); 24 return len; 27 int log_local_buf(const char *buf, size_t len) 41 size_t len; local 69 size_t len; local [all...] |
/external/harfbuzz_ng/src/ |
test-size-params.cc | 56 unsigned int len; local 64 len = g_mapped_file_get_length (mf); 71 len = ftell (f); 73 font_data = (const char *) malloc (len); 74 if (!font_data) len = 0; 75 len = fread ((char *) font_data, 1, len, f); 82 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
|
test-would-substitute.cc | 60 unsigned int len; local 68 len = g_mapped_file_get_length (mf); 75 len = ftell (f); 77 font_data = (const char *) malloc (len); 78 if (!font_data) len = 0; 79 len = fread ((char *) font_data, 1, len, f); 86 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 99 unsigned int len = argc - 3; local 105 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, false) [all...] |
/external/icu/icu4c/source/common/ |
charstr.h | 41 CharString() : len(0) { buffer[0]=0; } 42 CharString(const StringPiece &s, UErrorCode &errorCode) : len(0) { 46 CharString(const CharString &s, UErrorCode &errorCode) : len(0) { 50 CharString(const char *s, int32_t sLength, UErrorCode &errorCode) : len(0) { 64 UBool isEmpty() const { return len==0; } 65 int32_t length() const { return len; } 67 StringPiece toStringPiece() const { return StringPiece(buffer.getAlias(), len); } 72 CharString &clear() { len=0; buffer[0]=0; return *this; } 119 int32_t len; member in class:CharString
|
ustr_cnv.c | 116 int32_t len = 0; local 122 len++; 125 return len; 188 int32_t len = 0; local 194 len++; 197 return len; 239 int32_t len = ucnv_fromUChars(cnv, local 246 s1[len] = 0;
|
/external/icu/icu4c/source/i18n/ |
remtrans.cpp | 63 int32_t len = index.limit - index.start; local 64 index.contextLimit -= len; 65 index.limit -= len;
|
uni2name.cpp | 73 // if either there is no name data (max len == 0) or there is no 94 int32_t len; local 100 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) { 102 str.append(UnicodeString(buf, len, US_INV)).append(CLOSE_DELIM); 104 len += OPEN_DELIM_LEN + 1; // adjust for delimiters 105 cursor += len; // advance cursor and adjust for new text 106 limit += len-clen; // change in length
|
/external/icu/icu4c/source/io/ |
locbund.cpp | 71 int32_t len; local 82 len = (int32_t)strlen(loc); 83 result->fLocale = (char*) uprv_malloc(len + 1);
|
/external/icu/icu4c/source/samples/datefmt/ |
util.cpp | 52 int32_t len = str.length(); local 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/external/icu/icu4c/source/samples/msgfmt/ |
util.cpp | 52 int32_t len = str.length(); local 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/external/icu/icu4c/source/samples/translit/ |
util.cpp | 52 int32_t len = str.length(); local 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/external/icu/icu4c/source/test/cintltst/ |
cposxtst.c | 75 int32_t len = -1; local 83 ustr = u_catgets(catd, set_num, msg_num, FAIL, &len, &ec); 87 log_verbose("u_catgets(%d, %d) => \"%s\", len=%d, %s\n", 88 set_num, msg_num, str, len, err); 95 if (len != (int32_t) uprv_strlen(DATA[i+2])) { 96 log_err("FAIL: u_catgets => len=%d, exp. %d\n", 97 len, uprv_strlen(DATA[i+2]));
|
/external/icu/icu4c/source/test/intltest/ |
idnaconf.h | 30 int len ; member in class:IdnaConfTest
|
/external/icu/icu4c/source/test/iotest/ |
trnstst.c | 123 int len; local 193 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile); 194 log_verbose("Read %d UChars\n", len); 195 if(len != u_strlen(compare)) 197 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len); 199 ubuf[len]=0; 203 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len);
|
/external/iproute2/ip/ |
ipprefix.c | 40 int len = n->nlmsg_len; local 50 len -= NLMSG_LENGTH(sizeof(*prefix)); 51 if (len < 0) { 52 fprintf(stderr, "BUG: wrong nlmsg len %d\n", len); 70 parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len);
|
link_veth.c | 31 int err, len; local 51 len = strlen(name) + 1; 52 if (len > IFNAMSIZ) 54 addattr_l(hdr, 1024, IFLA_IFNAME, name, len);
|
/external/ipsec-tools/src/racoon/ |
str2val.c | 56 size_t len = (mlen * 2) + mlen / 8 + 10; local 59 if ((new = racoon_malloc(len)) == 0) return(0); 62 snprintf(&new[j], len - j, "%02x", (u_char)buf[i]); 78 str2val(str, base, len) 81 size_t *len; 123 *len = i;
|
/external/iptables/include/linux/netfilter/ |
xt_NFLOG.h | 12 __u32 len; member in struct:xt_nflog_info
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_NFLOG.h | 12 __u32 len; member in struct:xt_nflog_info
|
/external/kernel-headers/original/uapi/linux/netfilter_bridge/ |
ebt_nflog.h | 15 __u32 len; member in struct:ebt_nflog_info
|
/external/kernel-headers/original/uapi/linux/ |
udp.h | 25 __be16 len; member in struct:udphdr
|
/external/libcxx/test/algorithms/alg.sorting/alg.sort/sort/ |
sort.pass.cpp | 28 long len = l - f; local 29 value_type* save(new value_type[len]); 33 std::sort(save, save+len); 34 assert(std::is_sorted(save, save+len));
|
/external/libcxx/test/algorithms/alg.sorting/alg.sort/stable.sort/ |
stable_sort.pass.cpp | 28 long len = l - f; local 29 value_type* save(new value_type[len]); 33 std::stable_sort(save, save+len); 34 assert(std::is_sorted(save, save+len));
|
/external/libcxxabi/test/ |
test_demangle.cpp | 29616 std::size_t len = 0; local 29646 std::size_t len = 0; local [all...] |