/external/e2fsprogs/resize/ |
online.c | 28 const char *cp = s; local 32 major = strtol(cp, &endptr, 10); 33 if (cp == endptr || *endptr != '.') 35 cp = endptr + 1; 36 minor = strtol(cp, &endptr, 10); 37 if (cp == endptr || *endptr != '.') 39 cp = endptr + 1; 40 rev = strtol(cp, &endptr, 10); 41 if (cp == endptr)
|
/external/icu/icu4c/source/i18n/ |
brktrans.cpp | 107 UChar32 cp = sText.char32At(boundary-1); local 108 int type = u_charType(cp); 109 //System.out.println(Integer.toString(cp,16) + " (before): " + type); 112 cp = sText.char32At(boundary); 113 type = u_charType(cp); 114 //System.out.println(Integer.toString(cp,16) + " (after): " + type);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Trie2_16.java | 181 int cp = startingCP; local 192 if (cp >= limit) { 195 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { 200 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; 201 } else if (cp < 0xffff) { 202 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 204 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; 205 } else if (cp < highStart) [all...] |
Trie2_32.java | 178 int cp = startingCP; local 189 if (cp >= limit) { 192 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { 197 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; 198 } else if (cp < 0xffff) { 199 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 201 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; 202 } else if (cp < highStart) [all...] |
/external/iptables/extensions/ |
libip6t_hbh.c | 60 char *buffer, *cp, *next, *range; local 66 for (cp=buffer, i=0; cp && i<IP6T_OPTS_OPTSNR; cp=next,i++) 68 next=strchr(cp, ','); 70 range = strchr(cp, ':'); 77 opts[i] = (parse_opts_num(cp, "opt") & 0xFF) << 8; 87 printf("opts str: %s %s\n", cp, range); 91 if (cp) xtables_error(PARAMETER_PROBLEM, "too many addresses specified");
|
/external/javassist/src/test/test/javassist/proxy/ |
ProxySimpleTest.java | 17 ProxyFactory.ClassLoaderProvider cp = ProxyFactory.classLoaderProvider; local 30 ProxyFactory.classLoaderProvider = cp;
|
/external/libedit/src/ |
emacs.c | 93 Char *cp, *p, *kp; local 98 cp = c__next_word(el->el_line.cursor, el->el_line.lastchar, 101 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) 106 c_delafter(el, (int)(cp - el->el_line.cursor)); /* delete after dot */ 122 Char *kp, *cp; local 133 cp = el->el_line.cursor; 140 *cp++ = *kp; 144 el->el_line.cursor = cp; 158 Char *kp, *cp; local 160 cp = el->el_line.buffer 180 Char *kp, *cp; local 213 Char *kp, *cp; local 287 Char *cp, *ep; local 311 Char *cp, *ep; local 343 Char *cp, *ep; local 381 Char *cp; local 442 Char *cp, *oldc, *dp; local [all...] |
/external/libevent/ |
ht-internal.h | 90 const unsigned char *cp = (const unsigned char *)s; local 91 h = *cp << 7; 92 while (*cp) { 93 h = (1000003*h) ^ *cp++; 96 h ^= (unsigned)(cp-(const unsigned char*)s);
|
/external/libpcap/ |
pcap-bt-monitor-linux.c | 223 const char *cp; local 225 cp = strrchr(device, '/'); 226 if (cp == NULL) 227 cp = device; 229 if (strcmp(cp, INTERFACE_NAME) != 0) {
|
pcap-can-linux.c | 97 const char *cp; local 103 cp = strrchr(device, '/'); 104 if (cp == NULL) 105 cp = device; 107 if (strncmp(cp, "can", 3) == 0) { 109 cp += 3; /* skip past "can" */ 110 } else if (strncmp(cp, "vcan", 4) == 0) { 112 cp += 4; 119 devnum = strtol(cp, &cpend, 10); 120 if (cpend == cp || *cpend != '\0') [all...] |
pcap-nit.c | 107 register u_char *bp, *cp, *ep; local 154 cp = bp + sizeof(*nh); 182 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) { 187 (*callback)(user, &h, cp);
|
pcap-septel.c | 219 const char *cp; local 223 cp = strrchr(device, '/'); 224 if (cp == NULL) 225 cp = device; 226 if (strcmp(cp, "septel") != 0) {
|
pcap-snoop.c | 72 register u_char *cp; local 115 cp = (u_char *)(sh + 1) + p->offset; /* XXX */ 123 if (p->linktype == DLT_NULL && *((short *)(cp + 2)) == 0) { 124 u_int *uip = (u_int *)cp; 129 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) { 136 (*callback)(user, &h, cp);
|
/external/libselinux/src/ |
context.c | 134 char *cp = n->current_str; local 136 strcpy(cp, n->component[0]); 137 cp += strlen(cp); 140 *cp++ = ':'; 141 strcpy(cp, n->component[i]); 142 cp += strlen(cp);
|
/external/lzma/CPP/7zip/Crypto/ |
7zAes.cpp | 222 CMyComPtr<ICryptoProperties> cp;
local 223 RINOK(_aesFilter.QueryInterface(IID_ICryptoProperties, &cp));
224 RINOK(cp->SetKey(_key.Key, sizeof(_key.Key)));
225 RINOK(cp->SetInitVector(_iv, sizeof(_iv)));
|
/external/mesa3d/src/mesa/math/ |
m_eval.c | 74 _math_horner_bezier_curve(const GLfloat * cp, GLfloat * out, GLfloat t, 85 out[k] = s * cp[k] + bincoeff * t * cp[dim + k]; 87 for (i = 2, cp += 2 * dim, powert = t * t; i < order; 88 i++, powert *= t, cp += dim) { 93 out[k] = s * out[k] + bincoeff * powert * cp[k]; 99 out[k] = cp[k]; 121 GLfloat *cp = cn + uorder * vorder * dim; local 139 cp[j * dim + k] = s * ucp[k] + bincoeff * u * ucp[uinc + k]; 147 cp[j * dim + k] [all...] |
/external/pdfium/fpdfsdk/src/formfiller/ |
FFL_ListBox.cpp | 26 PWL_CREATEPARAM cp = CFFL_FormFiller::GetCreateParam(); local 31 cp.dwFlags |= PLBS_MULTIPLESEL; 34 cp.dwFlags |= PWS_VSCROLL; 36 if (cp.dwFlags & PWS_AUTOFONTSIZE) 37 cp.fFontSize = FFL_DEFAULTLISTBOXFONTSIZE; 41 cp.pFontMap = m_pFontMap; 43 return cp; 46 CPWL_Wnd* CFFL_ListBox::NewPDFWindow(const PWL_CREATEPARAM& cp, 50 pWnd->Create(cp);
|
/external/ppp/pppd/ |
srp-entry.c | 103 char *cp; local 145 if ((cp = strchr(pname, '\n')) != NULL) 146 *cp = '\0'; 165 for (cp = name; *cp != '\0'; cp++) 166 if (isspace(*cp)) 168 else if (*cp == '"') 170 else if (*cp == '\'') 172 else if (*cp == '\\' [all...] |
/external/selinux/libselinux/src/ |
context.c | 134 char *cp = n->current_str; local 136 cp = stpcpy(cp, n->component[0]); 139 *cp++ = ':'; 140 cp = stpcpy(cp, n->component[i]);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue148/ |
PrintableUnicodeTest.java | 45 int cp = (int) serialized.charAt(i); local 46 if (!isAcceptable(cp)) 49 cp)); 50 if (!isPrintable(cp)) 53 cp));
|
/external/tcpdump/ |
print-ip6.c | 81 register const u_char *cp; local 140 cp = (const u_char *)ip6; 143 while (cp < ndo->ndo_snapend && advance > 0) { 144 cp += advance; 147 if (cp == (const u_char *)(ip6 + 1) && 156 advance = hbhopt_print(ndo, cp); 157 nh = *cp; 160 advance = dstopt_print(ndo, cp); 161 nh = *cp; 164 advance = frag6_print(ndo, cp, (const u_char *)ip6) [all...] |
print-sl.c | 169 const char *str, register const u_char *cp) 173 if ((i = *cp++) == 0) { 174 i = EXTRACT_16BITS(cp); 175 cp += 2; 178 return (cp); 183 register const u_char *cp) 187 if ((i = *cp++) == 0) { 188 i = EXTRACT_16BITS(cp); 189 cp += 2; 195 return (cp); 203 register const u_char *cp = chdr; local [all...] |
/external/valgrind/coregrind/ |
m_commandline.c | 100 HChar* cp = s; local 101 vg_assert(cp); 105 while (VG_(isspace)(*cp)) cp++; 106 if (*cp == 0) break; 107 tmp = cp; 108 while ( !VG_(isspace)(*cp) && *cp != 0 ) cp++; 109 if ( *cp != 0 ) *cp++ = '\0'; // terminate if not the las [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicLUT.cpp | 59 RsdCpuScriptIntrinsicLUT *cp = (RsdCpuScriptIntrinsicLUT *)info->usr; local 66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathCertPathRepTest.java | 29 MyCertPath cp = new MyCertPath(testEncoding); local 30 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); 35 cp.new MyCertPathRep(null, null); 43 MyCertPath cp = new MyCertPath(testEncoding); local 44 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); 53 rep = cp.new MyCertPathRep("MyEncoding", new byte[] {(byte) 1, (byte) 2, (byte) 3 });
|