Home
last modified time | relevance | path

Searched full:mutable (Results 1 – 25 of 2114) sorted by relevance

12345678910>>...85

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/
Dp10.cpp7 mutable const int f0; // expected-error{{'mutable' and 'const' cannot be mixed}}
8 mutable T0 f1; // expected-error{{'mutable' and 'const' cannot be mixed}}
9 mutable int &f2; // expected-error{{'mutable' cannot be applied to references}}
10 mutable T1 f3; // expected-error{{'mutable' cannot be applied to references}}
11 mutable struct s1 {}; // expected-error{{'mutable' can only be applied to member variables}}
12 mutable void im0(); // expected-error{{'mutable' cannot be applied to functions}}
/external/clang/test/Parser/
Dcxx1z-constexpr-lambdas.cpp7 auto XL1 = [] () mutable
8 mutable //expected-error{{cannot appear multiple times}}
9 mutable { }; //expected-error{{cannot appear multiple times}} in __anon56cb7dfc0102()
12 auto XL2 = [] () constexpr mutable constexpr { }; //expected-error{{cannot appear multiple times}} in __anon56cb7dfc0202()
13 auto L = []() mutable constexpr { }; in __anon56cb7dfc0302()
15 auto L4 = []() constexpr mutable { }; in __anon56cb7dfc0502()
17 mutable
19 mutable //expected-error{{cannot appear multiple times}}
20 mutable //expected-error{{cannot appear multiple times}}
26 auto L = []() mutable constexpr {return 0; }; //expected-warning{{is a C++1z extension}} in __anon56cb7dfc0702()
[all …]
Dcxx0x-lambda-expressions.cpp21 [&] (int) mutable -> void {}; in f()
30 [] mutable -> int { return 0; }; // expected-error{{lambda requires '()' before 'mutable'}} in f()
63 [n(0)] () mutable -> int { return ++n; }; // expected-warning{{extension}} in init_capture()
65 …[n = 0] { return ++n; }; // expected-error {{captured by copy in a non-mutable}} expected-warning{… in init_capture()
80 mutable {}; // expected-error {{expected body of lambda expression}} in attributes()
84 []() mutable [[]] -> void {}; in attributes()
85 []() mutable noexcept [[]] -> void {}; in attributes()
88 // before the mutable specifier instead of after (unlike C++11). in attributes()
89 []() __attribute__((noreturn)) mutable { while(1); }; in attributes()
90 []() mutable in attributes()
/external/icu/icu4c/source/common/unicode/
Dumutablecptrie.h24 * This file defines a mutable Unicode code point trie.
31 * Mutable Unicode code point trie.
36 * The mutable trie is only somewhat space-efficient.
41 * set of ranges (e.g., another mutable or immutable trie):
52 * Creates a mutable trie that initially maps each Unicode code point to the same value.
68 * Clones a mutable trie.
80 * Closes a mutable trie and releases associated memory.
108 * Creates a mutable trie with the same contents as the UCPMap.
109 * You must umutablecptrie_close() the mutable trie once you are done using it.
113 * @return the mutable trie
[all …]
/external/clang/test/SemaCXX/
Dclass.cpp80 mutable int mi;
81 mutable int &mir; // expected-error {{'mutable' cannot be applied to references}}
82 mutable void mfn(); // expected-error {{'mutable' cannot be applied to functions}}
83 mutable const int mci; // expected-error {{'mutable' and 'const' cannot be mixed}}
103 mutable int j;
113 // Play with mutable a bit more, to make sure it doesn't crash anything.
114 mutable int gi; // expected-error {{'mutable' can only be applied to member variables}}
115 mutable void gfn(); // expected-error {{illegal storage class on function}}
118 mutable int ml; // expected-error {{'mutable' can only be applied to member variables}} in ogfn()
155 struct A { } mutable *member;
Dcxx1z-lambda-star-this.cpp17 (void) [*this] () mutable { ++x; }; in foo()
61 const auto &L = [*this] (auto a) mutable { //expected-error{{call to deleted}} in foo()
85 auto L = [*this] () mutable { in foo()
99 auto M = [this] () mutable { in foo()
105 auto M2 = [*this] () mutable { in foo()
115 auto M = [this] (auto b) mutable { in foo()
123 auto M2 = [*this] (auto a) mutable { in foo()
130 return [=](auto a) mutable { M(a)(a); M2(a)(a); }; in foo()
136 auto L2 = [this] () mutable { in foo()
140 auto GL = [*this] (auto a) mutable { in foo()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/
DNodeSetDTM.java533 * a mutable type.
539 …essage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!"); in addNode()
551 * a mutable type.
557 …essage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!"); in insertNode()
567 * a mutable type.
573 …essage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!"); in removeNode()
586 // * a mutable type.
592 // throw new RuntimeException("This NodeSetDTM is not mutable!");
627 // * a mutable type.
633 // throw new RuntimeException("This NodeSetDTM is not mutable!");
[all …]
DNodeSet.java377 * a mutable type.
383 …XPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); in addNode()
395 * a mutable type.
401 …XPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); in insertNode()
411 * a mutable type.
417 …XPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); in removeNode()
429 * a mutable type.
435 …XPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); in addNodes()
469 * a mutable type.
475 …XPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); in addNodes()
[all …]
/external/libtextclassifier/utils/utf8/
Dunilib-javaicu.h125 mutable int last_find_offset_ = 0;
126 mutable int last_find_offset_codepoints_ = 0;
127 mutable bool last_find_offset_dirty_ = true;
142 // These members need to be mutable because of the lazy initialization.
146 mutable std::mutex mutex_;
147 mutable ScopedGlobalRef<jobject> pattern_;
148 mutable bool initialized_;
149 mutable bool initialization_failure_;
150 mutable UnicodeText pattern_text_;
/external/clang/include/clang/AST/
DNSAPI.h235 mutable IdentifierInfo *ClassIds[NumClassIds];
237 mutable Selector NSStringSelectors[NumNSStringMethods];
240 mutable Selector NSArraySelectors[NumNSArrayMethods];
243 mutable Selector NSDictionarySelectors[NumNSDictionaryMethods];
246 mutable Selector NSSetSelectors[NumNSSetMethods];
249 mutable Selector NSNumberClassSelectors[NumNSNumberLiteralMethods];
250 mutable Selector NSNumberInstanceSelectors[NumNSNumberLiteralMethods];
252 mutable Selector objectForKeyedSubscriptSel, objectAtIndexedSubscriptSel,
256 mutable IdentifierInfo *BOOLId, *NSIntegerId, *NSUIntegerId;
257 mutable IdentifierInfo *NSASCIIStringEncodingId, *NSUTF8StringEncodingId;
DASTContext.h95 mutable SmallVector<Type *, 0> Types;
96 mutable llvm::FoldingSet<ExtQuals> ExtQualNodes;
97 mutable llvm::FoldingSet<ComplexType> ComplexTypes;
98 mutable llvm::FoldingSet<PointerType> PointerTypes;
99 mutable llvm::FoldingSet<AdjustedType> AdjustedTypes;
100 mutable llvm::FoldingSet<BlockPointerType> BlockPointerTypes;
101 mutable llvm::FoldingSet<LValueReferenceType> LValueReferenceTypes;
102 mutable llvm::FoldingSet<RValueReferenceType> RValueReferenceTypes;
103 mutable llvm::FoldingSet<MemberPointerType> MemberPointerTypes;
104 mutable llvm::FoldingSet<ConstantArrayType> ConstantArrayTypes;
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/
Drx-replaysubject.hpp41 mutable std::mutex lock;
42 mutable std::list<T> values;
43 mutable std::list<time_point_type> time_points;
44 mutable count_type count;
45 mutable period_type period;
46 mutable composite_subscription replayLifetime;
48 mutable coordination_type coordination;
49 mutable coordinator_type coordinator;
/external/libchrome/base/threading/
Dthread_checker_impl.h37 // Members are mutable so that CalledOnValidThread() can set them.
40 mutable base::Lock lock_;
43 mutable PlatformThreadRef thread_id_;
51 mutable TaskToken task_token_;
57 mutable SequenceToken sequence_token_;
/external/clang/lib/StaticAnalyzer/Checkers/
DBasicObjCFoundationChecks.cpp99 mutable std::unique_ptr<APIMisuse> BT;
101 mutable llvm::SmallDenseMap<Selector, unsigned, 16> StringSelectors;
102 mutable Selector ArrayWithObjectSel;
103 mutable Selector AddObjectSel;
104 mutable Selector InsertObjectAtIndexSel;
105 mutable Selector ReplaceObjectAtIndexWithObjectSel;
106 mutable Selector SetObjectAtIndexedSubscriptSel;
107 mutable Selector ArrayByAddingObjectSel;
108 mutable Selector DictionaryWithObjectForKeySel;
109 mutable Selector SetObjectForKeySel;
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dimage_data.h245 mutable bool spatial_x_computed_[kNumPyramidLevels];
246 mutable Image<int32_t>* spatial_x_[kNumPyramidLevels];
248 mutable bool spatial_y_computed_[kNumPyramidLevels];
249 mutable Image<int32_t>* spatial_y_[kNumPyramidLevels];
251 // Mutable so the lazy initialization can work when this class is const.
253 mutable bool integral_image_computed_;
254 mutable std::unique_ptr<IntegralImage> integral_image_;
256 mutable bool pyramid_sqrt2_computed_[kNumPyramidLevels * 2];
257 mutable Image<uint8_t>* pyramid_sqrt2_[kNumPyramidLevels * 2];
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DDGMRES.h215 mutable DenseMatrix m_V; // Krylov basis vectors
216 mutable DenseMatrix m_H; // Hessenberg matrix
217 mutable DenseMatrix m_Hes; // Initial hessenberg matrix wihout Givens rotations applied
218 mutable Index m_restart; // Maximum size of the Krylov subspace
219 mutable DenseMatrix m_U; // Vectors that form the basis of the invariant subspace
220 mutable DenseMatrix m_MU; // matrix operator applied to m_U (for next cycles)
221 mutable DenseMatrix m_T; /* T=U^T*M^{-1}*A*U */
222 mutable PartialPivLU<DenseMatrix> m_luT; // LU factorization of m_T
223 mutable StorageIndex m_neig; //Number of eigenvalues to extract at each restart
224 mutable int m_r; // Current number of deflated eigenvalues, size of m_U
[all …]
/external/flatbuffers/tests/
Dgenerate_code.sh18 …go --binary --lobster --lua --python --js --ts --php --rust --grpc --gen-mutable --reflect-names -…
19 …dart --go --binary --lobster --lua --python --js --ts --php --rust --gen-mutable --reflect-names -…
20 ../flatc --cpp --java --js --ts --php --gen-mutable --reflect-names --gen-object-api --gen-compare …
23 ../flatc --cpp --java --csharp --python --gen-mutable --reflect-names --gen-object-api --gen-compar…
25 ../flatc --cpp --lobster --gen-mutable --reflect-names --gen-object-api --gen-compare --cpp-ptr-typ…
Dgenerate_code.bat18 …go --binary --python --lobster --lua --js --rust --ts --php --grpc --gen-mutable --reflect-names -…
19 …harp --go --binary --python --lobster --lua --js --rust --ts --php --gen-mutable --reflect-names -…
20 ..\%buildtype%\flatc.exe --cpp --java --js --ts --php --gen-mutable --reflect-names --gen-object-ap…
26 …..\%buildtype%\flatc.exe --cpp --java --csharp --python --gen-mutable --reflect-names --gen-object…
32 ..\%buildtype%\flatc.exe --cpp --lobster --gen-mutable --reflect-names --gen-object-api --gen-compa…
/external/eigen/Eigen/src/SPQRSupport/
DSuiteSparseQRSupport.h234 mutable bool m_isRUpToDate;
235 mutable ComputationInfo m_info;
239 mutable cholmod_sparse *m_cR; // The sparse R factor in cholmod format
240 mutable MatrixType m_R; // The sparse matrix R in Eigen format
241 mutable StorageIndex *m_E; // The permutation applied to columns
242 mutable cholmod_sparse *m_H; //The householder vectors
243 mutable StorageIndex *m_HPinv; // The row permutation of H
244 mutable cholmod_dense *m_HTau; // The Householder coefficients
245 mutable Index m_rank; // The rank of the matrix
246 mutable cholmod_common m_cc; // Workspace and parameters
/external/drm_hwcomposer/
Ddrmdisplaycompositor.h113 // mutable since we need to acquire in Dump()
114 mutable pthread_mutex_t lock_;
116 // State tracking progress since our last Dump(). These are mutable since
118 mutable uint64_t dump_frames_composited_;
119 mutable uint64_t dump_last_timestamp_ns_;
/external/webrtc/webrtc/base/
Dlinked_ptr.h26 * NO_MEMBER_TEMPLATES, explicit or mutable */
79 mutable const linked_ptr* itsPrev;
80 mutable const linked_ptr* itsNext;
88 #ifndef mutable in acquire()
102 #ifndef mutable in acquire()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenTarget.h52 mutable DenseMap<const Record*,
54 mutable std::unique_ptr<CodeGenRegBank> RegBank;
55 mutable std::vector<Record*> RegAltNameIndices;
56 mutable SmallVector<ValueTypeByHwMode, 8> LegalValueTypes;
62 mutable std::unique_ptr<CodeGenSchedModels> SchedModels;
64 mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
65 mutable unsigned NumPseudoInstructions = 0;
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_pulse_linux.h103 mutable uint32_t _paVolume;
104 mutable uint32_t _paMute;
105 mutable uint32_t _paVolSteps;
107 mutable uint32_t _paSpeakerVolume;
108 mutable uint8_t _paChannels;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCSectionCOFF.h31 // FIXME: The following fields should not be mutable, but are for now so the
36 mutable unsigned Characteristics;
41 /// the Microsoft incremental linker. This data is mutable because this ID is
43 mutable unsigned WinCFISectionID = ~0U;
51 mutable int Selection;
/external/llvm/include/llvm/MC/
DMCSectionCOFF.h28 // FIXME: The following fields should not be mutable, but are for now so the
33 mutable unsigned Characteristics;
38 /// the Microsoft incremental linker. This data is mutable because this ID is
40 mutable unsigned WinCFISectionID = ~0U;
48 mutable int Selection;

12345678910>>...85