/external/chromium_org/sync/internal_api/public/base/ |
enum_set_unittest.cc | 29 TestEnumSet enums; local 36 const TestEnumSet enums; local 37 EXPECT_TRUE(enums.Empty()); 38 EXPECT_EQ(static_cast<size_t>(0), enums.Size()); 39 EXPECT_FALSE(enums.Has(TEST_0)); 40 EXPECT_FALSE(enums.Has(TEST_1)); 41 EXPECT_FALSE(enums.Has(TEST_2)); 42 EXPECT_FALSE(enums.Has(TEST_3)); 43 EXPECT_FALSE(enums.Has(TEST_4)); 47 const TestEnumSet enums(TEST_3) [all...] |
enum_set.h | 38 // If you're working with enums with a small number of possible values 63 // for (EnumSet<...>::Iterator it = enums.First(); it.Good(); it.Inc()) { 110 explicit Iterator(const EnumBitSet& enums) 111 : enums_(&enums), i_(FindNext(0)) {} 145 EnumBitSet enums; 146 enums.set(); 147 return EnumSet(enums); 232 explicit EnumSet(EnumBitSet enums) : enums_(enums) {}
|
/frameworks/compile/slang/ |
RSSpec.mk | 32 $(call generate-rs-spec-inc,clang-builtin-enums) 38 $(call generate-rs-spec-inc,rs-data-type-enums) 44 $(call generate-rs-spec-inc,rs-matrix-type-enums) 50 $(call generate-rs-spec-inc,rs-object-type-enums) 56 $(call generate-rs-spec-inc,rs-data-element-enums)
|
/external/chromium_org/tools/json_schema_compiler/test/ |
arrays_unittest.cc | 55 std::vector<EnumArrayType::TypesType> enums; local 56 enums.push_back(EnumArrayType::TYPES_TYPE_ONE); 57 enums.push_back(EnumArrayType::TYPES_TYPE_TWO); 58 enums.push_back(EnumArrayType::TYPES_TYPE_THREE); 61 for (size_t i = 0; i < enums.size(); ++i) 62 types->Append(new base::StringValue(EnumArrayType::ToString(enums[i]))); 69 EXPECT_EQ(enums, enum_array_type.types); 74 std::vector<OptionalEnumArrayType::TypesType> enums; local 75 enums.push_back(OptionalEnumArrayType::TYPES_TYPE_ONE); 76 enums.push_back(OptionalEnumArrayType::TYPES_TYPE_TWO) [all...] |
/hardware/ti/omap4xxx/libtiutils/ |
Android.mk | 27 LOCAL_CFLAGS += -fno-short-enums
|
/device/asus/flo/camera/QCamera2/HAL/test/ |
Android.mk | 29 LOCAL_CFLAGS += -Wall -fno-short-enums -O0
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
shaderobj.h | 124 static const GLenum enums[MESA_SHADER_TYPES] = { local 132 return enums[i];
|
/external/mesa3d/src/mesa/main/ |
shaderobj.h | 124 static const GLenum enums[MESA_SHADER_TYPES] = { local 132 return enums[i];
|
/hardware/qcom/camera/QCamera2/HAL/test/ |
Android.mk | 29 LOCAL_CFLAGS += -Wall -fno-short-enums -O0
|
/hardware/ti/omap4xxx/test/CameraHal/ |
Android.mk | 31 LOCAL_CFLAGS += -Wall -fno-short-enums -O0 -g -D___ANDROID___
|
/libcore/luni/src/main/java/java/util/ |
MiniEnumSet.java | 21 * A concrete EnumSet for enums with 64 or fewer elements. 29 private final E[] enums; field in class:MiniEnumSet 37 * @param enums non-null; pre-populated array of constants in ordinal 40 MiniEnumSet(Class<E> elementType, E[] enums) { 42 this.enums = enums; 73 last = enums[ordinal]; 247 if (enums.length != 0) { 249 bits &= (-1L >>> (MAX_ELEMENTS - enums.length)); 250 size = enums.length - size [all...] |
HugeEnumSet.java | 21 * A concrete EnumSet for enums with more than 64 elements. 28 final private E[] enums; field in class:HugeEnumSet 38 * @param enums non-null; pre-populated array of constants in ordinal 41 HugeEnumSet(Class<E> elementType, E[] enums) { 43 this.enums = enums; 44 bits = new long[(enums.length + BIT_IN_LONG - 1) / BIT_IN_LONG]; 102 last = enums[ordinal]; 181 b &= -1L >>> (BIT_IN_LONG - (enums.length % BIT_IN_LONG));
|
EnumSet.java | 21 * An EnumSet is a specialized Set to be used with enums as keys. 48 E[] enums = Enum.getSharedConstants(elementType); local 49 if (enums.length <= 64) { 50 return new MiniEnumSet<E>(elementType, enums); 52 return new HugeEnumSet<E>(elementType, enums);
|
/external/chromium_org/tools/metrics/histograms/ |
extract_histograms.py | 32 <enums> 40 </enums> 166 enums = {} 178 logging.error('Enums %s and %s are not in alphabetical order' 183 if name in enums: 213 enums[name] = enum_dict 215 return enums, have_errors 218 def _ExtractHistogramsFromXmlTree(tree, enums): 265 if not enum_name in enums: 269 histogram_entry['enum'] = enums[enum_name [all...] |
/external/libvpx/libvpx/ |
args.h | 35 const struct arg_enum_list *enums; member in struct:arg_def
|
args.c | 126 if (def->enums) { 131 for (listptr = def->enums; listptr->name; listptr++) 219 for (listptr = arg->def->enums; listptr->name; listptr++) 225 for (listptr = arg->def->enums; listptr->name; listptr++) 235 if (arg->def->enums)
|
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/ |
glX_proto_size.py | 39 # "enums" is a set of lists. The element in the set is the 45 self.enums = {} 48 # is a list of index to "enums" that have that number of 57 # Fill self.count and self.enums using the dictionary of enums 75 raise RuntimeError("Not all enums for %s have the same mode." % (func_name)) 79 if self.enums.has_key( e.value ): 80 if e.name not in self.enums[ e.value ]: 81 self.enums[ e.value ].append( e ) 86 self.enums[ e.value ] = [ e [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
glX_proto_size.py | 39 # "enums" is a set of lists. The element in the set is the 45 self.enums = {} 48 # is a list of index to "enums" that have that number of 57 # Fill self.count and self.enums using the dictionary of enums 75 raise RuntimeError("Not all enums for %s have the same mode." % (func_name)) 79 if self.enums.has_key( e.value ): 80 if e.name not in self.enums[ e.value ]: 81 self.enums[ e.value ].append( e ) 86 self.enums[ e.value ] = [ e [all...] |
/device/generic/goldfish/camera/ |
Android.mk | 21 LOCAL_CFLAGS += -fno-short-enums -DQEMU_HARDWARE 80 LOCAL_CFLAGS += -fno-short-enums -DQEMU_HARDWARE
|
/hardware/ti/omap4xxx/camera/ |
Android.mk | 87 LOCAL_CFLAGS := -fno-short-enums -DCOPY_IMAGE_BUFFER 131 LOCAL_CFLAGS := -fno-short-enums -DCOPY_IMAGE_BUFFER
|
/external/chromium_org/components/policy/resources/ |
PRESUBMIT.py | 81 enums = (tree.getElementsByTagName('histogram-configuration')[0] 82 .getElementsByTagName('enums')[0] 84 policy_enum = [e for e in enums
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
program.h | 206 static const GLenum enums[MESA_SHADER_TYPES] = { local 214 return enums[i];
|
/external/mesa3d/src/mesa/ |
Android.gen.mk | 34 main/enums.c \ 144 $(intermediates)/main/enums.c: PRIVATE_SCRIPT :=$(MESA_PYTHON2) $(glapi)/gl_enums.py 145 $(intermediates)/main/enums.c: PRIVATE_XML := -f $(glapi)/gl_and_es_API.xml 147 $(intermediates)/main/enums.c: $(es_src_deps)
|
/external/mesa3d/src/mesa/program/ |
program.h | 206 static const GLenum enums[MESA_SHADER_TYPES] = { local 214 return enums[i];
|
/frameworks/native/opengl/libs/tools/ |
genfiles | 59 > ../enums.in
|