Searched refs:specs (Results 1 - 25 of 59) sorted by relevance

123

/external/toolchain-utils/bestflags/
H A Dtesting_batch.py45 def _GenerateRandomRasks(specs):
49 specs: A list of spec from which the flag set is created.
57 for spec in specs:
76 def _GenerateAllFlagsTasks(specs):
79 All the boolean flags in the specs will be enabled and all the numeric flag
83 specs: A list of spec from which the flag set is created.
91 for spec in specs:
107 def GenerateRandomGATasks(specs, num_tasks, num_trials):
111 specs: A list of spec from which the flag set is created.
124 new_flag = FlagSet([Flag(spec) for spec in specs i
[all...]
H A Dgenetic_algorithm.py38 def RandomMutate(specs, flag_set, mutation_rate):
42 specs: A list of spec from which the flag set is created.
52 for spec in specs:
93 def ReproduceWith(self, other, specs, mutation_rate):
98 specs: A list of spec from which the flag set is created.
140 return RandomMutate(specs, FlagSet(output_flags), mutation_rate)
168 def InitMetaData(stop_threshold, num_chromosomes, num_trials, specs,
178 specs: The flags that can be used to generate new tasks.
185 GAGeneration.SPECS = specs
244 specs
[all...]
H A Dflags_test.py128 The flag set is also indexed by the specs. The flag set should return the
134 specs = [str(spec) for spec in tests]
135 flag_array = [Flag(spec) for spec in specs]
141 spec_flag = dict(zip(specs, flag_array))
149 The flag set is also indexed by the specs. The flag set should return true
156 specs = [str(spec) for spec in true_tests]
158 flag_set = FlagSet([Flag(spec) for spec in specs])
160 for spec in specs:
H A Dhill_climb_best_neighbor.py28 def __init__(self, exe_set, parents, specs):
35 specs: A list of specs to explore. The spec specifies the flags that can
40 self._specs = specs
H A Dexample_algorithms.py111 specs = flags.ReadConf(conf_file)
117 GAGeneration.InitMetaData(stop_threshold, num_chromosomes, num_trials, specs,
121 generation_tasks = testing_batch.GenerateRandomGATasks(specs, num_chromosomes,
/external/autotest/frontend/client/src/autotest/common/table/
H A DJSONObjectComparator.java12 public JSONObjectComparator(SortSpec[] specs) { argument
13 sortSpecs = new SortSpec[specs.length];
14 System.arraycopy(specs, 0, sortSpecs, 0, specs.length);
/external/autotest/server/cros/dynamic_suite/
H A Dhost_spec_unittest.py94 specs = [host_spec.HostSpec(['l1']), host_spec.HostSpec(['l2'])]
95 hosts_per_spec = {specs[0]: host_list[:1], specs[1]: host_list[1:]}
98 # Reimage just the one host that satisfies specs[0].
101 self.assertTrue(specs[1] in group.doomed_specs)
103 # Reimage some host that satisfies specs[1].
112 specs = [host_spec.HostSpec(['l1']),
115 hosts_per_spec = {specs[0]: host_list[:1],
116 specs[1]: host_list[1:2],
117 specs[
[all...]
/external/emma/ant/ant14/com/vladium/emma/instr/
H A DFilterCfg.java45 final String [] specs = Strings.merge (new String [] {value}, COMMA_DELIMITERS, true);
47 for (int i = 0; i < specs.length; ++ i)
49 final String spec = specs [i];
73 final String [] specs = Strings.merge (new String [] {value}, COMMA_DELIMITERS, true);
75 for (int i = 0; i < specs.length; ++ i)
77 final String spec = specs [i];
95 final String [] specs = Strings.merge (new String [] {value}, COMMA_DELIMITERS, true);
97 for (int i = 0; i < specs.length; ++ i)
99 final String spec = specs [i];
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.sat4j.core_2.2.0.v20100429.jar ... lang.String) protected void solve (org.sat4j.specs.IProblem) throws org.sat4j.specs.TimeoutException ...
H A Dorg.sat4j.pb_2.2.0.v20100429.jar ... .specs.IVecInt, boolean) throws org.sat4j.specs.TimeoutException public org.sat4j.specs.IConstr ...
/external/emma/core/java12/com/vladium/emma/filter/
H A DIInclExclFilter.java60 final String [] specs = new String [_specs.size ()];
61 _specs.toArray (specs);
63 return create (specs);
67 public static IInclExclFilter create (final String [] specs) argument
69 if ((specs == null) || (specs.length == 0))
75 for (int i = 0, iLimit = specs.length; i < iLimit; ++ i)
77 final String spec = specs [i];
/external/selinux/libselinux/utils/
H A Dsefcontext_compile.c89 * u32 - The specs prefix_len if >= SELINUX_COMPILED_FCONTEXT_PREFIX_LEN
98 struct spec *specs = data->spec_arr; local
178 char *context = specs[i].lr.ctx_raw;
179 char *regex_str = specs[i].regex_str;
180 mode_t mode = specs[i].mode;
181 size_t prefix_len = specs[i].prefix_len;
182 int32_t stem_id = specs[i].stem_id;
183 struct regex_data *re = specs[i].regex;
220 to_write = specs[i].hasMetaChars;
248 struct spec *specs local
[all...]
/external/icu/icu4c/source/i18n/
H A Dtridpars.cpp222 Specs* specs = parseFilterID(id, pos, TRUE); local
223 if (specs == NULL) {
229 SingleID* single = specsToID(specs, FORWARD);
231 single->filter = specs->filter;
233 delete specs;
694 * at any location between specs or delimiters, and is returned
817 TransliteratorIDParser::specsToID(const Specs* specs, int32_t dir) { argument
821 if (specs != NULL) {
824 if (specs->sawSource) {
825 buf.append(specs
855 specsToSpecialInverse(const Specs& specs, UErrorCode &status) argument
[all...]
H A Dtridpars.h310 * at any location between specs or delimiters, and is returned
326 * @param specs the given Specs object.
331 static SingleID* specsToID(const Specs* specs, int32_t dir);
337 * @param specs the given Specs.
341 static SingleID* specsToSpecialInverse(const Specs& specs, UErrorCode &status);
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DTransliteratorIDParser.java154 Specs specs = parseFilterID(id, pos, true);
155 if (specs == null) {
161 SingleID single = specsToID(specs, FORWARD);
162 single.filter = specs.filter;
584 * at any location between specs or delimiters, and is returned
701 private static SingleID specsToID(Specs specs, int dir) { argument
705 if (specs != null) {
708 if (specs.sawSource) {
709 buf.append(specs.source).append(TARGET_SEP);
711 basicPrefix = specs
736 specsToSpecialInverse(Specs specs) argument
[all...]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliteratorIDParser.java153 Specs specs = parseFilterID(id, pos, true);
154 if (specs == null) {
160 SingleID single = specsToID(specs, FORWARD);
161 single.filter = specs.filter;
583 * at any location between specs or delimiters, and is returned
700 private static SingleID specsToID(Specs specs, int dir) { argument
704 if (specs != null) {
707 if (specs.sawSource) {
708 buf.append(specs.source).append(TARGET_SEP);
710 basicPrefix = specs
735 specsToSpecialInverse(Specs specs) argument
[all...]
/external/skia/src/gpu/
H A DGrRenderTarget.cpp116 const GrGpu::MultisampleSpecs& specs = gpu->queryMultisampleSpecs(pipeline); local
117 fRenderTarget->fMultisampleSpecsID = specs.fUniqueID;
118 return specs;
/external/skia/tests/
H A DGpuSampleLocationsTest.cpp110 const GrGpu::MultisampleSpecs& specs, bool flipY) {
111 GrAlwaysAssert(specs.fSampleLocations);
112 if ((int)pattern.size() != specs.fEffectiveSampleCnt) {
116 for (int i = 0; i < specs.fEffectiveSampleCnt; ++i) {
117 SkPoint expectedLocation = specs.fSampleLocations[i];
109 assert_equal(skiatest::Reporter* reporter, const SamplePattern& pattern, const GrGpu::MultisampleSpecs& specs, bool flipY) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DBouncyCastleProviderConfiguration.java183 DHParameterSpec[] specs = (DHParameterSpec[])params;
185 for (int i = 0; i != specs.length; i++)
187 if (specs[i].getP().bitLength() == keySize)
189 return specs[i];
/external/selinux/libselinux/src/
H A Dlabel_db.c82 unsigned int nspec; /* number of specs in use */
83 unsigned int limit; /* physical limitation of specs[] */
84 spec_t specs[0]; member in struct:catalog
94 spec_t *spec = &catalog->specs[catalog->nspec];
182 spec = &catalog->specs[i];
201 spec = &catalog->specs[i];
227 total += catalog->specs[i].matches;
336 spec_t *spec = &catalog->specs[i];
H A Dlabel_file.h114 struct spec *specs; local
123 specs = realloc(data->spec_arr, total_specs * sizeof(*specs));
124 if (!specs) {
130 memset(&specs[data->nspec], 0, new_specs * sizeof(*specs));
132 data->spec_arr = specs;
H A Dlabel_file.c844 struct spec **specs; local
854 specs = calloc(n+1, sizeof(struct spec *));
855 if (!specs)
857 specs[0] = lookup_common(rec, key, type, false);
858 if (specs[0]) {
859 if (!specs[0]->hasMetaChars) {
861 lr = &specs[0]->lr;
865 prefix_len = specs[0]->prefix_len;
868 specs[i] = lookup_common(rec, aliases[i-1], type, false);
869 if (specs[
[all...]
/external/skia/src/gpu/glsl/
H A DGrGLSLFragmentShaderBuilder.cpp303 const GrGpu::MultisampleSpecs& specs = rtp.getMultisampleSpecs(pipeline); local
305 offsets.push_back_n(specs.fEffectiveSampleCnt);
306 m.mapPoints(offsets.begin(), specs.fSampleLocations, specs.fEffectiveSampleCnt);
308 for (int i = 0; i < specs.fEffectiveSampleCnt; ++i) {
310 this->definitions().append(i + 1 != specs.fEffectiveSampleCnt ? ", " : ");\n");
/external/zlib/src/nintendods/
H A DMakefile38 LDFLAGS = -specs=ds_arm9.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
/external/aac/libAACenc/src/
H A Dband_nrg.cpp301 FIXP_DBL NrgMid, NrgSide, specm, specs; local
314 specs = specL - specR;
316 NrgSide = fPow2AddDiv2(NrgSide, specs);
323 specs = specL - specR;
325 NrgSide = fPow2AddDiv2(NrgSide, specs);

Completed in 4851 milliseconds

123