/external/tcpdump/ |
util.c | 243 print_unknown_data(const u_char *cp,const char *ident,int len) 250 if (snapend - cp < len) 251 len = snapend - cp; 257 hex_print(ident,cp,len); 478 register char *cp; local 488 cp = malloc((u_int)buf.st_size + 1); 489 if (cp == NULL) 492 cc = read(fd, cp, (u_int)buf.st_size); 501 if (cp[i] == '#') 502 while (i < cc && cp[i] != '\n' [all...] |
/external/valgrind/main/coregrind/ |
launcher-darwin.c | 277 { const char *cp; local 278 cp = getenv(VALGRIND_LIB); 279 valgrind_lib = ( cp == NULL ? VG_LIBDIR : cp );
|
/external/valgrind/main/coregrind/m_initimg/ |
initimg-darwin.c | 187 HChar *cp = VG_(malloc)("initimg-darwin.sce.4", len); local 188 vg_assert(cp); 190 VG_(snprintf)(cp, len, "%s%s:%s", 193 *cpp = cp; 199 HChar *cp = VG_(malloc)("initimg-darwin.sce.4.2", len); local 200 vg_assert(cp); 202 VG_(snprintf)(cp, len, "%s%s", dyld_cache, dyld_cache_value); 204 *cpp = cp; 213 HChar *cp = VG_(malloc) ("initimg-darwin.sce.5", len); local 214 vg_assert(cp); 222 HChar *cp = VG_(malloc) ("initimg-darwin.sce.5.2", len); local 264 char *cp = *tab; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
UniscribeController.cpp | 105 const UChar* cp = m_run.data(m_currentCharacter); local 124 const UChar* curr = m_run.rtl() ? cp + length - 1 : cp; 125 const UChar* end = m_run.rtl() ? cp - 1 : cp + length; 136 smallCapsBuffer[curr - cp] = newC; 145 int index = curr - cp; 163 itemizeShapeAndPlace((isSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, fontData, glyphBuffer); 175 itemizeShapeAndPlace((nextIsSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, nextFontData, glyphBuffer); 181 void UniscribeController::itemizeShapeAndPlace(const UChar* cp, unsigned length, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer [all...] |
/external/wpa_supplicant_8/src/utils/ |
common.c | 255 char *cp; local 276 cp = os_strchr(optstring, optopt); 277 if (cp == NULL || optopt == ':') { 285 if (cp[1] == ':') { 306 return *cp;
|
/frameworks/native/libs/utils/ |
String8.cpp | 484 const char* cp; local 487 cp = strrchr(buf, OS_PATH_SEPARATOR); 488 if (cp == NULL) 491 return String8(cp+1); 496 const char* cp; local 499 cp = strrchr(str, OS_PATH_SEPARATOR); 500 if (cp == NULL) 503 return String8(str, cp - str); 508 const char* cp; local 512 cp = strchr(buf, OS_PATH_SEPARATOR) [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.cpp | 63 RsdCpuScriptIntrinsic3DLUT *cp = (RsdCpuScriptIntrinsic3DLUT *)p->usr; local 70 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; 73 cp->mLUT->mHal.drvState.lod[0].dimX - 1, 74 cp->mLUT->mHal.drvState.lod[0].dimY - 1, 75 cp->mLUT->mHal.drvState.lod[0].dimZ - 1, 80 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride; 81 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
|
rsCpuIntrinsicBlur.cpp | 278 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)p->usr; local 279 if (!cp->mAlloc.get()) { 283 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 284 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 291 if ((p->dimX > cp->mScratchSize[p->lid]) || !cp->mScratch[p->lid]) { 292 cp->mScratch[p->lid] = realloc(cp->mScratch[p->lid], p->dimX * 16); 293 cp->mScratchSize[p->lid] = p->dimX; 295 buf = (float4 *)cp->mScratch[p->lid] 335 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)p->usr; local [all...] |
/frameworks/rs/ |
rsCppUtils.h | 80 const char* cp; local 83 cp = strrchr(str, OS_PATH_SEPARATOR); 84 if (cp == NULL) 87 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();
|
CertificateFactory2Test.java | 153 CertPath cp; local 155 cp = certFactory.generateCertPath(list); 159 assertNull("Must be null", 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...] |
/ndk/sources/host-tools/make-3.81/ |
commands.c | 144 char *cp; 162 cp = plus_value; 180 bcopy (c, cp, len); 181 cp += len; 182 *cp++ = FILE_LIST_SEPARATOR; 189 cp[cp > plus_value ? -1 : 0] = '\0'; 207 cp = caret_value = plus_value; /* Reuse the buffer; it's big enough. */ 239 bcopy (c, cp, len); 240 cp += len 143 char *cp; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
money_facets_test.cpp | 542 money_base::pattern cp = cfacet.pos_format(); local 544 CPPUNIT_CHECK( cp_bn.field[0] == cp.field[0] ); 545 CPPUNIT_CHECK( cp_bn.field[1] == cp.field[1] ); 546 CPPUNIT_CHECK( cp_bn.field[2] == cp.field[2] ); 547 CPPUNIT_CHECK( cp_bn.field[3] == cp.field[3] ); 571 money_base::pattern cp = cfacet.pos_format(); local 573 CPPUNIT_CHECK( cp_bn.field[0] == cp.field[0] ); 574 CPPUNIT_CHECK( cp_bn.field[1] == cp.field[1] ); 575 CPPUNIT_CHECK( cp_bn.field[2] == cp.field[2] ); 576 CPPUNIT_CHECK( cp_bn.field[3] == cp.field[3] ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
money_facets_test.cpp | 542 money_base::pattern cp = cfacet.pos_format(); local 544 CPPUNIT_CHECK( cp_bn.field[0] == cp.field[0] ); 545 CPPUNIT_CHECK( cp_bn.field[1] == cp.field[1] ); 546 CPPUNIT_CHECK( cp_bn.field[2] == cp.field[2] ); 547 CPPUNIT_CHECK( cp_bn.field[3] == cp.field[3] ); 571 money_base::pattern cp = cfacet.pos_format(); local 573 CPPUNIT_CHECK( cp_bn.field[0] == cp.field[0] ); 574 CPPUNIT_CHECK( cp_bn.field[1] == cp.field[1] ); 575 CPPUNIT_CHECK( cp_bn.field[2] == cp.field[2] ); 576 CPPUNIT_CHECK( cp_bn.field[3] == cp.field[3] ) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ContactsBinaryDictionary.java | 225 int cp = 0; local 226 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { 227 cp = string.codePointAt(end); 228 if (!(cp == Constants.CODE_DASH || cp == Constants.CODE_SINGLE_QUOTE 229 || Character.isLetter(cp))) {
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
hdlcdrv.h | 54 struct hdlcdrv_channel_params cp; member in union:hdlcdrv_ioctl::__anon26423
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
hdlcdrv.h | 54 struct hdlcdrv_channel_params cp; member in union:hdlcdrv_ioctl::__anon28014
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
hdlcdrv.h | 54 struct hdlcdrv_channel_params cp; member in union:hdlcdrv_ioctl::__anon29528
|
/system/core/liblog/ |
event_tag_map.c | 228 const char* cp; local 231 cp = (const char*) map->mapAddr; 232 endp = cp + map->mapLen; 236 while (cp < endp) { 237 if (*cp == '\n') { 240 if (isCharDigit(*cp)) { 244 } else if (isCharWhitespace(*cp)) { 253 cp++; 265 char* cp; local 268 cp = (char*) map->mapAddr 335 char* cp = *pData; local [all...] |
/external/robolectric/lib/main/ |
javassist-3.14.0-GA.jar | |
/bionic/libc/bionic/ |
fts.c | 182 char *cp; local 193 if ((cp = strrchr(p->fts_name, '/')) && (cp != p->fts_name || cp[1])) { 194 len = strlen(++cp); 195 memmove(p->fts_name, cp, len + 1); 553 char *cp = NULL; local 632 cp = sp->fts_path + len; 633 *cp++ = '/'; 676 cp = sp->fts_path + len [all...] |
/dalvik/tools/dmtracedump/ |
CreateTestTrace.c | 140 char *cp = buf; local 141 if (*cp == '#') 144 if (isdigit(*cp)) { 145 int time = strtoul(cp, &cp, 0); 146 while (isspace(*cp)) 147 cp += 1; 148 int threadId = strtoul(cp, &cp, 0); 152 indentEnd = cp; 177 char *cp = buf; local [all...] |
/dalvik/vm/ |
Misc.cpp | 203 char* cp = newStr; local 208 while (*cp != '\0') { 209 if (*cp == '/') { 213 if (*cp == '.') 214 *cp = '/'; 215 cp++; 700 char* cp = strchr(lineBuf, ')'); local 701 if (cp == NULL) 703 cp += 2; 704 pData->state = *cp++ [all...] |