/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 });
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_framestitching.cpp | 85 double c[3],cp[3],r[3],rp[3],M[9],s,sp,sc; local 92 db_PointCentroid3D(cp,Xp,nr_points); 97 db_Zero3(cp); 109 rp[0]=(*temp_p++)-cp[0]; 110 rp[1]=(*temp_p++)-cp[1]; 111 rp[2]=(*temp_p++)-cp[2]; 162 t[0]=cp[0]-sc*(R[0]*c[0]+R[1]*c[1]+R[2]*c[2]); 163 t[1]=cp[1]-sc*(R[3]*c[0]+R[4]*c[1]+R[5]*c[2]); 164 t[2]=cp[2]-sc*(R[6]*c[0]+R[7]*c[1]+R[8]*c[2]);
|
/system/core/liblog/ |
pmsg_writer.c | 195 const char *cp = buf + len; local 196 while ((--cp > buf) && (*cp != c)); 197 if (cp <= buf) { 200 return cp; 212 char *cp, *slash; local 226 cp = strdup(filename); 227 if (!cp) { 241 tag = cp; 242 slash = strrchr(cp, '/'); [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
jquery-1.6.2.min.js | 16 (function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHT (…) [all...] |
/external/javassist/src/main/javassist/bytecode/ |
LocalVariableAttribute.java | 39 public LocalVariableAttribute(ConstPool cp) { 40 super(cp, tag, new byte[2]); 55 public LocalVariableAttribute(ConstPool cp, String name) { 56 super(cp, name, new byte[2]); 60 LocalVariableAttribute(ConstPool cp, int n, DataInputStream in) 63 super(cp, n, in); 66 LocalVariableAttribute(ConstPool cp, String name, byte[] i) { 67 super(cp, name, i); 96 ConstPool cp = getConstPool(); local 102 String desc = cp.getUtf8Info(index) 114 ConstPool cp = getConstPool(); local 296 ConstPool cp = getConstPool(); local [all...] |