/external/pdfium/xfa/src/fee/src/fee/ |
fde_txtedtbuf.cpp | 88 CFDE_TxtEdtBuf::FDE_CHUNKPLACE cp;
local 89 m_pBuf->Index2CP(nIndex, cp);
91 m_nCurChunk = cp.nChunkIndex;
92 m_nCurIndex = cp.nCharIndex;
223 FDE_CHUNKPLACE cp;
local 224 Index2CP(nBegin, cp);
228 int32_t nChunkIndex = cp.nChunkIndex;
230 int32_t nCopyLength = lpChunkHeader->nUsed - cp.nCharIndex;
231 FX_WCHAR* lpSrcBuf = lpChunkHeader->wChars + cp.nCharIndex;
253 FDE_CHUNKPLACE cp;
local [all...] |
/external/selinux/libsepol/cil/src/ |
cil_find.c | 166 struct cil_classperms *cp = curr->data; local 167 if (FLAVOR(cp->class) == CIL_CLASS) { 168 rc = cil_classperms_match_any(cp1, cp); 172 cil_list_for_each(i, cp->perms) { 180 struct cil_classpermission *cp = cp_set->set; local 181 rc = __cil_classperms_list_match_any(cp1, cp->classperms); 195 struct cil_classperms *cp = curr->data; local 196 if (FLAVOR(cp->class) == CIL_CLASS) { 197 rc = __cil_classperms_list_match_any(cp, cpl2); 201 cil_list_for_each(i, cp->perms) 209 struct cil_classpermission *cp = cp_set->set; local 223 struct cil_classperms *cp = curr->data; local 235 struct cil_classpermission *cp = cp_set->set; local [all...] |
/external/selinux/libsepol/src/ |
assertion.c | 65 static int match_any_class_permissions(class_perm_node_t *cp, uint32_t class, uint32_t data) 67 for (; cp; cp = cp->next) { 68 if ((cp->tclass == class) && (cp->data & data)) { 72 if (!cp) 219 class_perm_node_t *cp; local 259 for (cp = avrule->perms; cp; cp = cp->next) 388 class_perm_node_t *cp; local [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/ |
UnicodeEscaper.java | 64 * {@code 0 <= cp <= Character#MAX_CODE_POINT}. 82 * @param cp 87 protected abstract char[] escape(int cp); 124 int cp = codePointAt(csq, index, end); local 125 if (cp < 0 || escape(cp) != null) { 128 index += Character.isSupplementaryCodePoint(cp) ? 2 : 1; 196 int cp = codePointAt(s, index, end); local 197 if (cp < 0) { 200 char[] escaped = escape(cp); 344 int cp = codePointAt(csq, index, end); local [all...] |
/external/tcpdump/ |
print-atalk.c | 447 register const char *cp, register const u_char *ep) 451 if (cp >= (const char *)ep) { 455 length = *cp++; 463 if (cp >= (const char *)ep) { 467 ND_PRINT((ndo, "%c", *cp++)); 469 return (cp); 505 register const char *cp = (const char *)tp + nbpTupleSize; local 511 if ((cp = print_cstring(ndo, cp, ep)) != NULL) { 514 if ((cp = print_cstring(ndo, cp, ep)) != NULL) [all...] |
print-domain.c | 53 register const u_char *cp) 57 if (!ND_TTEST2(*cp, 1)) 59 i = *cp++; 62 return (cp + 1); 68 if (!ND_TTEST2(*cp, 1)) 70 if ((bitlen = *cp++) == 0) 73 cp += bytelen; 75 cp += i; 76 if (!ND_TTEST2(*cp, 1)) 78 i = *cp++ 583 register const u_char *cp; local [all...] |
print-ip.c | 58 register const u_char *cp, u_int length) 69 ptr = cp[2] - 1; 71 ND_PRINT((ndo, " [bad ptr %u]", cp[2])); 74 ND_PRINT((ndo, " %s", ipaddr_string(ndo, &cp[len]))); 93 const u_char *cp; local 96 cp = (const u_char *)(ip + 1); 99 for (; length > 0; cp += len, length -= len) { 102 ND_TCHECK(*cp); 103 tt = *cp; 109 ND_TCHECK(cp[1]) 316 const u_char *cp; member in struct:ip_print_demux_state [all...] |
print-ospf.c | 1048 register const char *cp; local [all...] |
print-tcp.c | 430 register const u_char *cp; local 435 cp = (const u_char *)tp + sizeof(*tp); 440 ND_TCHECK(*cp); 441 opt = *cp++; 445 ND_TCHECK(*cp); 446 len = *cp++; /* total including type, len */ 455 #define LENCHECK(l) { if ((l) > hlen) goto bad; ND_TCHECK2(*cp, l); } 465 ND_PRINT((ndo, " %u", EXTRACT_16BITS(cp))); 471 ND_PRINT((ndo, " %u", *cp)); 484 s = EXTRACT_32BITS(cp + i) [all...] |
/external/valgrind/coregrind/ |
launcher-darwin.c | 281 { const char *cp; local 282 cp = getenv(VALGRIND_LIB); 283 valgrind_lib = ( cp == NULL ? VG_LIBDIR : cp );
|
/external/valgrind/coregrind/m_initimg/ |
initimg-darwin.c | 183 HChar *cp = VG_(malloc)("initimg-darwin.sce.4", len); local 185 VG_(snprintf)(cp, len, "%s%s:%s", 188 *cpp = cp; 194 HChar *cp = VG_(malloc)("initimg-darwin.sce.4.2", len); local 196 VG_(snprintf)(cp, len, "%s%s", dyld_cache, dyld_cache_value); 198 *cpp = cp; 207 HChar *cp = VG_(malloc) ("initimg-darwin.sce.5", len); local 209 VG_(snprintf)(cp, len, "%s%s", ld_preload, preload_string); 211 ret[envc++] = cp; 215 HChar *cp = VG_(malloc) ("initimg-darwin.sce.5.2", len) local 256 HChar *cp = *tab; local [all...] |
initimg-solaris.c | 213 HChar *cp = VG_(malloc)("initimg-solaris.sce.4", size); local 215 VG_(sprintf)(cp, "%s%s:%s", ld_preload, preload_string, 217 *cpp = cp; 225 HChar *cp = VG_(malloc)("initimg-solaris.sce.5", size); local 227 VG_(sprintf)(cp, "%s%s", ld_preload, preload_string); 228 ret[envc++] = cp; 266 HChar *cp = *tab; local 267 HChar *orig = cp; 270 *cp++ = *str++; 271 *cp++ = '\0' [all...] |
/frameworks/av/camera/ |
ICamera.cpp | 338 sp<IGraphicBufferProducer> cp = local 340 reply->writeInt32(setPreviewCallbackTarget(cp));
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ZenModeConditions.java | 132 final IConditionProvider cp = mConditionProviders.findConditionProvider(rule.component); local 133 if (DEBUG) Log.d(TAG, "Ensure external rule exists: " + (cp != null) + " for " + id); 134 if (cp != null) { 135 mConditionProviders.ensureRecordExists(rule.component, id, cp);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.cpp | 64 RsdCpuScriptIntrinsic3DLUT *cp = (RsdCpuScriptIntrinsic3DLUT *)info->usr; local 71 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; 74 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimX - 1), 75 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimY - 1), 76 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimZ - 1), 81 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride; 82 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
|
rsCpuIntrinsicBlur.cpp | 287 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)info->usr; local 288 if (!cp->mAlloc.get()) { 292 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 293 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 303 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); 309 if ((info->dim.x > cp->mScratchSize[info->lid]) || !cp->mScratch[info->lid]) { 311 cp->mScratch[info->lid] = realloc(cp->mScratch[info->lid], (info->dim.x + 1) * 16) 358 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)info->usr; local [all...] |
rsCpuIntrinsicConvolve3x3.cpp | 189 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local 191 if (!cp->mAlloc.get()) { 195 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 196 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 208 ConvolveOneU4(info, 0, out, py0, py1, py2, cp->mFp); 218 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); 226 ConvolveOneU4(info, x1, out, py0, py1, py2, cp->mFp); 236 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local 238 if (!cp->mAlloc.get()) { 242 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr 281 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local 326 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local 371 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local 415 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local [all...] |
rsCpuIntrinsicConvolve5x5.cpp | 352 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local 353 if (!cp->alloc.get()) { 357 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 358 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; 377 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); 387 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); 396 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); 403 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); 412 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local 413 if (!cp->alloc.get()) 461 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local 510 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local 559 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local 608 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local [all...] |
/frameworks/rs/ |
rsCppUtils.h | 89 const char* cp; local 92 cp = strrchr(str, OS_PATH_SEPARATOR); 93 if (cp == NULL) 96 return String8(str, cp - str);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathTest.java | 213 MyFailingCertPath cp = new MyFailingCertPath(testEncoding); local 214 Object obj = cp.writeReplace();
|
CertPathValidatorExceptionTest.java | 279 CertPath cp = mcp.get("X.509"); local 285 new CertPathValidatorException(msgs[i], tCause, cp, indx[j]); 307 CertPath cp = mcp.get("X.509"); local 310 tE = new CertPathValidatorException(msgs[i], tCause, cp, -1); 327 "getCertPath() must return ".concat(cp.toString()), tE 328 .getCertPath(), cp); 376 CertPath cp = mcp.get("X.509"); local 379 tE = new CertPathValidatorException(msgs[i], tCause, cp, -1); 383 "getCertPath() must return ".concat(cp.toString()), tE 384 .getCertPath(), cp); 423 CertPath cp = mcp.get("X.509"); local [all...] |
CertificateFactory2Test.java | 153 CertPath cp; local 155 cp = certFactory.generateCertPath(list); 159 assertNull("Must be null", cp);
|
/libcore/ojluni/src/main/java/java/util/ |
ServiceLoader.java | 145 * for (CodecSet cp : codecSetLoader) { 146 * Encoder enc = cp.getEncoder(encodingName); 259 int cp = ln.codePointAt(0); local 260 if (!Character.isJavaIdentifierStart(cp)) 262 for (int i = Character.charCount(cp); i < n; i += Character.charCount(cp)) { 263 cp = ln.codePointAt(i); 264 if (!Character.isJavaIdentifierPart(cp) && (cp != '.'))
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_wlocale_win32.c | 27 UINT cp;
member in struct:_Locale_codecvt 75 lcodecvt->cp = atoi(cp_name);
76 if (!GetCPInfo(lcodecvt->cp, &CPInfo)) { free(lcodecvt); return NULL; }
78 if (lcodecvt->cp != CP_UTF7 && lcodecvt->cp != CP_UTF8) {
94 my_ltoa(lcodecvt->cp, cp_buf);
123 if (l->cp == CP_UTF7 || l->cp == CP_UTF8) {
124 result = MultiByteToWideChar(l->cp, l->mbtowc_flags, from, count, dst, 1);
136 result = MultiByteToWideChar(l->cp, l->mbtowc_flags, from, count, dst, 1); [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
time_facets.cpp | 150 const char * cp = format.data(); variable 151 const char * cp_end = cp + format.size(); 152 while (cp != cp_end) { 153 if (*cp == '%') { 155 ++cp; 156 if (*cp == '#') { 157 mod = *cp; ++cp; 159 __write_formatted_timeT(buf, ct, *cp++, mod, table, t); 161 buf.append(1, *cp++) [all...] |