HomeSort by relevance Sort by last modified time
    Searched full:nonnull (Results 401 - 425 of 3056) sorted by null

<<11121314151617181920>>

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
ClassDefItem.java 40 import javax.annotation.Nonnull;
55 @Nonnull
56 public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) {
60 @Override public void annotateSection(@Nonnull AnnotatedBytes out) {
65 @Nonnull @Override public String getItemName() {
70 protected void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) {
120 @Nonnull
121 public static String asString(@Nonnull DexBackedDexFile dexFile, int classIndex) {
127 public static String[] getClasses(@Nonnull RawDexFile dexFile)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
ClassDef.java 36 import javax.annotation.Nonnull;
55 @Override @Nonnull String getType();
80 @Nonnull List<String> getInterfaces();
99 @Override @Nonnull Set<? extends Annotation> getAnnotations();
108 @Nonnull Iterable<? extends Field> getStaticFields();
117 @Nonnull Iterable<? extends Field> getInstanceFields();
132 @Nonnull Iterable<? extends Field> getFields();
141 @Nonnull Iterable<? extends Method> getDirectMethods();
150 @Nonnull Iterable<? extends Method> getVirtualMethods();
165 @Nonnull Iterable<? extends Method> getMethods()
    [all...]
Method.java 36 import javax.annotation.Nonnull;
53 @Override @Nonnull String getDefiningClass();
60 @Override @Nonnull String getName();
73 @Nonnull List<? extends MethodParameter> getParameters();
80 @Override @Nonnull String getReturnType();
98 @Override @Nonnull Set<? extends Annotation> getAnnotations();
  /external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
SmalideaClassDef.java 51 import javax.annotation.Nonnull;
99 @Nonnull @Override public String getType() {
111 @Nonnull @Override public List<String> getInterfaces() {
129 @Nonnull @Override public Set<? extends Annotation> getAnnotations() {
133 @Nonnull @Override public Iterable<? extends Field> getStaticFields() {
151 @Nonnull @Override public Iterable<? extends Field> getInstanceFields() {
169 @Nonnull @Override public Iterable<? extends Field> getFields() {
173 @Nonnull @Override public Iterable<? extends Method> getDirectMethods() {
194 @Nonnull @Override public Iterable<? extends Method> getVirtualMethods() {
211 @Nonnull @Override public Iterable<? extends Method> getMethods()
    [all...]
SmalideaMethod.java 55 import javax.annotation.Nonnull;
67 @Nonnull @Override public String getDefiningClass() {
73 @Nonnull @Override public List<? extends MethodParameter> getParameters() {
142 @Nonnull @Override public Set<? extends Annotation> getAnnotations() {
162 @Nonnull @Override public Iterable<? extends Instruction> getInstructions() {
172 @Nonnull @Override public List<? extends TryBlock<? extends ExceptionHandler>> getTryBlocks() {
184 @Nonnull @Override public Iterable<? extends DebugItem> getDebugItems() {
193 @Nonnull @Override public String getName() {
197 @Nonnull @Override public List<? extends CharSequence> getParameterTypes() {
211 @Nonnull @Override public String getReturnType()
    [all...]
  /external/smali/util/src/main/java/org/jf/util/
ImmutableConverter.java 38 import javax.annotation.Nonnull;
45 protected abstract boolean isImmutable(@Nonnull Item item);
46 @Nonnull protected abstract ImmutableItem makeImmutable(@Nonnull Item item);
48 @Nonnull
79 @Nonnull
110 @Nonnull
111 public ImmutableSortedSet<ImmutableItem> toSortedSet(@Nonnull Comparator<? super ImmutableItem> comparator,
144 @Nonnull
145 public SortedSet<ImmutableItem> toSortedSet(@Nonnull Comparator<? super ImmutableItem> comparator
    [all...]
  /frameworks/base/core/java/android/view/
ViewHierarchyEncoder.java 3 import android.annotation.NonNull;
68 public ViewHierarchyEncoder(@NonNull ByteArrayOutputStream stream) {
72 public void beginObject(@NonNull Object o) {
93 public void addProperty(@NonNull String name, boolean v) {
98 public void addProperty(@NonNull String name, short s) {
103 public void addProperty(@NonNull String name, int v) {
108 public void addProperty(@NonNull String name, float v) {
113 public void addProperty(@NonNull String name, @Nullable String s) {
122 public void addPropertyKey(@NonNull String name) {
126 private short createPropertyIndex(@NonNull String name)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/content/res/
AppCompatResources.java 27 import android.support.annotation.NonNull;
62 public static ColorStateList getColorStateList(@NonNull Context context, @ColorRes int resId) {
99 public static Drawable getDrawable(@NonNull Context context, @DrawableRes int resId) {
124 private static ColorStateList getCachedColorStateList(@NonNull Context context,
144 private static void addColorStateListToCache(@NonNull Context context, @ColorRes int resId,
145 @NonNull ColorStateList value) {
157 private static boolean isColorInt(@NonNull Context context, @ColorRes int resId) {
167 @NonNull
181 ColorStateListCacheEntry(@NonNull ColorStateList value,
182 @NonNull Configuration configuration)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatDrawableManager.java 37 import android.support.annotation.NonNull;
65 Drawable createFromXmlInner(@NonNull Context context, @NonNull XmlPullParser parser,
66 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme);
86 private static void installDefaultInflateDelegates(@NonNull AppCompatDrawableManager manager) {
181 public Drawable getDrawable(@NonNull Context context, @DrawableRes int resId) {
185 Drawable getDrawable(@NonNull Context context, @DrawableRes int resId,
208 public void onConfigurationChanged(@NonNull Context context) {
222 private Drawable createDrawableIfNeeded(@NonNull Context context,
254 private Drawable tintDrawable(@NonNull Context context, @DrawableRes int resId
    [all...]
  /packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
InputPointers.java 21 import javax.annotation.Nonnull;
75 public void set(@Nonnull final InputPointers ip) {
82 public void copy(@Nonnull final InputPointers ip) {
99 public void append(final int pointerId, @Nonnull final ResizableIntArray times,
100 @Nonnull final ResizableIntArray xCoordinates,
101 @Nonnull final ResizableIntArray yCoordinates, final int startPos, final int length) {
135 @Nonnull
140 @Nonnull
145 @Nonnull
156 @Nonnull
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
TimerHandler.java 28 import javax.annotation.Nonnull;
44 public TimerHandler(@Nonnull final DrawingProxy ownerInstance,
86 public void startKeyRepeatTimerOf(@Nonnull final PointerTracker tracker, final int repeatCount,
110 public void startLongPressTimerOf(@Nonnull final PointerTracker tracker, final int delay) {
123 public void cancelLongPressTimersOf(@Nonnull final PointerTracker tracker) {
139 public void startTypingStateTimer(@Nonnull final Key typedKey) {
190 public void cancelKeyTimersOf(@Nonnull final PointerTracker tracker) {
201 public void startUpdateBatchInputTimer(@Nonnull final PointerTracker tracker) {
211 public void cancelUpdateBatchInputTimer(@Nonnull final PointerTracker tracker) {
220 public void postDismissKeyPreview(@Nonnull final Key key, final long delay)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionItem.java 19 import com.android.annotations.NonNull;
102 @NonNull
133 @NonNull
144 @NonNull
171 @NonNull
172 static SimpleElement[] getAsElements(@NonNull List<SelectionItem> items) {
183 @NonNull
185 @NonNull List<SelectionItem> items,
230 @NonNull
244 @NonNull
    [all...]
  /external/clang/docs/analyzer/
nullability.rst 15 - 'p' gets implicitly converted into nonnull pointer, for example, we are passing it to a function that takes a nonnull parameter.
29 2) nonnull
32 - Dereferencing a nonnull, or sending message to it is ok.
33 - Converting nonnull to nullable is Ok.
34 - When there is an explicit cast from nonnull to nullable I will trust the cast (it is probable there for a reason, because this cast does not suppress any warnings or errors).
54 - Even though the method might return a nonnull pointer, when it was sent to a nullable pointer the return type will be nullable.
56 - Sending a message to a unspecified or nonnull pointer
63 A symbol may need to be treated differently inside an inlined body. For example, consider these conversions from nonnull to nullable in presence of inlining::
73 With no special treatment, when the takesNullable is inlined the analyzer will not warn when the obj symbol is dereferenced. One solution for this is to reanalyze takesNullable as a top level function to get possible violations. The alternative method, deducing nullability information from the arguments after inlining is not robust enough (for example there might be more parameters with different nullability, but in the given path the two parameters might end up being the same symbol or there can be nested functions that take different view of the nullability of the same symbol). So the symbol will remain nonnull to avoid false positives but the functions that takes nullable parameters will be analyzed separat (…)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
InlineMethodResolver.java 42 import javax.annotation.Nonnull;
52 @Nonnull
66 @Nonnull
67 private static Method inlineMethod(int accessFlags, @Nonnull String cls, @Nonnull String name,
68 @Nonnull String params, @Nonnull String returnType) {
73 @Nonnull public abstract Method resolveExecuteInline(@Nonnull AnalyzedInstruction instruction);
99 @Nonnull
    [all...]
  /frameworks/base/core/java/android/view/inputmethod/
InputContentInfo.java 19 import android.annotation.NonNull;
36 @NonNull
38 @NonNull
42 @NonNull
55 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description) {
72 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description,
103 private static boolean validateInternal(@NonNull Uri contentUri,
104 @NonNull ClipDescription description, @Nullable Uri linkUri, boolean throwException)
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
DrawableInflater.java 23 import android.annotation.NonNull;
62 public static Drawable loadDrawable(@NonNull Context context, @DrawableRes int id) {
76 @NonNull Resources resources, @Nullable Theme theme, @DrawableRes int id) {
88 public DrawableInflater(@NonNull Resources res, @NonNull ClassLoader classLoader) {
111 @NonNull
112 public Drawable inflateFromXml(@NonNull String name, @NonNull XmlPullParser parser,
113 @NonNull AttributeSet attrs, @Nullable Theme theme)
134 @NonNull
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
AddSuppressAttribute.java 23 import com.android.annotations.NonNull;
68 @NonNull AndroidXmlEditor editor,
69 @NonNull String id,
70 @NonNull IMarker marker,
71 @NonNull Element element,
72 @NonNull String description,
139 @NonNull
141 @NonNull AndroidXmlEditor editor,
142 @NonNull IMarker marker,
143 @NonNull String id)
    [all...]
EclipseLintClient.java 24 import com.android.annotations.NonNull;
172 public IMarker getIssueForNode(@NonNull UiViewElementNode node) {
200 public void log(@NonNull Severity severity, @Nullable Throwable exception,
213 public Document parseXml(@NonNull XmlContext context) {
246 public @NonNull Location getLocation(@NonNull XmlContext context, @NonNull Node node) {
253 public @NonNull Location getLocation(@NonNull XmlContext context, @NonNull Node node
    [all...]
  /external/clang/test/CodeGenCXX/
wasm-args-returns.cpp 33 // CHECK: call void @_Z14def_two_fieldsv(%struct.two_fields* nonnull sret %[[tmp]])
34 // CHECK: call void @_Z3use10two_fields(%struct.two_fields* byval nonnull align 8 %[[tmp]])
51 // CHECK: call void @_Z13def_copy_ctorv(%struct.copy_ctor* nonnull sret %[[tmp]])
52 // CHECK: call void @_Z3use9copy_ctor(%struct.copy_ctor* nonnull %[[tmp]])
69 // CHECK: call void @_Z21def_aligned_copy_ctorv(%struct.aligned_copy_ctor* nonnull sret %[[tmp]])
70 // CHECK: call void @_Z3use17aligned_copy_ctor(%struct.aligned_copy_ctor* nonnull %[[tmp]])
  /external/clang/test/Parser/
attributes.c 67 int testFundef1(int *a) __attribute__((nonnull(1))) { // \
68 // expected-warning {{GCC does not allow 'nonnull' attribute in this position on a function definition}}
78 int testFundef3(int *a) __attribute__((nonnull(1), // \
79 // expected-warning {{GCC does not allow 'nonnull' attribute in this position on a function definition}}
85 int testFundef4(int *a) __attribute__((nonnull(1))) // \
86 // expected-warning {{GCC does not allow 'nonnull' attribute in this position on a function definition}}
  /external/smali/baksmali/src/test/java/org/jf/baksmali/
DisassemblyTest.java 39 import javax.annotation.Nonnull;
54 @Nonnull
55 protected String getOutputFilename(@Nonnull String testName) {
59 protected void runTest(@Nonnull String testName) {
63 protected void runTest(@Nonnull String testName, @Nonnull baksmaliOptions options) {
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/util/
TypeProtoUtils.java 37 import javax.annotation.Nonnull;
54 @Nonnull
55 public static Iterable<TypeProto> getSuperclassChain(@Nonnull final TypeProto typeProto) {
85 public static TypeProto getSuperclassAsTypeProto(@Nonnull TypeProto type) {
98 public static boolean extendsFrom(@Nonnull TypeProto candidate, @Nonnull String possibleSuper) {
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/
MethodReference.java 34 import javax.annotation.Nonnull;
47 @Nonnull String getDefiningClass();
54 @Nonnull String getName();
61 @Nonnull List<? extends CharSequence> getParameterTypes();
68 @Nonnull String getReturnType();
111 @Override int compareTo(@Nonnull MethodReference o);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/debug/
ImmutableDebugItem.java 40 import javax.annotation.Nonnull;
50 @Nonnull
77 @Nonnull
85 protected boolean isImmutable(@Nonnull DebugItem item) {
89 @Nonnull
91 protected ImmutableDebugItem makeImmutable(@Nonnull DebugItem item) {
ImmutableStartLocal.java 41 import javax.annotation.Nonnull;
62 @Nonnull
63 public static ImmutableStartLocal of(@Nonnull StartLocal startLocal) {
79 @Nonnull @Override public String getString() {
87 @Nonnull @Override public String getType() {
95 @Nonnull @Override public String getString() {

Completed in 755 milliseconds

<<11121314151617181920>>