/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
BCDHPrivateKey.java | 10 import javax.crypto.spec.DHParameterSpec; 11 import javax.crypto.spec.DHPrivateKeySpec; 54 DHPrivateKeySpec spec) 56 this.x = spec.getX(); 57 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG());
|
BCDHPublicKey.java | 9 import javax.crypto.spec.DHParameterSpec; 10 import javax.crypto.spec.DHPublicKeySpec; 36 DHPublicKeySpec spec) 38 this.y = spec.getY(); 39 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG());
|
/external/deqp/scripts/egl/ |
proc_address_tests.py | 79 spec = khr_util.registry.InterfaceSpec() 80 spec.addExtension(extension, api) 81 iface = khr_util.registry.createInterface(registry, spec, api) 103 spec = khr_util.registry.InterfaceSpec() 108 spec.addFeature(feature, api) 110 return khr_util.registry.createInterface(registry, spec, api)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DataDrivenFormatTest.java | 89 String spec = currentCase.getString("spec"); local 103 // parse 'spec' - either 'PATTERN=yy mm dd' or 'DATE=x,TIME=y' 104 if(spec.startsWith(kPATTERN)) { 105 pattern = spec.substring(kPATTERN.length()); 110 styleSet.parseFrom(spec);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DataDrivenFormatTest.java | 85 String spec = currentCase.getString("spec"); local 99 // parse 'spec' - either 'PATTERN=yy mm dd' or 'DATE=x,TIME=y' 100 if(spec.startsWith(kPATTERN)) { 101 pattern = spec.substring(kPATTERN.length()); 106 styleSet.parseFrom(spec);
|
/external/selinux/policycoreutils/sepolicy/ |
sepolicy-generate.8 | 76 .B RPM Spec File NAME_selinux.spec 78 This file is an RPM SPEC file that can be used to install the SELinux policy on to machines and setup the labeling. The spec file also installs the interface file and a man page describing the policy. You can use \fBsepolicy manpage \-d NAME\fP to generate the man page. 169 rwhod_selinux.spec # Spec file
|
/frameworks/compile/mclinker/lib/Script/ |
OutputSectDesc.cpp | 183 InputSectDesc::Spec spec; local 184 spec.m_pWildcardFile = NULL; 185 spec.m_pExcludeFiles = NULL; 186 spec.m_pWildcardSections = NULL; 187 InputSectDesc inputDesc(InputSectDesc::Keep, spec, *this);
|
/frameworks/rs/api/ |
Specification.h | 20 // See Generator.cpp for documentation of the .spec file format. 45 const char* specType; // Name found in the .spec file 58 /* Corresponds to one parameter line in a .spec file. These will be parsed when 83 std::string specType; // The type found in the spec, e.g. "f16" 94 std::string specName; // e.g. x, as found in the spec file 138 /* Scan the version info from the spec file. maxApiLevel specifies the maximum level 198 void addSpecification(ConstantSpecification* spec) { mSpecifications.push_back(spec); } 214 void addSpecification(TypeSpecification* spec) { mSpecifications.push_back(spec); } [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumLabelMaker.java | 51 public AlbumLabelMaker(Context context, AlbumSetSlotRenderer.LabelSpec spec) { 53 mSpec = spec; 54 mTitlePaint = getTextPaint(spec.titleFontSize, spec.titleColor, false); 55 mCountPaint = getTextPaint(spec.countFontSize, spec.countColor, false);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
ActualKeyboardBuilder.java | 103 public String stringize(final MoreKeySpec spec) { 104 if (spec == null) { 107 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode);
|
/prebuilts/go/darwin-x86/src/go/ast/ |
resolve.go | 111 for _, spec := range file.Imports { 116 path, _ := strconv.Unquote(spec.Path.Value) 119 p.errorf(spec.Path.Pos(), "could not import %s (%s)", path, err) 129 if spec.Name != nil { 130 name = spec.Name.Name 145 obj.Decl = spec
|
/prebuilts/go/linux-x86/src/go/ast/ |
resolve.go | 111 for _, spec := range file.Imports { 116 path, _ := strconv.Unquote(spec.Path.Value) 119 p.errorf(spec.Path.Pos(), "could not import %s (%s)", path, err) 129 if spec.Name != nil { 130 name = spec.Name.Name 145 obj.Decl = spec
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParametersTest.java | 30 import java.security.spec.AlgorithmParameterSpec; 31 import java.security.spec.DSAParameterSpec; 32 import java.security.spec.InvalidParameterSpecException; 280 * @tests java.security.AlgorithmParameters#init(java.security.spec.AlgorithmParameterSpec) 288 final MyAlgorithmParameterSpec spec = new MyAlgorithmParameterSpec(); local 293 assertSame(spec, paramSpec); 301 params.init(spec); 308 params.init(spec); 317 params.init(spec); 326 params.init(spec); 537 DSAParameterSpec spec = params.getParameterSpec(DSAParameterSpec.class); local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_lighttmp.h | 90 GLfloat sum[2][3], spec[2][3]; local 102 ZERO_3V(spec[0]); 106 ZERO_3V(spec[1]); 210 ACC_SCALE_SCALAR_3V( spec[side], spec_coef, 217 COPY_3V( Fspec[j], spec[0] ); 222 COPY_3V( Bspec[j], spec[1] ); 486 GLfloat spec = lookup_shininess(ctx, 1, n_dot_h); local 487 ACC_SCALE_SCALAR_3V(sum, spec, light->_MatSpecular[1]); 500 GLfloat spec = lookup_shininess(ctx, 0, n_dot_h); local 501 ACC_SCALE_SCALAR_3V(sum, spec, light->_MatSpecular[0]) 579 GLfloat n_dot_h, n_dot_VP, spec; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParametersTest.java | 31 import java.security.spec.AlgorithmParameterSpec; 32 import java.security.spec.DSAParameterSpec; 33 import java.security.spec.InvalidParameterSpecException; 352 * java.security.AlgorithmParameters#init(java.security.spec.AlgorithmParameterSpec) 360 final MyAlgorithmParameterSpec spec = new MyAlgorithmParameterSpec(); local 365 assertSame(spec, paramSpec); 373 params.init(spec); 380 params.init(spec); 389 params.init(spec); 398 params.init(spec); 609 DSAParameterSpec spec = params.getParameterSpec(DSAParameterSpec.class); local [all...] |
/external/icu/icu4c/source/io/ |
uprntf_p.c | 101 u_printf_spec_info fInfo; /* Information on this spec */ 1219 u_printf_spec spec; local [all...] |
/external/chromium-trace/catapult/third_party/flot/ |
jquery.flot.time.min.js | 7 (function($){var options={xaxis:{timezone:null,timeformat:null,twelveHourClock:false,monthNames:null}};function floorInBase(n,base){return base*Math.floor(n/base)}function formatDate(d,fmt,monthNames,dayNames){if(typeof d.strftime=="function"){return d.strftime(fmt)}var leftPad=function(n,pad){n=""+n;pad=""+(pad==null?"0":pad);return n.length==1?pad+n:n};var r=[];var escape=false;var hours=d.getHours();var isAM=hours<12;if(monthNames==null){monthNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}if(dayNames==null){dayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}var hours12;if(hours>12){hours12=hours-12}else if(hours==0){hours12=12}else{hours12=hours}for(var i=0;i<fmt.length;++i){var c=fmt.charAt(i);if(escape){switch(c){case"a":c=""+dayNames[d.getDay()];break;case"b":c=""+monthNames[d.getMonth()];break;case"d":c=leftPad(d.getDate());break;case"e":c=leftPad(d.getDate()," ");break;case"h":case"H":c=leftPad(hours);break;case"I":c=leftPad(hours12);break;case"l":c=leftPad(hours12," ");break;case"m":c=leftPad(d.getMonth()+1);break;case"M":c=leftPad(d.getMinutes());break;case"q":c=""+(Math.floor(d.getMonth()/3)+1);break;case"S":c=leftPad(d.getSeconds());break;case"y":c=leftPad(d.getFullYear()%100);break;case"Y":c=""+d.getFullYear();break;case"p":c=isAM?""+"am":""+"pm";break;case"P":c=isAM?""+"AM":""+"PM";break;case"w":c=""+d.getDay();break}r.push(c);escape=false}else{if(c=="%"){escape=true}else{r.push(c)}}}return r.join("")}function makeUtcWrapper(d){function addProxyMethod(sourceObj,sourceMethod,targetObj,targetMethod){sourceObj[sourceMethod]=function(){return targetObj[targetMethod].apply(targetObj,arguments)}}var utc={date:d};if(d.strftime!=undefined){addProxyMethod(utc,"strftime",d,"strftime")}addProxyMethod(utc,"getTime",d,"getTime");addProxyMethod(utc,"setTime",d,"setTime");var props=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"];for(var p=0;p<props.length;p++){addProxyMethod(utc,"get"+props[p],d,"getUTC"+props[p]);addProxyMethod(utc,"set"+props[p],d,"setUTC"+props[p])}return utc}function dateGenerator(ts,opts){if(opts.timezone=="browser"){return new Date(ts)}else if(!opts.timezone||opts.timezone=="utc"){return makeUtcWrapper(new Date(ts))}else if(typeof timezoneJS!="undefined"&&typeof timezoneJS.Date!="undefined"){var d=new timezoneJS.Date;d.setTimezone(opts.timezone);d.setTime(ts);return d}else{return makeUtcWrapper(new Date(ts))}}var timeUnitSize={second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3,month:30*24*60*60*1e3,quarter:3*30*24*60*60*1e3,year:365.2425*24*60*60*1e3};var baseSpec=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]];var specMonths=baseSpec.concat([[3,"month"],[6,"month"],[1,"year"]]);var specQuarters=baseSpec.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);function init(plot){plot.hooks.processOptions.push(function(plot,options){$.each(plot.getAxes(),function(axisName,axis){var opts=axis.options;if(opts.mode=="time"){axis.tickGenerator=function(axis){var ticks=[];var d=dateGenerator(axis.min,opts);var minSize=0;var spec=opts.tickSize&&opts.tickSize[1]==="quarter"||opts.minTickSize&&opts.minTickSize[1]==="quarter"?specQuarters:specMonths;if(opts.minTickSize!=null){if(typeof opts.tickSize=="number"){minSize=opts.tickSize}else{minSize=opts.minTickSize[0]*timeUnitSize[opts.minTickSize[1]]}}for(var i=0;i<spec.length-1;++i){if(axis.delta<(spec[i][0]*timeUnitSize[spec[i][1]]+spec[i+1][0]*timeUnitSize[spec[i+1][1]])/2&&spec[i][0]*timeUnitSize[spec[i][1]]>=minSize){break}}var size=spec[i][0];var unit=spec[i][1];if(unit=="year"){if(opts.minTickSize!=null&&opts.minTickSize[1]=="year"){size=Math.floor(opt (…) [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/ |
Code.java | 269 * Assigns registers to locals. From the spec: 295 sourcePosition, local.spec(), RegisterSpecList.EMPTY, paramConstant)); 389 RegisterSpecList.make(toThrow.spec()), catches)); 481 addInstruction(new PlainCstInsn(rop, sourcePosition, target.spec(), 495 sourcePosition, target.spec(), source.spec())); 505 target.spec(), source.spec())); 516 RegisterSpecList sources = RegisterSpecList.make(a.spec(), b.spec()); [all...] |
/external/icu/icu4c/source/test/intltest/ |
dadrfmt.cpp | 76 * Headers { "locale", "zone", "spec", "date", "str"} 79 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG' 80 // date: either an unsigned long (millis), or a calendar spec ERA=0,YEAR=1, etc.. applied to the calendar type specified by the locale 141 UnicodeString spec = currentCase->getString("spec", status); local 143 errln("case %d: No 'spec' line.", n); 162 if(spec.startsWith(kPATTERN)) { 163 pattern = UnicodeString(spec,kPATTERN.length()); 171 if(styleSet.parseFrom(spec, status)<0 || U_FAILURE(status)) { 172 errln("case %d: could not parse spec as style fields: %s", n, u_errorName(status)) [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_AlarmManagerService.cpp | 158 struct itimerspec spec; local 159 memset(&spec, 0, sizeof(spec)); 160 memcpy(&spec.it_value, ts, sizeof(spec.it_value)); 162 return timerfd_settime(fds[type], TFD_TIMER_ABSTIME, &spec, NULL); 398 struct itimerspec spec; local 399 memset(&spec, 0, sizeof(spec)); 404 TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &spec, NULL) [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
BinaryDictOffdeviceUtils.java | 99 * Returns the next sequential spec. If exhausted, return null. 226 @Nonnull DecoderChainSpec spec = new DecoderChainSpec(); local 227 while (null != spec) { 229 final InputStream input = spec.getStream(src); 230 spec.mResult = processor.process(input); 243 return spec; 246 // of these exceptions. In our case, that means we should try the next spec, 250 spec = spec.next(); 256 * Get a decoder chain spec with a raw dictionary file. This makes a new file on th [all...] |
/prebuilts/tools/common/m2/repository/javax/xml/bind/jaxb-api/2.2.12-b140109.1041/ |
jaxb-api-2.2.12-b140109.1041.pom | 104 <release.spec.feedback>spec-comments@jsr222.java.net</release.spec.feedback> 105 <release.spec.date>Dec 2009</release.spec.date> 315 ${project.name} specification, ${release.spec.date}<br> 316 Comments to: <i><a href='mailto:${release.spec.feedback}'>${release.spec.feedback}</a></i><br> 325 <br>Comments to: <a href='mailto:${release.spec.feedback}'><i>${release.spec.feedback}</i></a [all...] |
/external/deqp/modules/gles3/functional/ |
es3fBufferWriteTests.cpp | 84 DataStoreSpecVecBuilder& operator<< (const DataStoreSpec& spec) 86 list.push_back(spec); 240 for (vector<DataStoreSpec>::const_iterator spec = m_specs.begin(); spec != m_specs.end(); spec++) 244 refBuf.setSize(spec->size); 245 fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+spec->usage)) [all...] |
/external/v8/test/cctest/ |
test-feedback-vector.cc | 66 FeedbackVectorSpec spec(zone); 68 spec.AddGeneralSlot(); 71 spec.AddCallICSlot(); 73 vector = NewTypeFeedbackVector(isolate, &spec); 108 FeedbackVectorSpec spec(zone); 113 spec.AddGeneralSlot(); 116 spec.AddCallICSlot(); 119 spec.AddLoadICSlot(); 122 spec.AddKeyedLoadICSlot(); 127 Handle<TypeFeedbackVector> vector = NewTypeFeedbackVector(isolate, &spec); [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
LocalsArray.java | 88 * Sets the type for the local indicated by the given register spec 89 * to that register spec (which includes type and optional name 91 * {@code set(spec.getReg(), spec)}. 93 * @param spec {@code non-null;} register spec to use as the basis for the update 95 public abstract void set(RegisterSpec spec);
|