/external/libpcap/ |
pcap-bt-linux.c | 142 const char *cp; local 148 cp = strrchr(device, '/'); 149 if (cp == NULL) 150 cp = device; 152 if (strncmp(cp, BT_IFACE, sizeof BT_IFACE - 1) != 0) { 158 cp += sizeof BT_IFACE - 1; 159 devnum = strtol(cp, &cpend, 10); 160 if (cpend == cp || *cpend != '\0') {
|
pcap-snit.c | 120 register u_char *bp, *cp, *ep; local 168 cp = bp; 171 hdrp = (struct nit_bufhdr *)cp; 172 cp += sizeof(*hdrp); 175 ntp = (struct nit_iftime *)cp; 176 cp += sizeof(*ntp); 178 ndp = (struct nit_ifdrops *)cp; 180 cp += sizeof *ndp; 183 nlp = (struct nit_iflen *)cp; 184 cp += sizeof(*nlp) [all...] |
/external/libpcap/tests/ |
capturetest.c | 60 register char *cp, *cmdbuf, *device; local 73 if ((cp = strrchr(argv[0], '/')) != NULL) 74 program_name = cp + 1;
|
filtertest.c | 78 register char *cp; local 88 cp = malloc((u_int)buf.st_size + 1); 89 if (cp == NULL) 92 cc = read(fd, cp, (u_int)buf.st_size); 101 if (cp[i] == '#') 102 while (i < cc && cp[i] != '\n') 103 cp[i++] = ' '; 105 cp[cc] = '\0'; 106 return (cp); 182 char *cp; local [all...] |
selpolltest.c | 59 register char *cp, *cmdbuf, *device; local 72 if ((cp = strrchr(argv[0], '/')) != NULL) 73 program_name = cp + 1;
|
valgrindtest.c | 106 register char *cp; local 116 cp = malloc((u_int)buf.st_size + 1); 117 if (cp == NULL) 120 cc = read(fd, cp, (u_int)buf.st_size); 129 if (cp[i] == '#') 130 while (i < cc && cp[i] != '\n') 131 cp[i++] = ' '; 133 cp[cc] = '\0'; 134 return (cp); 212 char *cp, *device local [all...] |
/external/libunwind/src/ |
os-linux.h | 45 char *cp = buf, tmp; local 50 *cp++ = '0' + (val % 10); 56 len = cp - buf; 57 --cp; 61 buf[i] = cp[-i]; 62 cp[-i] = tmp; 70 char path[sizeof ("/proc/0123456789/maps")], *cp; local 73 cp = ltoa (path + 6, pid); 74 assert (cp + 6 < path + sizeof (path)); 75 memcpy (cp, "/maps", 6) 209 char perm[16], dash = 0, colon = 0, *cp; local [all...] |
/external/libunwind/tests/ |
Gperf-simple.c | 140 char *cp = buf; local 144 s += cp[i];
|
Gperf-trace.c | 126 char *cp = buf; local 130 s += cp[i];
|
/external/opencv3/3rdparty/libtiff/ |
tif_aux.c | 66 void* cp = NULL; local 73 cp = _TIFFrealloc(buffer, bytes); 75 if (cp == NULL) { 82 return cp;
|
tif_open.c | 88 const char* cp; local 218 for (cp = mode; *cp; cp++) 219 switch (*cp) {
|
tif_print.c | 38 _TIFFprintAsciiBounded(FILE* fd, const char* cp, int max_chars); 389 char* cp; local 393 for (cp = td->td_inknames; 394 i > 0 && cp < td->td_inknames + td->td_inknameslen; 395 cp = strchr(cp,'\0')+1, i--) { 397 td->td_inknameslen - (cp - td->td_inknames); 399 _TIFFprintAsciiBounded(fd, cp, max_chars); 674 _TIFFprintAscii(FILE* fd, const char* cp) 676 _TIFFprintAsciiBounded( fd, cp, strlen(cp)) [all...] |
/external/opencv3/modules/core/src/ |
glob.cpp | 175 const char *cp = 0, *mp = 0; local 198 cp = string + 1; 208 string = cp++;
|
/external/pdfium/fpdfsdk/src/formfiller/ |
FFL_ComboBox.cpp | 30 PWL_CREATEPARAM cp = CFFL_FormFiller::GetCreateParam(); local 34 cp.dwFlags |= PCBS_ALLOWCUSTOMTEXT; 39 cp.pFontMap = m_pFontMap; 40 cp.pFocusHandler = this; 42 return cp; 45 CPWL_Wnd* CFFL_ComboBox::NewPDFWindow(const PWL_CREATEPARAM& cp, 49 pWnd->Create(cp);
|
FFL_TextField.cpp | 25 PWL_CREATEPARAM cp = CFFL_FormFiller::GetCreateParam(); local 30 cp.dwFlags |= PES_PASSWORD; 37 cp.dwFlags |= PES_MULTILINE | PES_AUTORETURN | PES_TOP; 40 cp.dwFlags |= PWS_VSCROLL | PES_AUTOSCROLL; 43 cp.dwFlags |= PES_CENTER; 46 cp.dwFlags |= PES_AUTOSCROLL; 51 cp.dwFlags |= PES_CHARARRAY; 55 cp.dwFlags |= PES_RICH; 58 cp.dwFlags |= PES_UNDO; 63 cp.dwFlags |= PES_LEFT [all...] |
/external/pdfium/third_party/libtiff/ |
tif_aux.c | 66 void* cp = NULL; local 73 cp = _TIFFrealloc(buffer, bytes); 75 if (cp == NULL) { 82 return cp;
|
tif_open.c | 88 const char* cp; local 218 for (cp = mode; *cp; cp++) 219 switch (*cp) {
|
tif_print.c | 38 _TIFFprintAsciiBounded(FILE* fd, const char* cp, size_t max_chars); 391 char* cp; local 395 for (cp = td->td_inknames; 396 i > 0 && cp < td->td_inknames + td->td_inknameslen; 397 cp = strchr(cp,'\0')+1, i--) { 399 td->td_inknameslen - (cp - td->td_inknames); 401 _TIFFprintAsciiBounded(fd, cp, max_chars); 676 _TIFFprintAscii(FILE* fd, const char* cp) 678 _TIFFprintAsciiBounded( fd, cp, strlen(cp)) [all...] |
/external/tcpdump/ |
print-igrp.c | 107 register u_char *cp; local 111 cp = (u_char *)(hdr + 1); 132 ND_TCHECK2(*cp, IGRP_RTE_SIZE); 133 igrp_entry_print(ndo, (struct igrprte *)cp, 1, 0); 136 ND_TCHECK2(*cp, IGRP_RTE_SIZE); 137 igrp_entry_print(ndo, (struct igrprte *)cp, 0, 0); 140 ND_TCHECK2(*cp, IGRP_RTE_SIZE); 141 igrp_entry_print(ndo, (struct igrprte *)cp, 0, 1); 147 cp += IGRP_RTE_SIZE;
|
print-tftp.c | 111 register const char *cp; local 123 cp = tok2str(op2str, "tftp-#%d", opcode); 124 ND_PRINT((ndo, " %s", cp)); 126 if (*cp == 't')
|
/external/valgrind/coregrind/ |
launcher-linux.c | 320 const char *cp; local 466 cp = getenv(VALGRIND_LIB); 468 if (cp != NULL) 469 valgrind_lib = cp;
|
/external/xmlrpcpp/src/ |
XmlRpcUtil.cpp | 137 const char* cp = xml.c_str() + *offset; local 139 while (*cp && isspace(*cp)) { 140 ++cp; 145 if (*cp && (strncmp(cp, tag, len) == 0)) { 160 const char* cp = xml.c_str() + pos; local 161 while (*cp && isspace(*cp)) { 162 ++cp; [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicHistogram.cpp | 173 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local 175 int * sums = &cp->mSums[256 * 4 * info->lid]; 190 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local 192 int * sums = &cp->mSums[256 * 4 * info->lid]; 206 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local 208 int * sums = &cp->mSums[256 * 2 * info->lid]; 221 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local 223 int * sums = &cp->mSums[256 * info->lid]; 226 int t = (cp->mDotI[0] * in[0]) + 227 (cp->mDotI[1] * in[1]) 239 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local 256 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local 272 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local 287 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local [all...] |
rsCpuIntrinsicYuvToRGB.cpp | 107 RsdCpuScriptIntrinsicYuvToRGB *cp = (RsdCpuScriptIntrinsicYuvToRGB *)info->usr; local 108 if (!cp->alloc.get()) { 112 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 118 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride; 121 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { 130 size_t cstep = cp->alloc->mHal.drvState.yuv.step; 132 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; 133 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride; 136 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr; 137 const size_t strideV = cp->alloc->mHal.drvState.lod[2].stride [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
PKIXCertPathBuilderResultTest.java | 216 CertPath cp = new MyCertPath(testEncoding); local 219 cp, 226 assertSame(cp, r.getCertPath());
|