HomeSort by relevance Sort by last modified time
    Searched full:arithmetic (Results 1 - 25 of 1189) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Sema/
pointer-addition.c 6 b++; // expected-error {{arithmetic on a pointer to an incomplete type}}
7 b += 1; // expected-error {{arithmetic on a pointer to an incomplete type}}
8 c++; // expected-warning {{arithmetic on a pointer to void is a GNU extension}}
9 c += 1; // expected-warning {{arithmetic on a pointer to void is a GNU extension}}
10 c--; // expected-warning {{arithmetic on a pointer to void is a GNU extension}}
11 c -= 1; // expected-warning {{arithmetic on a pointer to void is a GNU extension}}
13 b = 1+b; // expected-error {{arithmetic on a pointer to an incomplete type}}
16 d += 1; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}}
17 d++; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}}
18 d--; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}
    [all...]
typecheck-binop.c 10 return P-4; /* expected-error{{arithmetic on a pointer to an incomplete type 'struct incomplete'}} */
14 return P-4; /* expected-warning{{arithmetic on a pointer to void is a GNU extension}} */
18 return P-Q; /* expected-warning{{arithmetic on pointers to void is a GNU extension}} */
pointer-subtract-compat.c 10 int x = fp - fp; // expected-warning{{arithmetic on pointers to the function type 'void (void)' is a GNU extension}}
array-bounds-ptr-arith.c 1 // RUN: %clang_cc1 -verify -Warray-bounds-pointer-arithmetic %s
  /external/clang/test/Parser/
check_cast.c 10 xxx = (struct foo)1; // expected-error {{used type 'struct foo' where arithmetic or pointer type is required}}
11 i = (int)xxx; // expected-error {{operand of type 'struct foo' where arithmetic or pointer type is required}}
  /external/clang/test/SemaCXX/
null_in_arithmetic_ops.cpp 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -fblocks -Wnull-arithmetic -verify %s
14 a = 0 ? NULL + a : a + NULL; // expected-warning 2{{use of NULL in arithmetic operation}}
15 a = 0 ? NULL - a : a - NULL; // expected-warning 2{{use of NULL in arithmetic operation}}
16 a = 0 ? NULL / a : a / NULL; // expected-warning 2{{use of NULL in arithmetic operation}} \
18 a = 0 ? NULL * a : a * NULL; // expected-warning 2{{use of NULL in arithmetic operation}}
19 a = 0 ? NULL >> a : a >> NULL; // expected-warning 2{{use of NULL in arithmetic operation}}
20 a = 0 ? NULL << a : a << NULL; // expected-warning 2{{use of NULL in arithmetic operation}}
21 a = 0 ? NULL % a : a % NULL; // expected-warning 2{{use of NULL in arithmetic operation}} \
23 a = 0 ? NULL & a : a & NULL; // expected-warning 2{{use of NULL in arithmetic operation}}
24 a = 0 ? NULL | a : a | NULL; // expected-warning 2{{use of NULL in arithmetic operation}
    [all...]
  /external/clang/test/CodeGen/
2003-11-03-AddrArrayElement.c 4 // series of casts and address arithmetic.
  /external/clang/test/SemaObjCXX/
null_objc_pointer.mm 1 // RUN: %clang_cc1 -fsyntax-only -verify -Wnull-arithmetic %s
  /external/llvm/test/CodeGen/XCore/
2009-01-08-Crash.ll 3 ;; address arithmetic was folded into the LDWSP instruction,
  /external/clang/lib/StaticAnalyzer/Checkers/
PointerArithChecker.cpp 1 //=== PointerArithChecker.cpp - Pointer arithmetic checker -----*- C++ -*--===//
11 // pointer arithmetic on locations other than array elements.
48 // If pointer arithmetic is done on variables of non-array type, this often
55 BT.reset(new BuiltinBug("Dangerous pointer arithmetic",
56 "Pointer arithmetic done on non-array variables "
  /external/clang/test/SemaObjC/
sizeof-interface.m 10 P = P+5; // expected-error {{arithmetic on a pointer to an incomplete type 'I0'}}
54 P = P+5; // expected-error {{arithmetic on pointer to interface 'I0', which is not a constant size in non-fragile ABI}}
55 P = 5+P; // expected-error {{arithmetic on pointer to interface 'I0', which is not a constant size in non-fragile ABI}}
56 P = P-5; // expected-error {{arithmetic on pointer to interface 'I0', which is not a constant size in non-fragile ABI}}
88 ++f; // expected-error {{arithmetic on pointer to interface 'Foo', which is not a constant size in non-fragile ABI}}
89 --f; // expected-error {{arithmetic on pointer to interface 'Foo', which is not a constant size in non-fragile ABI}}
  /external/clang/test/CXX/expr/expr.unary/expr.unary.op/
p6.cpp 3 // -- prvalue of arithmetic
  /external/dropbear/libtommath/
bn_mp_clear_multi.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_exch.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_init_copy.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_init_set.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_init_set_int.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_mod_d.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_radix_smap.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_set.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_signed_bin_size.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_to_signed_bin.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_to_signed_bin_n.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_to_unsigned_bin_n.c 6 * integer arithmetic as well as number theoretic functionality.
bn_mp_unsigned_bin_size.c 6 * integer arithmetic as well as number theoretic functionality.

Completed in 582 milliseconds

1 2 3 4 5 6 7 8 91011>>