Searched defs:cn (Results 1 - 25 of 73) sorted by relevance

123

/external/chromium_org/chrome/third_party/mozilla_security_manager/
H A DnsNSSCertificate.cpp52 char* cn = CERT_GetCommonName(&cert->subject); local
53 if (cn) {
54 rv = cn;
55 PORT_Free(cn);
/external/conscrypt/src/platform/java/org/conscrypt/
H A DPinFailureLogger.java31 public static synchronized void log(String cn, boolean chainContainsUserCert, argument
39 writeToLog(cn, chainContainsUserCert, pinIsEnforcing, chain);
44 protected static synchronized void writeToLog(String cn, boolean chainContainsUserCert, argument
48 sb.append(cn);
H A DCertPinManager.java141 String cn = hostnameCache.get(hostname);
142 if (cn != null) {
144 return entries.get(cn);
147 // otherwise, get the matching cn
148 cn = getMatchingCN(hostname);
149 if (cn != null) {
150 hostnameCache.put(hostname, cn);
152 return entries.get(cn);
165 for (String cn : entries.keySet()) {
167 if (cn
185 isHostnameMatchedBy(String hostName, String cn) argument
[all...]
H A DPinListEntry.java36 private final String cn; field in class:PinListEntry
49 return cn;
70 // get the cn
71 cn = values[0]; // is there more validation we can do here?
154 PinFailureLogger.log(cn, containsUserCert, enforcing, chain);
/external/chromium_org/third_party/opus/src/silk/fixed/
H A Dresidual_energy16_FIX.c46 opus_int cn[ MAX_MATRIX_SIZE ]; local
68 cn[ i ] = silk_LSHIFT( ( opus_int )c[ i ], Qxtra );
69 silk_assert( silk_abs(cn[i]) <= ( silk_int16_MAX + 1 ) ); /* Check that silk_SMLAWB can be used */
76 tmp = silk_SMLAWB( tmp, wXx[ i ], cn[ i ] );
86 tmp = silk_SMLAWB( tmp, pRow[ j ], cn[ j ] );
88 tmp = silk_SMLAWB( tmp, silk_RSHIFT( pRow[ i ], 1 ), cn[ i ] );
89 tmp2 = silk_SMLAWB( tmp2, tmp, cn[ i ] );
/external/libopus/silk/fixed/
H A Dresidual_energy16_FIX.c46 opus_int cn[ MAX_MATRIX_SIZE ]; local
68 cn[ i ] = silk_LSHIFT( ( opus_int )c[ i ], Qxtra );
69 silk_assert( silk_abs(cn[i]) <= ( silk_int16_MAX + 1 ) ); /* Check that silk_SMLAWB can be used */
76 tmp = silk_SMLAWB( tmp, wXx[ i ], cn[ i ] );
86 tmp = silk_SMLAWB( tmp, pRow[ j ], cn[ j ] );
88 tmp = silk_SMLAWB( tmp, silk_RSHIFT( pRow[ i ], 1 ), cn[ i ] );
89 tmp2 = silk_SMLAWB( tmp2, tmp, cn[ i ] );
/external/apache-http/src/org/apache/http/conn/ssl/
H A DAbstractVerifier.java157 String cn = it.next();
158 cn = cn.toLowerCase(Locale.ENGLISH);
161 buf.append(cn);
170 boolean doWildcard = cn.startsWith("*.") &&
171 cn.indexOf('.', 2) != -1 &&
172 acceptableCountryWildcard(cn) &&
176 match = hostName.endsWith(cn.substring(1));
180 match = countDots(hostName) == countDots(cn);
183 match = hostName.equals(cn);
194 acceptableCountryWildcard(String cn) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
H A DOkHostnameVerifier.java108 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn");
109 if (cn != null) {
110 return verifyHostName(hostName, cn);
147 * Returns true if {@code hostName} matches the name or pattern {@code cn}.
150 * @param cn certificate host name. May include wildcards like
153 public boolean verifyHostName(String hostName, String cn) { argument
155 if (hostName == null || hostName.length() == 0 || cn == null || cn.length() == 0) {
159 cn
[all...]
/external/valgrind/main/coregrind/m_demangle/
H A 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 */
/external/chromium_org/third_party/mesa/src/src/mesa/math/
H A Dm_eval.c123 * control net cn.
127 _math_horner_bezier_surf(GLfloat * cn, GLfloat * out, GLfloat u, GLfloat v, argument
130 GLfloat *cp = cn + uorder * vorder * dim;
140 GLfloat *ucp = &cn[j * dim];
164 else /* uorder=1 -> cn defines a curve in v */
165 _math_horner_bezier_curve(cn, out, v, dim, vorder);
173 for (i = 0; i < uorder; i++, cn += uinc) {
174 /* For constant i all cn[i][j] (j=0..vorder) are located */
178 _math_horner_bezier_curve(cn, &cp[i * dim], v, dim, vorder);
184 else /* vorder=1 -> cn define
204 _math_de_casteljau_surf(GLfloat * cn, GLfloat * out, GLfloat * du, GLfloat * dv, GLfloat u, GLfloat v, GLuint dim, GLuint uorder, GLuint vorder) argument
[all...]
/external/mesa3d/src/mesa/math/
H A Dm_eval.c114 * control net cn.
118 _math_horner_bezier_surf(GLfloat * cn, GLfloat * out, GLfloat u, GLfloat v, argument
121 GLfloat *cp = cn + uorder * vorder * dim;
131 GLfloat *ucp = &cn[j * dim];
155 else /* uorder=1 -> cn defines a curve in v */
156 _math_horner_bezier_curve(cn, out, v, dim, vorder);
164 for (i = 0; i < uorder; i++, cn += uinc) {
165 /* For constant i all cn[i][j] (j=0..vorder) are located */
169 _math_horner_bezier_curve(cn, &cp[i * dim], v, dim, vorder);
175 else /* vorder=1 -> cn define
195 _math_de_casteljau_surf(GLfloat * cn, GLfloat * out, GLfloat * du, GLfloat * dv, GLfloat u, GLfloat v, GLuint dim, GLuint uorder, GLuint vorder) argument
[all...]
/external/opencv/cv/src/
H A 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]; \
326 int depth, cn; local
[all...]
H A Dcvthresh.cpp311 int ithresh, imaxval, cn; local
323 cn = CV_MAT_CN(src->type);
324 if( cn > 1 )
H A Dcvsamplers.cpp548 int cn, src_step, dst_step; local
563 cn = CV_MAT_CN( src->type );
565 if( (cn != 1 && cn != 3) || !CV_ARE_CNS_EQ( src, dst ))
578 func = (CvGetRectSubPixFunc)(gr_tab[cn != 1].fn_2d[CV_MAT_DEPTH(src->type)]);
585 func = (CvGetRectSubPixFunc)(gr_tab[cn != 1].fn_2d[1]);
819 int k, cn; local
837 cn = CV_MAT_CN( src->type );
839 if( (cn != 1 && cn !
[all...]
H A Dcvutils.cpp113 int top, int left, int cn, const uchar* )
118 if( srcstep == dststep && dst + dststep*top + left*cn == src &&
122 cn == 1 ? icvCopyReplicateBorder_8u_C1IR_p :
123 cn == 2 ? icvCopyReplicateBorder_16s_C1IR_p :
124 cn == 3 ? icvCopyReplicateBorder_8u_C3IR_p :
125 cn == 4 ? icvCopyReplicateBorder_32s_C1IR_p :
126 cn == 6 ? icvCopyReplicateBorder_16s_C3IR_p :
127 cn == 8 ? icvCopyReplicateBorder_16s_C4IR_p :
128 cn == 12 ? icvCopyReplicateBorder_32s_C3IR_p :
129 cn
111 icvCopyReplicateBorder_8u( const uchar* src, int srcstep, CvSize srcroi, uchar* dst, int dststep, CvSize dstroi, int top, int left, int cn, const uchar* ) argument
334 icvCopyConstBorder_8u( const uchar* src, int srcstep, CvSize srcroi, uchar* dst, int dststep, CvSize dstroi, int top, int left, int cn, const uchar* value ) argument
[all...]
/external/opencv/cxcore/src/
H A Dcxlut.cpp103 #define ICV_DEF_LUT_FUNC_8U_CN( flavor, dsttype, cn ) \
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
222 int depth, cn, lut_cn; local
[all...]
H A Dcxminmaxloc.cpp48 #define CV_MINMAXLOC_ENTRY( _toggle_, srctype, temptype, cn ) \
51 int x, loc = 0, width = size.width*(cn); \
67 #define ICV_DEF_MINMAXLOC_1D_CASE_COI( _toggle_, temptype, cn ) \
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 ) \
171 if( width*(cn) == step && width == maskStep ) \
184 min_val = (src)[x*(cn)]; \
298 int type, depth, cn, coi = 0; local
[all...]
/external/opencv/otherlibs/highgui/
H A Dloadsave.cpp401 int cn; local
433 cn = iscolor ? 3 : 1;
442 CV_CALL( matrix = cvCreateMat( size.height, size.width, CV_MAKETYPE(type, cn) ));
451 CV_CALL( image = cvCreateImage( size, type, cn ));
/external/chromium_org/third_party/boringssl/src/crypto/cipher/
H A Dcipher_test.c127 const uint8_t *ciphertext, int cn, const uint8_t *aad, int an,
141 hexdump(stdout, "Ciphertext", ciphertext, cn);
195 if (outl + outl2 != cn) {
197 outl + outl2, cn);
201 if (memcmp(out, ciphertext, cn)) {
203 hexdump(stderr, "Got", out, cn);
204 hexdump(stderr, "Expected", ciphertext, cn);
260 if (!EVP_DecryptUpdate(&ctx, out, &outl, ciphertext, cn)) {
293 int pn, const uint8_t *ciphertext, int cn,
325 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, aa
125 test1(const EVP_CIPHER *c, const uint8_t *key, int kn, const uint8_t *iv, int in, const uint8_t *plaintext, int pn, const uint8_t *ciphertext, int cn, const uint8_t *aad, int an, const uint8_t *tag, int tn, int encdec) argument
291 test_cipher(const char *cipher, const uint8_t *key, int kn, const uint8_t *iv, int in, const uint8_t *plaintext, int pn, const uint8_t *ciphertext, int cn, const uint8_t *aad, int an, const uint8_t *tag, int tn, int encdec) argument
358 int kn, in, pn, cn; local
[all...]
/external/clang/test/CXX/drs/
H A Ddr5xx.cpp152 void test(int n, const int cn, int **p, int *S::*pm) { argument
158 b1(cn);
/external/openssl/crypto/evp/
H A Devp_test.c139 const unsigned char *ciphertext,int cn,
152 hexdump(stdout,"Ciphertext",ciphertext,cn);
184 if(outl+outl2 != cn)
187 outl+outl2,cn);
191 if(memcmp(out,ciphertext,cn))
194 hexdump(stderr,"Got",out,cn);
195 hexdump(stderr,"Expected",ciphertext,cn);
210 if(!EVP_DecryptUpdate(&ctx,out,&outl,ciphertext,cn))
247 const unsigned char *ciphertext,int cn,
256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encde
136 test1(const EVP_CIPHER *c,const unsigned char *key,int kn, const unsigned char *iv,int in, const unsigned char *plaintext,int pn, const unsigned char *ciphertext,int cn, int encdec) argument
244 test_cipher(const char *cipher,const unsigned char *key,int kn, const unsigned char *iv,int in, const unsigned char *plaintext,int pn, const unsigned char *ciphertext,int cn, int encdec) argument
261 test_digest(const char *digest, const unsigned char *plaintext,int pn, const unsigned char *ciphertext, unsigned int cn) argument
371 int kn,in,pn,cn; local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
H A DRFC4519Style.java22 public static final ASN1ObjectIdentifier cn = new ASN1ObjectIdentifier("2.5.4.3"); field in class:RFC4519Style
79 DefaultSymbols.put(cn, "cn");
123 DefaultLookUp.put("cn", cn);
/external/chromium_org/net/cert/
H A Dcert_verify_proc.cc354 const std::string& cn = cert->subject().common_name; local
359 if (cn.size() > arraysize(kCloudFlareCNSuffix) - 1 &&
360 cn.compare(cn.size() - (arraysize(kCloudFlareCNSuffix) - 1),
/external/chromium_org/v8/src/compiler/
H A Dcode-generator.cc152 int cn = Script::GetColumnNumber(info->script(), code_pos); local
156 file->ToCString().get(), ln, cn);
159 "-- <unknown>:%d:%d --", ln, cn);
/external/llvm/lib/LTO/
H A DLTOModule.cpp179 Constant *cn = gvn->getInitializer(); local
180 if (ConstantDataArray *ca = dyn_cast<ConstantDataArray>(cn)) {

Completed in 1656 milliseconds

123