Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 25 of 128) sorted by relevance

123456

/external/opencv/cv/src/
Dcvutils.cpp113 int top, int left, int cn, const uchar* ) in icvCopyReplicateBorder_8u() argument
118 if( srcstep == dststep && dst + dststep*top + left*cn == src && in icvCopyReplicateBorder_8u()
122 cn == 1 ? icvCopyReplicateBorder_8u_C1IR_p : in icvCopyReplicateBorder_8u()
123 cn == 2 ? icvCopyReplicateBorder_16s_C1IR_p : in icvCopyReplicateBorder_8u()
124 cn == 3 ? icvCopyReplicateBorder_8u_C3IR_p : in icvCopyReplicateBorder_8u()
125 cn == 4 ? icvCopyReplicateBorder_32s_C1IR_p : in icvCopyReplicateBorder_8u()
126 cn == 6 ? icvCopyReplicateBorder_16s_C3IR_p : in icvCopyReplicateBorder_8u()
127 cn == 8 ? icvCopyReplicateBorder_16s_C4IR_p : in icvCopyReplicateBorder_8u()
128 cn == 12 ? icvCopyReplicateBorder_32s_C3IR_p : in icvCopyReplicateBorder_8u()
129 cn == 16 ? icvCopyReplicateBorder_32s_C4IR_p : 0; in icvCopyReplicateBorder_8u()
[all …]
Dcvsmooth.cpp196 int cn = CV_MAT_CN(state->get_src_type()); in icvSumRow_8u32s() local
199 width = (width - 1)*cn; ksize *= cn; in icvSumRow_8u32s()
201 for( k = 0; k < cn; k++, src++, dst++ ) in icvSumRow_8u32s()
204 for( i = 0; i < ksize; i += cn ) in icvSumRow_8u32s()
207 for( i = 0; i < width; i += cn ) in icvSumRow_8u32s()
210 dst[i+cn] = s; in icvSumRow_8u32s()
222 int cn = CV_MAT_CN(state->get_src_type()); in icvSumRow_32f64f() local
225 width = (width - 1)*cn; ksize *= cn; in icvSumRow_32f64f()
227 for( k = 0; k < cn; k++, src++, dst++ ) in icvSumRow_32f64f()
230 for( i = 0; i < ksize; i += cn ) in icvSumRow_32f64f()
[all …]
D_cvipp.h73 #define IPCV_MOMENTS( suffix, ipp_suffix, cn ) \ argument
74 IPCVAPI_EX( CvStatus, icvMoments##suffix##_C##cn##R, \
75 "ippiMoments" #ipp_suffix "_C" #cn "R", CV_PLUGINS1(CV_PLUGIN_IPPI),\
169 #define ICV_PYRDOWN( flavor, cn ) \ argument
170 IPCVAPI_EX( CvStatus, icvPyrDown_Gauss5x5_##flavor##_C##cn##R, \
171 "ippiPyrDown_Gauss5x5_" #flavor "_C" #cn "R", CV_PLUGINS1(CV_PLUGIN_IPPCV), \
175 #define ICV_PYRUP( flavor, cn ) \ argument
176 IPCVAPI_EX( CvStatus, icvPyrUp_Gauss5x5_##flavor##_C##cn##R, \
177 "ippiPyrUp_Gauss5x5_" #flavor "_C" #cn "R", CV_PLUGINS1(CV_PLUGIN_IPPCV), \
198 #define IPCV_RESIZE( flavor, cn ) \ argument
[all …]
Dcvimgwarp.cpp210 int cn, int xmax, \
220 dsize.width *= cn; \
221 xmax *= cn; \
255 _buf[dx] = mul_one_macro(t) + fx*(_src[sx+cn] - t); \
289 arrtype* dst, int dststep, CvSize dsize, int cn, \
300 dsize.width *= cn; \
326 int cn, const CvDecimateAlpha* xofs, \
334 dsize.width *= cn; \
338 if( cn == 1 ) \
345 else if( cn == 2 ) \
[all …]
Dcvsumpixels.cpp213 CvSize size, int cn ) \
218 memset( sum, 0, (size.width+1)*cn*sizeof(sum[0])); \
220 sum += sumstep + cn; \
224 memset( sqsum, 0, (size.width+1)*cn*sizeof(sqsum[0])); \
226 sqsum += sqsumstep + cn; \
229 size.width *= cn; \
236 for( x = -cn; x < 0; x++ ) \
240 sum[x] = cast_macro(src[x]) + sum[x - cn]; \
251 for( x = -cn; x < 0; x++ ) \
260 sumtype t = cast_macro(it) + sum[x-cn]; \
[all …]
Dcvfilter.cpp909 int cn = CV_MAT_CN(state->get_src_type()); in icvFilterRowSymm_8u32s() local
910 int ksize2 = ksize/2, ksize2n = ksize2*cn; in icvFilterRowSymm_8u32s()
915 width *= cn; in icvFilterRowSymm_8u32s()
933 int s0 = s[-cn] + s[0]*2 + s[cn], s1 = s[1-cn] + s[1]*2 + s[1+cn]; in icvFilterRowSymm_8u32s()
939 int s0 = s[0]*10 + (s[-cn] + s[cn])*3, s1 = s[1]*10 + (s[1-cn] + s[1+cn])*3; in icvFilterRowSymm_8u32s()
945 int s0 = (s[0]*2 + s[-cn] + s[cn]) << 6; in icvFilterRowSymm_8u32s()
946 int s1 = (s[1]*2 + s[1-cn] + s[1+cn]) << 6; in icvFilterRowSymm_8u32s()
954 int s0 = s[0]*k0 + (s[-cn] + s[cn])*k1, s1 = s[1]*k0 + (s[1-cn] + s[1+cn])*k1; in icvFilterRowSymm_8u32s()
965 int s0 = (s[0]*6 + (s[-cn] + s[cn])*4 + (s[-cn*2] + s[cn*2])*1) << 4; in icvFilterRowSymm_8u32s()
966 int s1 = (s[1]*6 + (s[1-cn] + s[1+cn])*4 + (s[1-cn*2] + s[1+cn*2])*1) << 4; in icvFilterRowSymm_8u32s()
[all …]
/external/conscrypt/src/platform/java/org/conscrypt/
DCertPinManager.java141 String cn = hostnameCache.get(hostname); in lookup() local
142 if (cn != null) { in lookup()
144 return entries.get(cn); in lookup()
148 cn = getMatchingCN(hostname); in lookup()
149 if (cn != null) { in lookup()
150 hostnameCache.put(hostname, cn); in lookup()
152 return entries.get(cn); in lookup()
165 for (String cn : entries.keySet()) { in getMatchingCN()
167 if (cn.length() < bestMatch.length()) { in getMatchingCN()
171 if (isHostnameMatchedBy(hostname, cn)) { in getMatchingCN()
[all …]
DPinFailureLogger.java31 public static synchronized void log(String cn, boolean chainContainsUserCert, in log() argument
39 writeToLog(cn, chainContainsUserCert, pinIsEnforcing, chain); in log()
44 protected static synchronized void writeToLog(String cn, boolean chainContainsUserCert, in writeToLog() argument
48 sb.append(cn); in writeToLog()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java108 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn"); in verifyHostName() local
109 if (cn != null) { in verifyHostName()
110 return verifyHostName(hostName, cn); in verifyHostName()
153 public boolean verifyHostName(String hostName, String cn) { in verifyHostName() argument
155 if (hostName == null || hostName.length() == 0 || cn == null || cn.length() == 0) { in verifyHostName()
159 cn = cn.toLowerCase(Locale.US); in verifyHostName()
161 if (!cn.contains("*")) { in verifyHostName()
162 return hostName.equals(cn); in verifyHostName()
165 if (cn.startsWith("*.") && hostName.equals(cn.substring(2))) { in verifyHostName()
169 int asterisk = cn.indexOf('*'); in verifyHostName()
[all …]
/external/opencv/cxcore/src/
Dcxlut.cpp103 #define ICV_DEF_LUT_FUNC_8U_CN( flavor, dsttype, cn ) \ argument
104 CvStatus CV_STDCALL icvLUT_Transform8u_##flavor##_C##cn##R( \
109 size.width *= cn; \
114 ICV_LUT_CASE_C##cn( dsttype ) \
136 const dsttype* _lut, int cn ) \
138 int max_block_size = (1 << 10)*cn; \
142 size.width *= cn; \
148 for( k = 0; k < cn; k++ ) \
149 for( i = 0; i < size.width; i += cn ) \
150 dst[i+k] = _lut[src[i+k]*cn+k]; \
[all …]
Dcxmeansdv.cpp49 sqr_macro, len, cn ) \ argument
50 for( ; x <= (len) - 4*(cn); x += 4*(cn))\
53 worktype t1 = src[x + (cn)]; \
59 t0 = src[x + 2*(cn)]; \
60 t1 = src[x + 3*(cn)]; \
67 for( ; x < (len); x += (cn) ) \
134 sqr_macro, len, cn ) \ argument
140 t0 = src[x*(cn)]; pix++; \
147 t0 = src[(x+1)*(cn)]; pix++; \
154 t0 = src[(x+2)*(cn)]; pix++; \
[all …]
Dcxsumpixels.cpp48 #define ICV_SUM_COI_CASE( __op__, len, cn ) \ argument
49 for( ; x <= (len) - 4*(cn); x += 4*(cn) ) \
50 s0 += __op__(src[x]) + __op__(src[x+(cn)]) + \
51 __op__(src[x+(cn)*2]) + __op__(src[x+(cn)*3]);\
53 for( ; x < (len); x += (cn) ) \
231 #define ICV_DEF_SUM_NOHINT_BLOCK_FUNC_2D( name, flavor, cn, \ argument
233 IPCVAPI_IMPL(CvStatus, icv##name##_##flavor##_C##cn##R,( \
237 ICV_SUM_ENTRY_BLOCK_C##cn(sumtype,worktype,(block_size)*(cn)); \
238 size.width *= cn; \
248 ICV_SUM_CASE_C##cn( __op__, limit ); \
[all …]
Dcxminmaxloc.cpp48 #define CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ) \ argument
51 int x, loc = 0, width = size.width*(cn); \
67 #define ICV_DEF_MINMAXLOC_1D_CASE_COI( _toggle_, temptype, cn ) \ argument
68 for( x = 0; x < width; x += (cn), loc++ ) \
108 CvSize size, int cn, int coi, \
113 CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ); \
117 ICV_DEF_MINMAXLOC_1D_CASE_COI( _toggle_, temptype, cn ); \
165 #define CV_MINMAXLOC_MASK_ENTRY( _toggle_, srctype, temptype, cn ) \ argument
171 if( width*(cn) == step && width == maskStep ) \
184 min_val = (src)[x*(cn)]; \
[all …]
Dcxmean.cpp96 #define ICV_MEAN_COI_CASE( len, cn ) \ argument
100 s0 += src[x*(cn)], pix++; \
102 s0+=src[(x+1)*(cn)], pix++; \
107 s0 += src[x*(cn)], pix++;
239 #define ICV_IMPL_MEAN_BLOCK_FUNC_2D( flavor, cn, \ argument
241 IPCVAPI_IMPL( CvStatus, icvMean_##flavor##_C##cn##MR, \
247 ICV_MEAN_ENTRY_BLOCK_C##cn( sumtype, worktype, block_size );\
257 ICV_MEAN_CASE_C##cn( limit ); \
260 ICV_MEAN_UPDATE_C##cn( block_size ); \
265 { ICV_MEAN_EXIT_BLOCK_C##cn(); } \
[all …]
Dcxconvert.cpp126 #define ICV_DEF_PX2PL_COI( arrtype, len, cn ) \ argument
130 for( j = 0; j <= (len) - 4; j += 4, (src) += 4*(cn))\
133 arrtype t1 = (src)[(cn)]; \
138 t0 = (src)[(cn)*2]; \
139 t1 = (src)[(cn)*3]; \
145 for( ; j < (len); j++, (src) += (cn)) \
153 cn, entry_macro ) \ argument
154 IPCVAPI_IMPL( CvStatus, icvCopy_##flavor##_C##cn##P##cn##R,\
165 ICV_DEF_PX2PL_C##cn( arrtype, size.width ); \
166 src -= size.width*(cn); \
[all …]
/external/openssl/crypto/evp/
Devp_test.c139 const unsigned char *ciphertext,int cn, in test1() argument
152 hexdump(stdout,"Ciphertext",ciphertext,cn); in test1()
184 if(outl+outl2 != cn) in test1()
187 outl+outl2,cn); in test1()
191 if(memcmp(out,ciphertext,cn)) in test1()
194 hexdump(stderr,"Got",out,cn); in test1()
195 hexdump(stderr,"Expected",ciphertext,cn); in test1()
210 if(!EVP_DecryptUpdate(&ctx,out,&outl,ciphertext,cn)) in test1()
247 const unsigned char *ciphertext,int cn, in test_cipher() argument
256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec); in test_cipher()
[all …]
/external/apache-http/src/org/apache/http/conn/ssl/
DAbstractVerifier.java157 String cn = it.next(); in verify() local
158 cn = cn.toLowerCase(Locale.ENGLISH); in verify()
161 buf.append(cn); in verify()
170 boolean doWildcard = cn.startsWith("*.") && in verify()
171 cn.indexOf('.', 2) != -1 && in verify()
172 acceptableCountryWildcard(cn) && in verify()
176 match = hostName.endsWith(cn.substring(1)); in verify()
180 match = countDots(hostName) == countDots(cn); in verify()
183 match = hostName.equals(cn); in verify()
194 public static boolean acceptableCountryWildcard(String cn) { in acceptableCountryWildcard() argument
[all …]
/external/chromium_org/testing/android/junit/java/src/org/chromium/testing/local/
DJunitTestMain.java43 String cn = je.getName(); in findClassesFromClasspath() local
44 if (!cn.endsWith(CLASS_FILE_EXT) || cn.indexOf('$') != -1) { in findClassesFromClasspath()
47 cn = cn.substring(0, cn.length() - CLASS_FILE_EXT.length()); in findClassesFromClasspath()
48 cn = FORWARD_SLASH.matcher(cn).replaceAll("."); in findClassesFromClasspath()
49 Class<?> c = classOrNull(cn); in findClassesFromClasspath()
/external/libsepol/src/
Dconditional.c192 cond_node_t * cn) in cond_node_search() argument
195 cond_node_t *result = cond_node_find(p, cn, list, &was_created); in cond_node_search()
344 int cond_normalize_expr(policydb_t * p, cond_node_t * cn) in cond_normalize_expr() argument
353 cn->nbools = 0; in cond_normalize_expr()
355 memset(cn->bool_ids, 0, sizeof(cn->bool_ids)); in cond_normalize_expr()
356 cn->expr_pre_comp = 0x0; in cond_normalize_expr()
360 e = cn->expr; in cond_normalize_expr()
376 tmp = cn->true_list; in cond_normalize_expr()
377 cn->true_list = cn->false_list; in cond_normalize_expr()
378 cn->false_list = tmp; in cond_normalize_expr()
[all …]
/external/libopus/silk/fixed/
Dresidual_energy16_FIX.c46 opus_int cn[ MAX_MATRIX_SIZE ]; in silk_residual_energy16_covar_FIX() local
68 cn[ i ] = silk_LSHIFT( ( opus_int )c[ i ], Qxtra ); in silk_residual_energy16_covar_FIX()
69 … silk_assert( silk_abs(cn[i]) <= ( silk_int16_MAX + 1 ) ); /* Check that silk_SMLAWB can be used */ in silk_residual_energy16_covar_FIX()
76 tmp = silk_SMLAWB( tmp, wXx[ i ], cn[ i ] ); in silk_residual_energy16_covar_FIX()
86 tmp = silk_SMLAWB( tmp, pRow[ j ], cn[ j ] ); in silk_residual_energy16_covar_FIX()
88 tmp = silk_SMLAWB( tmp, silk_RSHIFT( pRow[ i ], 1 ), cn[ i ] ); in silk_residual_energy16_covar_FIX()
89 tmp2 = silk_SMLAWB( tmp2, tmp, cn[ i ] ); in silk_residual_energy16_covar_FIX()
/external/chromium_org/third_party/opus/src/silk/fixed/
Dresidual_energy16_FIX.c46 opus_int cn[ MAX_MATRIX_SIZE ]; in silk_residual_energy16_covar_FIX() local
68 cn[ i ] = silk_LSHIFT( ( opus_int )c[ i ], Qxtra ); in silk_residual_energy16_covar_FIX()
69 … silk_assert( silk_abs(cn[i]) <= ( silk_int16_MAX + 1 ) ); /* Check that silk_SMLAWB can be used */ in silk_residual_energy16_covar_FIX()
76 tmp = silk_SMLAWB( tmp, wXx[ i ], cn[ i ] ); in silk_residual_energy16_covar_FIX()
86 tmp = silk_SMLAWB( tmp, pRow[ j ], cn[ j ] ); in silk_residual_energy16_covar_FIX()
88 tmp = silk_SMLAWB( tmp, silk_RSHIFT( pRow[ i ], 1 ), cn[ i ] ); in silk_residual_energy16_covar_FIX()
89 tmp2 = silk_SMLAWB( tmp2, tmp, cn[ i ] ); in silk_residual_energy16_covar_FIX()
/external/chromium_org/third_party/boringssl/src/crypto/cipher/
Dcipher_test.c127 const uint8_t *ciphertext, int cn, const uint8_t *aad, int an, in test1() argument
141 hexdump(stdout, "Ciphertext", ciphertext, cn); in test1()
195 if (outl + outl2 != cn) { in test1()
197 outl + outl2, cn); in test1()
201 if (memcmp(out, ciphertext, cn)) { in test1()
203 hexdump(stderr, "Got", out, cn); in test1()
204 hexdump(stderr, "Expected", ciphertext, cn); in test1()
260 if (!EVP_DecryptUpdate(&ctx, out, &outl, ciphertext, cn)) { in test1()
293 int pn, const uint8_t *ciphertext, int cn, in test_cipher() argument
325 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, aad, an, tag, tn, in test_cipher()
[all …]
/external/chromium_org/chrome/third_party/mozilla_security_manager/
DnsNSSCertificate.cpp52 char* cn = CERT_GetCommonName(&cert->subject); in GetCertTitle() local
53 if (cn) { in GetCertTitle()
54 rv = cn; in GetCertTitle()
55 PORT_Free(cn); in GetCertTitle()
/external/chromium_org/tools/telemetry/examples/
Dtop1k13 sina.com.cn
106 tianya.cn
122 pconline.com.cn
128 360.cn
180 zol.com.cn
187 people.com.cn
191 cntv.cn
257 amazon.cn
270 xcar.com.cn
296 dianxin.cn
[all …]
/external/valgrind/main/coregrind/m_demangle/
Dsafe-ctype.c134 #define cn _sch_iscntrl macro
155 #define C (const unsigned short) ( cn) /* control character */
156 #define Z (const unsigned short) (nv |cn) /* NUL */
157 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */
158 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
159 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */

123456