/external/chromium_org/chrome/third_party/mozilla_security_manager/ |
nsNSSCertificate.cpp | 52 char* cn = CERT_GetCommonName(&cert->subject); local 53 if (cn) { 54 rv = cn; 55 PORT_Free(cn);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyInstrumentationEvent.java | 41 ComponentName cn = ComponentName.unflattenFromString(mRunnerName); local 42 if (cn == null || mTestCaseName == null) 48 iam.startInstrumentation(cn, null, 0, args, null, null, 0, null);
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
residual_energy16_FIX.c | 46 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/ |
residual_energy16_FIX.c | 46 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/chromium_org/testing/android/junit/java/src/org/chromium/testing/local/ |
JunitTestMain.java | 43 String cn = je.getName(); local 44 if (!cn.endsWith(CLASS_FILE_EXT) || cn.indexOf('$') != -1) { 47 cn = cn.substring(0, cn.length() - CLASS_FILE_EXT.length()); 48 cn = FORWARD_SLASH.matcher(cn).replaceAll("."); 49 Class<?> c = classOrNull(cn);
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
PinListEntry.java | 35 /** The Common Name (CN) as used on the SSL certificate */ 36 private final String cn; field in class:PinListEntry 49 return cn; 66 // entry must have a CN, an enforcement value, and at least one pin 70 // get the cn 71 cn = values[0]; // is there more validation we can do here? 154 PinFailureLogger.log(cn, containsUserCert, enforcing, chain);
|
CertPinManager.java | 141 String cn = hostnameCache.get(hostname); local 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); 151 // we have a matching CN, return that entry 152 return entries.get(cn); 155 // if we got here, we don't have a matching CN for this hostnam [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
OkHostnameVerifier.java | 108 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn"); local 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) { 155 if (hostName == null || hostName.length() == 0 || cn == null || cn.length() == 0) { 159 cn = cn.toLowerCase(Locale.US) [all...] |
/external/apache-http/src/org/apache/http/conn/ssl/ |
AbstractVerifier.java | 129 // first CN provided. All other CNs are ignored. 144 String msg = "Certificate for <" + host + "> doesn't contain CN or DNS subjectAlt"; 156 // Don't trim the CN, though! 157 String cn = it.next(); local 158 cn = cn.toLowerCase(Locale.ENGLISH); 159 // Store CN in StringBuffer in case we need to report an error. 161 buf.append(cn); 167 // The CN better have at least two dots if it wants wildcard 170 boolean doWildcard = cn.startsWith("*.") & [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/cipher/ |
cipher_test.c | 127 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, aad, an, tag, tn 358 int kn, in, pn, cn; local [all...] |
/external/opencv/cv/src/ |
cvsumpixels.cpp | 213 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...] |
cvsamplers.cpp | 548 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 [all...] |
cvthresh.cpp | 311 int ithresh, imaxval, cn; local 323 cn = CV_MAT_CN(src->type); 324 if( cn > 1 )
|
/external/opencv/cxcore/src/ |
cxlut.cpp | 103 #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+k]; 222 int depth, cn, lut_cn; local [all...] |
cxminmaxloc.cpp | 48 #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...] |
cxnorm.cpp | 77 _update_op_, worktype, len, cn ) \ 81 worktype t0 = (src)[x*(cn)]; \ 119 #define ICV_NORM_DIFF_COI_CASE( _op_, _update_op_, worktype, len, cn ) \ 122 worktype t0 = (src1)[x*(cn)] - (src2)[x*(cn)]; \ 220 CvSize size, int cn, int coi, double* _norm ) \ 237 worktype, limit, cn ); \ 257 CvSize size, int cn, int coi, double* _norm ) \ 267 worktype, size.width, cn ); \ 365 int cn, int coi, double* _norm ) 977 int type, depth, cn, is_relative; local [all...] |
/external/opencv/otherlibs/highgui/ |
loadsave.cpp | 401 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/openssl/crypto/evp/ |
evp_test.c | 139 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,encdec) 371 int kn,in,pn,cn; local [all...] |
/cts/tests/print/src/android/print/cts/ |
PrintInstrument.java | 114 ComponentName cn = ComponentName.unflattenFromString(cnArg); local 115 if (cn == null) throw new IllegalArgumentException("Bad component name: " + cnArg); 134 if (!mAm.startInstrumentation(cn, profileFile, 0, args, watcher, connection, userId, null)) { 135 throw new AndroidException("INSTRUMENTATION_FAILED: " + cn.flattenToString());
|
/external/chromium_org/net/cert/ |
cert_verify_proc.cc | 294 // Subject: CN=mail.google.com 297 // Subject: CN=global trustee 301 // Subject: CN=login.live.com 304 // Subject: CN=addons.mozilla.org 307 // Subject: CN=login.skype.com 310 // Subject: CN=login.yahoo.com 313 // Subject: CN=www.google.com 316 // Subject: CN=login.yahoo.com 319 // Subject: CN=login.yahoo.com 349 // all certificates where the CN ends with ".cloudflare.com" with a prio 354 const std::string& cn = cert->subject().common_name; local [all...] |
/external/llvm/lib/LTO/ |
LTOModule.cpp | 179 Constant *cn = gvn->getInitializer(); local 180 if (ConstantDataArray *ca = dyn_cast<ConstantDataArray>(cn)) {
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherWidgetProvider.java | 46 WeatherDataProviderObserver(AppWidgetManager mgr, ComponentName cn, Handler h) { 49 mComponentName = cn; 96 final ComponentName cn = new ComponentName(context, WeatherWidgetProvider.class); local 97 sDataObserver = new WeatherDataProviderObserver(mgr, cn, sWorkerQueue); 133 final ComponentName cn = new ComponentName(context, WeatherWidgetProvider.class); 134 mgr.notifyAppWidgetViewDataChanged(mgr.getAppWidgetIds(cn), R.id.weather_list);
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherWidgetProvider.java | 46 WeatherDataProviderObserver(AppWidgetManager mgr, ComponentName cn, Handler h) { 49 mComponentName = cn; 96 final ComponentName cn = new ComponentName(context, WeatherWidgetProvider.class); local 97 sDataObserver = new WeatherDataProviderObserver(mgr, cn, sWorkerQueue); 133 final ComponentName cn = new ComponentName(context, WeatherWidgetProvider.class); 134 mgr.notifyAppWidgetViewDataChanged(mgr.getAppWidgetIds(cn), R.id.weather_list);
|
/external/chromium_org/v8/src/compiler/ |
code-generator.cc | 152 int cn = Script::GetColumnNumber(info->script(), code_pos); local 156 file->ToCString().get(), ln, cn); 159 "-- <unknown>:%d:%d --", ln, cn);
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
CheckClassAdapter.java | 181 ClassNode cn = new ClassNode();
local 182 cr.accept(new CheckClassAdapter(cn), ClassReader.SKIP_DEBUG);
184 Type syperType = cn.superName == null
186 : Type.getObjectType(cn.superName);
187 List methods = cn.methods;
190 Analyzer a = new Analyzer(new SimpleVerifier(Type.getObjectType(cn.name),
194 a.analyze(cn.name, method);
|