HomeSort by relevance Sort by last modified time
    Searched defs:cp (Results 176 - 200 of 911) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/e2fsprogs/lib/ext2fs/
punch.c 29 char *cp = buf; local
33 if (*cp++)
  /external/e2fsprogs/misc/
logsave.c 77 const char *cp; local
86 cp = buffer;
91 (cp[d] == '\001' || cp[d] == '\002')) {
96 write_all(1, cp, d);
100 cp += d;
120 char buffer[4096], *cp, *sep; local
128 cp = buffer;
129 while (*cp) {
131 cp = strchr(cp, '\002')
    [all...]
util.c 57 char *cp; local
59 cp = strrchr(argv_zero, '/');
60 if (!cp )
63 return cp+1;
  /external/e2fsprogs/tests/progs/
test_icount.c 250 char *cp; local
278 cp = strchr(buf, '\n');
279 if (cp)
280 *cp = 0;
281 cp = strchr(buf, '\r');
282 if (cp)
283 *cp = 0;
  /external/e2fsprogs/util/
subst.c 79 char *cp, *start; local
94 for (cp = start; *cp; cp++) {
95 if (!(*cp >= 'a' && *cp <= 'z') &&
96 !(*cp >= 'A' && *cp <= 'Z') &&
97 !(*cp >= '0' && *cp <= '9') &
209 char *cp, *ptr; local
    [all...]
  /external/guava/guava/src/com/google/common/escape/
UnicodeEscaper.java 71 * {@code 0 <= cp <= Character#MAX_CODE_POINT}.
86 * @param cp the Unicode code point to escape if necessary
90 protected abstract char[] escape(int cp);
119 int cp = codePointAt(csq, index, end); local
120 if (cp < 0 || escape(cp) != null) {
123 index += Character.isSupplementaryCodePoint(cp) ? 2 : 1;
185 int cp = codePointAt(s, index, end); local
186 if (cp < 0) {
193 char[] escaped = escape(cp);
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/lang/
CharSequences.java 264 int cp; local
265 for (int i = 0; i < s.length(); i += Character.charCount(cp)) {
266 cp = Character.codePointAt(s, i);
267 if (cp == codePoint) {
290 char cp = s.charAt(i); local
291 if (cp >= 0xDC00 && cp <= 0xDFFF && i != 0 ) { // hand-code for speed
295 result[j-1] = Character.toCodePoint(last, cp);
299 result[j++] = cp;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
UTF16Util.java 142 int cp = nextCodePoint(buffer, i); local
144 if (ch <= 0xffff && cp <= 0xffff) { // Both BMP
147 } else if (ch > 0xffff && cp > 0xffff) { // Both supplementary
151 } else if (ch <= 0xffff && cp > 0xffff) { // putting BMP instead of supplementary, buffer shrinks
155 } else { //if (ch > 0xffff && cp <= 0xffff) { // putting supplementary instead of BMP, buffer grows
  /external/icu/icu4c/source/common/
simplepatternformatter.cpp 209 const UChar *cp = compiledPattern.getBuffer(); local
211 if (valuesLength < getPlaceholderCount(cp, cpLength)) {
223 if (getPlaceholderCount(cp, cpLength) > 0) {
225 int32_t n = cp[i++];
242 return format(cp, cpLength, values,
ucnvlat1.c 141 UChar32 cp; local
161 cp=cnv->fromUChar32;
164 sourceIndex= cp==0 ? 0 : -1;
176 if(cp!=0 && targetCapacity>0) {
266 cp=c;
267 if(!U_IS_SURROGATE(cp)) {
269 } else if(U_IS_SURROGATE_LEAD(cp)) {
276 cp=U16_GET_SUPPLEMENTARY(cp, trail);
285 cnv->fromUChar32=cp;
    [all...]
  /external/icu/icu4c/source/i18n/
identifier_info.cpp 129 UChar32 cp; local
130 for (int32_t i = 0; i < identifier.length(); i += U16_LENGTH(cp)) {
131 cp = identifier.char32At(i);
133 if (u_charType(cp) == U_DECIMAL_DIGIT_NUMBER) {
134 // Just store the zero character as a representative for comparison. Unicode guarantees it is cp - value
135 fNumerics->add(cp - (UChar32)u_getNumericValue(cp));
138 int32_t extensionsCount = uscript_getScriptExtensions(cp, extensions, UPRV_LENGTHOF(extensions), &status);
uspoof_wsconf.cpp 222 UChar32 cp; local
223 for (cp=startCodePoint; cp<=endCodePoint; cp++) {
224 int32_t setIndex = utrie2_get32(table, cp);
235 bsset->codePoint = cp;
246 utrie2_set32(table, cp, setIndex, &status);
254 UScriptCode cpScript = uscript_getScript(cp, &status);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
CharSequences.java 262 int cp; local
263 for (int i = 0; i < s.length(); i += Character.charCount(cp)) {
264 cp = Character.codePointAt(s, i);
265 if (cp == codePoint) {
288 char cp = s.charAt(i); local
289 if (cp >= 0xDC00 && cp <= 0xDFFF && i != 0 ) { // hand-code for speed
293 result[j-1] = Character.toCodePoint(last, cp);
297 result[j++] = cp;
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
UTF16Util.java 141 int cp = nextCodePoint(buffer, i); local
143 if (ch <= 0xffff && cp <= 0xffff) { // Both BMP
146 } else if (ch > 0xffff && cp > 0xffff) { // Both supplementary
150 } else if (ch <= 0xffff && cp > 0xffff) { // putting BMP instead of supplementary, buffer shrinks
154 } else { //if (ch > 0xffff && cp <= 0xffff) { // putting supplementary instead of BMP, buffer grows
  /external/ipsec-tools/src/racoon/
getcertsbyname.c 126 char *cp; local
164 cp = rr->rri_rdatas[i].rdi_data;
166 GETSHORT(type, cp); /* type */
168 GETSHORT(keytag, cp); /* key tag */
170 algorithm = *cp++; /* algorithm */
180 rr->rri_flags, rdlength, cp);
212 unsigned char *cp, *eom; local
264 cp = (unsigned char *)(hp + 1);
265 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf));
272 cp += len
    [all...]
  /external/iptables/extensions/
libip6t_mh.c 108 char *cp; local
111 if ((cp = strchr(buffer, ':')) == NULL)
114 *cp = '\0';
115 cp++;
118 types[1] = cp[0] ? name_to_type(cp) : 0xFF;
libip6t_rt.c 74 char *buffer, *cp, *next; local
80 for (cp=buffer, i=0; cp && i<IP6T_RT_HOPS; cp=next,i++)
82 next=strchr(cp, ',');
84 memcpy(&(addrp[i]), numeric_to_addr(cp), sizeof(struct in6_addr));
86 printf("addr str: %s\n", cp);
87 printf("addr ip6: %s\n", addr_to_numeric((numeric_to_addr(cp))));
91 if (cp) xtables_error(PARAMETER_PROBLEM, "too many addresses specified");
libxt_sctp.c 70 char *cp; local
74 if ((cp = strchr(buffer, ':')) == NULL) {
78 *cp = '\0';
79 cp++;
82 ports[1] = cp[0] ? xtables_parse_port(cp, "sctp") : 0xFFFF;
libxt_tcp.c 44 char *cp; local
47 if ((cp = strchr(buffer, ':')) == NULL)
50 *cp = '\0';
51 cp++;
54 ports[1] = cp[0] ? xtables_parse_port(cp, "tcp") : 0xFFFF;
  /external/javassist/src/main/javassist/bytecode/
InnerClassesAttribute.java 31 InnerClassesAttribute(ConstPool cp, int n, DataInputStream in)
34 super(cp, n, in);
37 private InnerClassesAttribute(ConstPool cp, byte[] info) {
38 super(cp, tag, info);
46 public InnerClassesAttribute(ConstPool cp) {
47 super(cp, tag, new byte[2]);
210 ConstPool cp = getConstPool(); local
222 innerClass = cp.copy(innerClass, newCp, classnames);
227 outerClass = cp.copy(outerClass, newCp, classnames);
232 innerName = cp.copy(innerName, newCp, classnames)
    [all...]
  /external/javassist/src/main/javassist/bytecode/annotation/
Annotation.java 66 * @param cp the constant pool table.
70 public Annotation(int type, ConstPool cp) {
71 pool = cp;
81 * @param cp the constant pool table.
85 public Annotation(String typeName, ConstPool cp) {
86 this(cp.addUtf8Info(Descriptor.of(typeName)), cp);
94 * @param cp the constant pool table.
98 public Annotation(ConstPool cp, CtClass clazz)
102 this(cp.addUtf8Info(Descriptor.of(clazz.getName())), cp)
    [all...]
  /external/javassist/src/main/javassist/expr/
Handler.java 79 ConstPool cp = getConstPool(); local
80 String name = cp.getClassInfo(type);
111 ConstPool cp = getConstPool(); local
  /external/libedit/src/
read.c 313 read_char(EditLine *el, Char *cp)
339 *cp = '\0';
347 *cp = '\0';
356 if ((bytes = ct_mbtowc(cp, cbuf, cbp)) == -1) {
360 *cp = '\0';
369 (bytes = ct_mbtowc(cp, cbuf, cbp)) != 1)
371 *cp = (unsigned char)cbuf[0];
400 FUN(el,getc)(EditLine *el, Char *cp)
420 *cp = ma->macro[0][ma->offset++];
439 num_read = (*el->el_read.read_char)(el, cp);
488 Char ch, *cp; local
    [all...]
search.c 214 const Char *cp; local
242 for (cp = (newdir == ED_SEARCH_PREV_HISTORY) ? STRbck : STRfwd;
243 *cp; *el->el_line.lastchar++ = *cp++)
246 for (cp = &el->el_search.patbuf[LEN];
247 cp < &el->el_search.patbuf[el->el_search.patlen];
248 *el->el_line.lastchar++ = *cp++)
297 for (cp = &el->el_search.patbuf[LEN];; cp++)
298 if (cp >= &el->el_search.patbuf
531 Char *cp = el->el_line.cursor; local
599 Char *cp; local
    [all...]
  /external/libpcap/bpf/net/
bpf_filter.c 142 register u_char *cp, *np; local
146 cp = mtod(m, u_char *) + k;
149 return EXTRACT_LONG(cp);
159 return (cp[0] << 24) | (np[0] << 16) | (np[1] << 8) | np[2];
162 return (cp[0] << 24) | (cp[1] << 16) | (np[0] << 8) | np[1];
165 return (cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | np[0];
178 register u_char *cp; local
    [all...]

Completed in 582 milliseconds

1 2 3 4 5 6 78 91011>>