Home
last modified time | relevance | path

Searched refs:Flag (Results 1 – 25 of 228) sorted by relevance

12345678910

/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DFlagged.h115 template<typename Flag>
116 static constexpr Flag topBits(int num) { in topBits()
117 return Flag(num > 0 ? in topBits()
118 ~((Flag(1) << (sizeof(Flag) * 8 - is_signed_integral<Flag>::value - num)) - 1) : in topBits()
131 template<typename Flag>
132 static constexpr Flag minMask(Flag maxValue, int shift=sizeof(Flag) * 4) {
133 static_assert(is_unsigned_integral<Flag>::value,
135 return shift ? minMask<Flag>(Flag(maxValue | (maxValue >> shift)), shift >> 1) : maxValue;
148 template<typename Flag, typename IntFlag = typename underlying_integral_type<Flag>::type>
149 static constexpr IntFlag lshift(Flag value, int shift) { in lshift()
[all …]
DAData.h572 template<typename Flag>
575 static_assert(std::is_unsigned<Flag>::value, "Flag must be unsigned");
576 static_assert(std::is_integral<Flag>::value, "Flag must be an integral type");
578 static constexpr Flag count = num_types + 1;
581 typedef Flag type; ///< flag type
583 static constexpr Flag mask = _Flagged_helper::minMask<Flag>(count); ///< flag mask
599 static constexpr bool canDeleteAs(Flag objectFlag, Flag deleteFlag) {
609 static constexpr Flag flagFor(void*) {
617 static constexpr Flag flagFor(T*) {
635 template<typename Flag, size_t MaxSize=1024, size_t Align=4>
[all …]
/frameworks/compile/mclinker/tools/mcld/
DOptions.td23 def Bsymbolic : Flag<["-"], "Bsymbolic">,
27 def Bgroup : Flag<["-"], "Bgroup">,
38 def NoUndef : Flag<["--"], "no-undefined">,
42 def AllowMulDefs : Flag<["--"], "allow-multiple-definition">,
57 def EnableNewDTags : Flag<["--"], "enable-new-dtags">,
71 def GCSections : Flag<["--"], "gc-sections">,
75 def NoGCSections : Flag<["--"], "no-gc-sections">,
79 def PrintGCSections : Flag<["--"], "print-gc-sections">,
83 def NoPrintGCSections : Flag<["--"], "no-print-gc-sections">,
87 def LDGeneratedUnwindInfo : Flag<["--"], "ld-generated-unwind-info">,
[all …]
/frameworks/compile/slang/
DRSCCOptions.td52 def emit_asm : Flag<["-"], "emit-asm">,
54 def _emit_asm : Flag<["-"], "S">, Alias<emit_asm>;
55 def emit_llvm : Flag<["-"], "emit-llvm">,
57 def emit_bc : Flag<["-"], "emit-bc">,
59 def emit_nothing : Flag<["-"], "emit-nothing">,
63 def m32 : Flag<["-"], "m32">, HelpText<"Emit 32-bit code (only for C++, unless eng build)">;
64 def m64 : Flag<["-"], "m64">, HelpText<"Emit 64-bit code (only for C++, unless eng build)">;
66 def emit_g : Flag<["-"], "g">,
72 def allow_rs_prefix : Flag<["-"], "allow-rs-prefix">,
95 def w : Flag<["-"], "w">, HelpText<"Suppress all warnings">;
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dtypedef.h39 typedef int Flag; typedef
45 typedef int Flag; typedef
51 typedef int Flag; typedef
60 typedef int Flag; typedef
/frameworks/base/core/java/android/view/inspector/
DIntFlagMapping.java42 private final List<Flag> mFlags = new ArrayList<>();
54 for (Flag flag : mFlags) { in get()
71 mFlags.add(new Flag(mask, target, name)); in add()
77 private static final class Flag { class in IntFlagMapping
82 private Flag(int mask, int target, @NonNull String name) { in Flag() method in IntFlagMapping.Flag
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dbasic_op_arm_v5.h119 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add()
152 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_sub()
190 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac()
223 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult()
263 __inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu()
300 Word16 L_var2_lo, Flag *pOverflow) in Mpy_32()
356 Flag *pOverflow) in Mpy_32_16()
394 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult()
Dbasic_op_c_equivalent.h119 static inline Word32 L_add(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_add()
159 Flag *pOverflow) in L_sub()
200 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac()
248 static inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult()
292 static inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu()
326 Flag *pOverflow) in Mpy_32()
399 Flag *pOverflow) in Mpy_32_16()
454 static inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult()
Dint_lpc.h131 Flag *pOverflow
153 Flag *pOverflow
181 Flag *pOverflow
200 Flag *pOverflow
Dbasic_op_arm_gcc_v5.h121 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add()
158 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_sub()
197 static inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac()
241 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult()
286 __inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu()
333 Flag *pOverflow) in Mpy_32()
416 Flag *pOverflow) in Mpy_32_16()
477 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult()
Dvad1.h165 Flag *pOverflow
173 Flag *pOverflow
178 Flag *pOverflow
185 Flag *pOverflow
Dbasic_op.h169 Flag *pOverflow) in Mac_32()
212 Flag *pOverflow) in Mac_32_16()
275 static inline Word16 shl(Word16 var1, Word16 var2, Flag *pOverflow) in shl()
327 static inline Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shl()
380 static inline Word32 L_shr(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shr()
Dvad2.h178 Flag LTP_flag; /* Use to indicate the the LTP gain is > LTP_THRESH */
185 Word16 vad2(Word16 *farray_ptr, vadState2 *st, Flag *pOverflow);
190 void r_fft(Word16 *farray_ptr, Flag *pOverflow);
192 void LTP_flag_update(vadState2 *st, Word16 mode, Flag *pOverflow);
Dl_add.h111 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add()
125 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow)
144 static inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow)
Dl_sub.h109 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_sub()
126 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow)
145 register Flag *pOverflow)
Dl_mult.h109 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult()
127 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow)
151 static inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow)
Dmult.h109 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult()
128 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow)
159 static inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow)
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp61 flags_.emplace_back(Flag(name, description, /* required */ true, /* num_args */ 1, func)); in AddRequiredFlag()
71 flags_.emplace_back(Flag(name, description, /* required */ true, /* num_args */ 1, func)); in AddRequiredFlagList()
81 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlag()
91 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlagList()
101 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlagList()
111 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 0, func)); in AddOptionalSwitch()
137 for (const Flag& flag : flags_) { in Usage()
162 for (const Flag& flag : flags_) { in Usage()
216 for (Flag& flag : flags_) { in Execute()
242 for (const Flag& flag : flags_) { in Execute()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dec_gains.h139 Flag *pOverflow
154 Flag *pOverflow
184 Flag *pOverflow
199 Flag *pOverflow
Dagc.cpp171 Flag *pOverflow /* overflow: flag to indicate overflow */ in energy_old()
258 Word32 energy_old_Wrapper(Word16 in[], Word16 l_trm, Flag *pOverflow) in energy_old_Wrapper()
373 Flag *pOverflow /* i : overflow flag */ in energy_new()
379 Flag ov_save; in energy_new()
478 Word32 energy_new_Wrapper(Word16 in[], Word16 l_trm, Flag *pOverflow) in energy_new_Wrapper()
743 Flag *pOverflow /* i : overflow Flag */ in agc()
967 Flag *pOverflow /* i : overflow flag */ in agc2()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dpitch_ol.cpp304 Flag dtx, /* i : dtx flag; use dtx=1, do not use dtx=0 */ in Lag_max()
305 Flag *pOverflow /* i/o : overflow Flag */ in Lag_max()
318 Flag dtx, /* i : dtx flag; use dtx=1, do not use dtx=0 */ in Lag_max()
319 Flag *pOverflow /* i/o : overflow Flag */ in Lag_max()
620 Flag dtx, /* i : dtx flag; use dtx=1, do not use dtx=0 */ in Lag_max_wrapper()
621 Flag *pOverflow /* i/o : overflow Flag */ in Lag_max_wrapper()
643 Flag dtx, /* i : dtx flag; use dtx=1, do not use dtx=0 */ in Lag_max_wrapper()
644 Flag *pOverflow /* i/o : overflow Flag */ in Lag_max_wrapper()
948 Flag dtx, /* i : dtx flag; use dtx=1, do not use dtx=0 */ in Pitch_ol()
949 Flag *pOverflow /* i/o : overflow Flag */ in Pitch_ol()
Dton_stab.h131 Flag *pOverflow
136 Flag *pOverflow
141 Flag *pOverflow
Dcalc_en.h127 Flag *pOverflow
165 Flag *pOverflow
180 Flag *pOverflow
Ddtx_enc.h168 Flag *pOverflow /* i/o : overflow indicator */
182 Flag *pOverflow /* i/o : overflow indicator */
199 Flag *pOverflow /* i/o : overflow indicator */
Dc2_9pf.cpp125 Flag * pOverflow /* o : Flag set when overflow occurs */
136 Flag * pOverflow /* o : Flag set when overflow occurs */
312 Flag * pOverflow /* o : Flag set when overflow occurs */ in code_2i40_9bits()
592 Flag * pOverflow /* o : Flag set when overflow occurs */ in search_2i40()
809 Flag * pOverflow /* o : Flag set when overflow occurs */ in Test_search_2i40()
993 Flag *pOverflow /* o : Flag set when overflow occurs */ in build_code()
1187 Flag * pOverflow /* o : Flag set when overflow occurs */ in Test_build_code()

12345678910