Searched refs:flag_set (Results 1 – 8 of 8) sorted by relevance
/external/toolchain-utils/bestflags/ |
D | task_test.py | 67 for flag_set in flag_sets: 68 assert Task(flag_set) == Task(flag_set) 71 for flag_set in flag_sets: 72 test_task = Task(flag_set) 73 other_flag_sets = [flags for flags in flag_sets if flags != flag_set] 87 for flag_set in flag_sets: 89 hash_task = Task(flag_set) 91 assert hash_value == flag_set.GetHash() 103 for flag_set in flag_sets: 104 identifier_task = Task(flag_set) [all …]
|
D | testing_batch.py | 55 flag_set = [] 67 flag_set.append(Flag(spec, value)) 71 flag_set.append(Flag(spec)) 73 return set([Task(FlagSet(flag_set))]) 89 flag_set = [] 98 flag_set.append(Flag(spec, value)) 100 return set([Task(FlagSet(flag_set))]) 160 flag_set = [] 169 flag_set.append(flags.Flag(other_spec, end - 2)) 177 flag_set.append(flags.Flag(other_spec, end - 1)) [all …]
|
D | flags_test.py | 119 flag_set = FlagSet([Flag(spec)]) 123 assert flag_set != FlagSet([Flag(other_spec)]) 137 flag_set = FlagSet(flag_array) 144 assert flag_set[spec] == spec_flag[spec] 158 flag_set = FlagSet([Flag(spec) for spec in specs]) 161 assert spec in flag_set 164 assert spec not in flag_set 183 flag_set = FlagSet(flags) 186 assert sorted(result) == flag_set.FormattedForUse()
|
D | genetic_algorithm.py | 38 def RandomMutate(specs, flag_set, mutation_rate): argument 58 if spec not in flag_set: 70 value = flag_set[spec].GetValue() 90 def __init__(self, flag_set): argument 91 Task.__init__(self, flag_set)
|
D | hill_climb_best_neighbor.py | 95 flag_set = current_task.GetFlags() 100 for next_flag in flags_util.ClimbNext(flag_set.GetFlags(), spec):
|
D | iterative_elimination.py | 155 flag_set = flags.FlagSet(_DecreaseFlag(work_flags_set, spec).values()) 156 new_task = task.Task(flag_set)
|
D | task.py | 80 def __init__(self, flag_set): argument 87 self._flag_set = flag_set
|
/external/scapy/scapy/ |
D | fields.py | 1312 for flag_set in x: 1314 if val.short == flag_set: 1318 r |= 1 << int(flag_set[len('bit '):]) 1349 for flag_set in x: 1351 if i.short == flag_set: 1355 r.add(flag_set)
|