/external/icu/icu4c/source/i18n/ |
H A D | decfmtst.cpp | 90 static void initUnicodeSet(const UChar32 *raw, int32_t len, UnicodeSet *s) { argument 91 for (int32_t i = 0; i < len; ++i) {
|
H A D | funcrepl.cpp | 85 int32_t len = replacer->toReplacer()->replace(text, start, limit, cursor); local 86 limit = start + len;
|
H A D | inputext.cpp | 49 void InputText::setText(const char *in, int32_t len) argument 54 fRawLength = len == -1? (int32_t)uprv_strlen(in) : len; 57 void InputText::setDeclaredEncoding(const char* encoding, int32_t len) argument 60 if (len == -1) { 61 len = (int32_t)uprv_strlen(encoding); 64 len += 1; // to make place for the \0 at the end. 66 fDeclaredEncoding = NEW_ARRAY(char, len); 67 uprv_strncpy(fDeclaredEncoding, encoding, len);
|
H A D | 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
|
H A D | utf8collationiterator.h | 34 const uint8_t *s, int32_t p, int32_t len) 36 u8(s), pos(p), length(len) {} 80 const uint8_t *s, int32_t p, int32_t len) 81 : UTF8CollationIterator(data, numeric, s, p, len), 33 UTF8CollationIterator(const CollationData *d, UBool numeric, const uint8_t *s, int32_t p, int32_t len) argument 79 FCDUTF8CollationIterator(const CollationData *data, UBool numeric, const uint8_t *s, int32_t p, int32_t len) argument
|
/external/icu/icu4c/source/io/ |
H A D | uprintf.h | 73 int32_t len; /* Maximum number of code units that can be written to output */ member in struct:u_localized_print_string
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cg7coll.c | 203 int32_t len=(int32_t)strlen(rules); local 210 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); 234 int32_t len=(int32_t)strlen(rules); local 241 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 263 int32_t len=(int32_t)strlen(rules); local 270 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 293 int32_t len=(int32_t)strlen(rules); local 300 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
|
/external/icu/icu4c/source/test/compat/ |
H A D | tzdate.c | 79 int32_t len = 0; local 84 len = udat_format(fmt, timeToCheck, 0, len, 0, &status); 89 s = (UChar*) malloc(sizeof(UChar) * (len+1)); 94 udat_format(fmt, timeToCheck, s, len + 1, 0, &status); 100 for(i = 0; i < len+1; i++) {
|
/external/icu/icu4c/source/test/perf/leperf/ |
H A D | leperf.cpp | 58 double len=10.0; local 66 len = (1.0)*(argv[i][0]-'0'); 69 u_printf("leperf: Testing %s for %.fs...\n", U_ICU_VERSION, len); 94 timeTaken = utimer_loopUntilDone(len, &loopCount, iterate, &p); 108 timeTaken = utimer_loopUntilDone(len, &loopCount, iterate, &p);
|
/external/icu/icu4c/source/tools/gencfu/ |
H A D | gencfu.cpp | 122 static const char *readFile(const char *fileName, int32_t *len); 302 static const char *readFile(const char *fileName, int32_t *len) { argument 327 *len = static_cast<int32_t>(fileSize);
|
/external/icu/icu4c/source/tools/genrb/ |
H A D | ustr.c | 26 static void ustr_resize(struct UString *s, int32_t len, UErrorCode *status); 102 int32_t len, 108 if(s->fCapacity < (len + 1)) { 109 ustr_resize(s, ALLOCATION(len), status); 114 s->fLength = len; 115 s->fChars[len] = 0x0000; 181 const UChar* src,int len, 187 if(dst->fCapacity < (dst->fLength + len)) { 188 ustr_resize(dst, ALLOCATION(dst->fLength + len), status); 194 sizeof(UChar) * len); 101 ustr_setlen(struct UString *s, int32_t len, UErrorCode *status) argument 180 ustr_uscat(struct UString *dst, const UChar* src,int len, UErrorCode *status) argument 201 ustr_resize(struct UString *s, int32_t len, UErrorCode *status) argument [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
H A D | dbgutil.cpp | 119 int32_t len = s.length(); local 120 u_UCharsToChars(u, ch, len); 121 ch[len] = 0; /* include terminating \0 */ 131 int32_t len = s.length(); local 132 u_UCharsToChars(u, ch, len); 133 ch[len] = 0; /* include terminating \0 */
|
/external/iproute2/tc/ |
H A D | m_nat.c | 175 int len; local 188 len = ffs(sel->mask); 189 len = len ? 33 - len : 0; 194 len,
|
H A D | tc_class.c | 156 int len = n->nlmsg_len; local 165 len -= NLMSG_LENGTH(sizeof(*t)); 166 if (len < 0) { 167 fprintf(stderr, "Wrong len %d\n", len); 177 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len);
|
/external/ipsec-tools/src/libipsec/ |
H A D | policy_parse.h | 88 int len; member in struct:YYSTYPE::_val
|
H A D | test-policy.c | 157 int len; local 174 len = ipsec_get_policylen(policy); 176 printf("\tsetlen:%d\n", len); 179 if (setsockopt(so, proto, optname, policy, len) < 0) { 187 if (getsockopt(so, proto, optname, getbuf, &len) < 0) { 197 printf("\tgetlen:%d\n", len);
|
/external/ipsec-tools/src/racoon/ |
H A D | backupsa.c | 100 int len, l, i; local 104 len = sizeof(buf); 108 l = strftime(p, len, format, tm); 110 len -= l; 111 if (len < 0) 114 l = snprintf(p, len, "%%"); 115 if (l < 0 || l >= len) 118 len -= l; 119 if (len < 0) 122 i = getnameinfo(sa_args->src, sysdep_sa_len(sa_args->src), p, len, NUL 366 int i, len; local [all...] |
H A D | evt.h | 38 size_t len; member in struct:evtdump
|
H A D | isakmp_frag.c | 96 size_t len; local 114 len = buf->l; 116 while (len > 0) { 119 if (len > max_datalen) 122 datalen = len; 140 fraghdr->len = htons(fraglen - sizeof(*hdr)); 143 if (len == datalen) 158 len -= datalen; 185 size_t len; local 199 * frag->len i 271 size_t len = 0; local 337 size_t len; local [all...] |
H A D | isakmp_unity.c | 127 int len; local 135 if ((len = read(fd, buf, MAXMOTD)) == -1) { 143 buf[len] = '\0'; 270 size_t len; local 276 len = sizeof(struct unity_network) * count; 277 if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) { 284 new->lorv = htons(len); 365 int len; local 368 len = 1; 374 len [all...] |
H A D | kmpstat.c | 124 int len; local 126 if ((len = send(so, combuf->v, combuf->l, 0)) == -1) { 141 int len; local 149 if ((len = recv(so, &h, sizeof(h), MSG_PEEK)) == -1) 153 if (len < sizeof(h)) 167 while (l < len) { 168 if ((len = recv(so, p, h.ac_len, 0)) < 0) { 172 l += len; 173 p += len; 199 plogdump(pri, data, len) [all...] |
H A D | security.c | 67 int len = 0; local 88 len = sa->l - sizeof(*sab); 90 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, len); 103 if (pa->len == 0) { 105 "invalid proposal with length %d\n", pa->len); 115 len = ntohs(prop->h.len) - 117 tbuf = isakmp_parsewoh(ISAKMP_NPTYPE_T, (struct isakmp_gen *)bp, len); 130 len = ntohs(trns->h.len) [all...] |
/external/iptables/extensions/ |
H A D | libip6t_ah.c | 68 print_len(const char *name, uint32_t len, int invert) argument 72 if (len != 0 || invert) 73 printf("%s:%s%u", name, inv, len);
|
/external/javasqlite/src/main/java/SQLite/ |
H A D | Blob.java | 128 * @param len length to be read 132 public int read(byte b[], int off, int len) throws IOException { argument 133 if (off + len > b.length) { 134 len = b.length - off; 136 if (len < 0) { 139 if (len == 0) { 142 int n = blob.read(b, off, pos, len); 222 * @param len length of data to be written 225 public void write(byte[] b, int off, int len) throws IOException { argument 227 if (off + len > 295 write(byte[] b, int off, int pos, int len) argument 306 read(byte[] b, int off, int pos, int len) argument [all...] |
/external/jemalloc/test/unit/ |
H A D | mallctl.c | 193 size_t len, miblen; local 195 len = sizeof(nbins); 196 assert_d_eq(mallctl("arenas.nbins", &nbins, &len, NULL, 0), 0, 206 len = sizeof(bin_size); 207 assert_d_eq(mallctlbymib(mib, miblen, &bin_size, &len, NULL, 0),
|