OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FlagSet
(Results
1 - 8
of
8
) sorted by null
/external/toolchain-utils/bestflags/
flags_test.py
16
from flags import
FlagSet
100
"""This class test the
FlagSet
class."""
103
"""Test the equal method of the Class
FlagSet
.
105
Two
FlagSet
instances are equal if all their flags are equal.
114
assert
FlagSet
([Flag(spec)]) ==
FlagSet
([Flag(spec)])
119
flag_set =
FlagSet
([Flag(spec)])
123
assert flag_set !=
FlagSet
([Flag(other_spec)])
126
"""Test the get item method of the Class
FlagSet
.
137
flag_set =
FlagSet
(flag_array
[
all
...]
hill_climb_best_neighbor.py
15
from flags import
FlagSet
101
new_task = Task(
FlagSet
(next_flag.values()))
testing_batch.py
21
from flags import
FlagSet
73
return set([Task(
FlagSet
(flag_set))])
100
return set([Task(
FlagSet
(flag_set))])
104
return set([Task(
FlagSet
([]))])
124
new_flag =
FlagSet
([Flag(spec) for spec in specs if random.randint(0, 1)])
223
parent_task = Task(flags.
FlagSet
(flag_set))
227
results.add(Task(flags.
FlagSet
(_GenerateInitialFlags(specs, spec))))
flags.py
9
contains the basic Class Flag and the Class
FlagSet
. The core abstractions are:
14
The class
FlagSet
, which contains a number of flags and can create new FlagSets
89
FlagSet
.
155
class
FlagSet
(object):
166
return isinstance(other,
FlagSet
) and self._flags == other.GetFlags()
genetic_algorithm.py
15
from flags import
FlagSet
85
return GATask(
FlagSet
(results_flags))
94
"""Reproduce with other
FlagSet
.
97
other: A
FlagSet
to reproduce with.
140
return RandomMutate(specs,
FlagSet
(output_flags), mutation_rate)
142
return GATask(
FlagSet
(output_flags))
iterative_elimination.py
155
flag_set = flags.
FlagSet
(_DecreaseFlag(work_flags_set, spec).values())
/external/clang/lib/Driver/
Multilib.cpp
100
llvm::StringMap<int>
FlagSet
;
103
llvm::StringMap<int>::iterator SI =
FlagSet
.find(Flag.substr(1));
107
if (SI ==
FlagSet
.end())
108
FlagSet
[Flag.substr(1)] = I;
246
llvm::StringMap<bool>
FlagSet
;
248
// Stuff all of the flags into the
FlagSet
such that a true mappend indicates
251
FlagSet
[Flag.substr(1)] = isFlagEnabled(Flag);
253
multilib_list Filtered = filterCopy([&
FlagSet
](const Multilib &M) {
255
llvm::StringMap<bool>::const_iterator SI =
FlagSet
.find(Flag.substr(1));
256
if (SI !=
FlagSet
.end()
[
all
...]
/external/gflags/src/
gflags_completions.cc
196
typedef set<const CommandLineFlagInfo *>
FlagSet
;
197
FlagSet
perfect_match_flag;
198
FlagSet
module_flags; // Found in module file
199
FlagSet
package_flags; // Found in same directory as module file
200
FlagSet
most_common_flags; // One of the XXX most commonly supplied flags
201
FlagSet
subpackage_flags; // Found in subdirectories of package
Completed in 134 milliseconds