Home
last modified time | relevance | path

Searched refs:only (Results 1 – 25 of 5257) sorted by relevance

12345678910>>...211

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
Dp6.cpp5 struct only { struct
6 only(T);
7 template<typename U> only(U) = delete;
14 only<const char [16]> testA = a;
15 only<const char **> testP = p;
20 only<unsigned long long> testB = b; in h()
23 only<int> testC = c; in h()
32 only<int> testX = x; in p3example()
33 only<const int*> testV = v; in p3example()
34 only<const int> testU = u; in p3example()
[all …]
/external/clang/test/SemaObjCXX/
Dobjc-decls-inside-namespace.mm1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
5 @protocol P; //expected-error{{Objective-C declarations may only appear in global scope}}
7 @class Bar; //expected-error{{Objective-C declarations may only appear in global scope}}
9 @compatibility_alias Foo Bar; //expected-error{{Objective-C declarations may only appear in global …
11 @interface A //expected-error{{Objective-C declarations may only appear in global scope}}
14 @implementation A //expected-error{{Objective-C declarations may only appear in global scope}}
17 @protocol P //expected-error{{Objective-C declarations may only appear in global scope}}
20 @interface A(C) //expected-error{{Objective-C declarations may only appear in global scope}}
23 @implementation A(C) //expected-error{{Objective-C declarations may only appear in global scope}}
26 @interface B @end //expected-error{{Objective-C declarations may only appear in global scope}}
[all …]
/external/clang/test/SemaObjC/
Dattr-cf_returns.m1 // RUN: %clang_cc1 -verify -fsyntax-only -fobjc-arc -fblocks %s
13 int x CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only applies to fun…
14 int y CF_RETURNS_NOT_RETAINED; // expected-warning{{'cf_returns_not_retained' attribute only applie…
18 int invalid1() CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only appli…
19 void invalid2() CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only appl…
25 - (int)invalid1 CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only appl…
26 - (void)invalid2 CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only app…
31 …CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only applies to properti…
32 …CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only applies to properti…
38 …CF_RETURNS_RETAINED, // expected-warning{{'cf_returns_retained' attribute only applies to pointer-…
[all …]
Dattr-malloc.m1 // RUN: %clang_cc1 -verify -fsyntax-only -fblocks %s
4 - (id) test1 __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
5 - (int) test2 __attribute((malloc)); // expected-warning {{attribute only applies to functions}}
13 __attribute((malloc)) id (*f)(); // expected-warning {{attribute only applies to functions}}
14 __attribute((malloc)) bptr (*g)(); // expected-warning {{attribute only applies to functions}}
15 __attribute((malloc)) void *(^h)(); // expected-warning {{attribute only applies to functions}}
/external/libmtp/logs/
Dmtp-detect-philips-sa5145.txt86 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
88 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
90 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
92 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
94 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
96 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
98 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
100 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
102 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
104 PTP: request code 0x9801 sending req wrote only 0 bytes instead of 16
[all …]
/external/clang/test/CXX/expr/expr.unary/expr.new/
Dp2-cxx0x.cpp4 struct only { struct
5 only(T);
6 template<typename U> only(U) = delete;
10 only<const int*> p = new const auto (0); in f()
11 only<double*> q = new (auto) (0.0); in f()
21 only<int*> r = new auto(1); in p2example()
24 only<char*> testX = x; in p2example()
/external/mockito/src/test/java/org/mockitousage/verification/
DOnlyVerificationTest.java18 import static org.mockito.Mockito.only;
30 verify(mock, only()).clear(); in shouldVerifyMethodWasInvokedExclusively()
36 verify(mock, only()).get(anyInt()); in shouldVerifyMethodWasInvokedExclusivelyWithMatchersUsage()
43 verify(mock, only()).get(0); in shouldFailIfMethodWasNotInvoked()
53 verify(mock, only()).clear(); in shouldFailIfMethodWasInvokedMoreThanOnce()
63 verify(mock, only()).get(999); in shouldFailIfMethodWasInvokedButWithDifferentArguments()
73 verify(mock, only()).get(2); in shouldFailIfExtraMethodWithDifferentArgsFound()
82 verify(mock, only()).clear(); in shouldVerifyMethodWasInvokedExclusivelyWhenTwoMocksInUse()
83 verify(mock2, only()).get(0); in shouldVerifyMethodWasInvokedExclusivelyWhenTwoMocksInUse()
/external/guice/core/test/com/google/inject/matcher/
DMatcherTest.java27 import static com.google.inject.matcher.Matchers.only;
103 assertTrue(only(1000).matches(1000)); in testOnly()
104 assertFalse(only(1).matches(1000)); in testOnly()
105 assertEquals("only(1)", only(1).toString()); in testOnly()
106 assertEqualsBothWays(only(1), only(1)); in testOnly()
107 assertFalse(only(1).equals(only(2))); in testOnly()
141 Matcher<Method> predicate = returns(only(String.class)); in testReturns()
146 assertEquals("returns(only(class java.lang.String))", returns(only(String.class)).toString()); in testReturns()
147 assertEqualsBothWays(predicate, returns(only(String.class))); in testReturns()
148 assertFalse(predicate.equals(returns(only(Integer.class)))); in testReturns()
[all …]
/external/llvm/test/Linker/
Donly-needed-named-metadata.ll1 ; Without -only-needed we should lazy link linkonce globals, and the
3 ; RUN: llvm-link -S %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metadata.ll | File…
7 ; With -only-needed the metadata references should not cause any of the
11 ; Note that doing -only-needed with the comdat shown below leads to a only
13 ; RUN: llvm-link -S -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metad…
14 ; RUN: llvm-link -S -internalize -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-neede…
/external/clang/test/PCH/
Darc.m3 … -triple x86_64-apple-darwin11 -fobjc-arc -include %S/Inputs/arc.h -fsyntax-only -emit-llvm-only %s
7 …-fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only -emit-llvm-only %s
10 …1 -fblocks -triple x86_64-apple-darwin11 -include-pch %t -fsyntax-only -emit-llvm-only %s 2>&1 | F…
12 …-triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only -emit-llvm-only %s 2>&1 | F…
/external/clang/test/SemaCXX/
Dtrailing-return-0x.cpp4 struct only struct
6 only(T) {} in only() function
9 only(U) in only() function
44 only<double> p1 = i(1.0);
71 only<int> p2 = xx.f(0L);
72 only<double> p3 = xx.g(0L, 1.0);
73 only<double> p4 = xx.get_nested<double>().h(0L, 1.0, 3.14f);
Ddependent-auto.cpp4 struct only { struct
5 only(T);
6 template<typename U> only(U) = delete; // expected-note {{here}}
12 only<int> check = x; in f()
30only<double*> test = p; // expected-error {{conversion function from 'char *' to 'only<double *>'}} in h()
/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_trigonometric.inl42 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'radians' only accept floating-point i…
56 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'degrees' only accept floating-point i…
70 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'sin' only accept floating-point input…
81 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'cos' only accept floating-point input…
95 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'tan' only accept floating-point input…
109 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'asin' only accept floating-point inpu…
123 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acos' only accept floating-point inpu…
138 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'atan' only accept floating-point inpu…
151 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'atan' only accept floating-point inpu…
165 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'sinh' only accept floating-point inpu…
[all …]
Dfunc_common.inl50 "'abs' only accept floating-point and integer scalar or vector inputs");
63 "'abs' only accept floating-point and integer scalar or vector inputs");
73 …GLM_STATIC_ASSERT(std::numeric_limits<U>::is_iec559, "'mix' only accept floating-point inputs for …
96 …GLM_STATIC_ASSERT(std::numeric_limits<U>::is_iec559, "'mix' only accept floating-point inputs for …
116 …GLM_STATIC_ASSERT(std::numeric_limits<U>::is_iec559, "'mix' only accept floating-point inputs for …
154 …IType>::is_signed && std::numeric_limits<genFIType>::is_integer), "'sign' only accept signed input…
174 "'floor' only accept floating-point inputs");
187 "'trunc' only accept floating-point inputs");
201 "'round' only accept floating-point inputs");
214 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'roundEven' only accept floating-point…
[all …]
/external/clang/test/Frontend/
Dopencl.cl1 // RUN: %clang_cc1 %s -verify -fsyntax-only
2 // RUN: %clang_cc1 %s -verify -fsyntax-only -cl-std=CL1.1
3 // RUN: %clang_cc1 %s -verify -fsyntax-only -cl-std=CL1.2
4 // RUN: %clang_cc1 %s -verify -fsyntax-only -cl-std=CL2.0
5 // RUN: %clang_cc1 %s -verify -fsyntax-only -fblocks -DBLOCKS
6 // RUN: %clang_cc1 %s -verify -fsyntax-only -cl-std=CL1.1 -fblocks -DBLOCKS
7 // RUN: %clang_cc1 %s -verify -fsyntax-only -cl-std=CL1.2 -fblocks -DBLOCKS
8 // RUN: %clang_cc1 %s -triple amdgcn--amdhsa -x c -std=c99 -verify -fsyntax-only
/external/clang/test/SemaOpenCL/
Dinvalid-kernel-attrs.cl17 …void kernel8(){} // expected-error {{attribute 'reqd_work_group_size' can only be applied to a ker…
19 …void kernel9(){} // expected-error {{attribute 'work_group_size_hint' can only be applied to a ker…
21 …ar))) void kernel10(){} // expected-error {{attribute 'vec_type_hint' can only be applied to a ker…
23 …size(8,16,32))) = 0; // expected-error {{'reqd_work_group_size' attribute only applies to function…
25 …hint(8,16,32))) = 0; // expected-error {{'work_group_size_hint' attribute only applies to function…
27 …(vec_type_hint(char))) = 0; // expected-error {{'vec_type_hint' attribute only applies to function…
29 void f_kernel_image2d_t( kernel image2d_t image ) { // expected-error {{'kernel' attribute only app…
30 int __kernel x; // expected-error {{'__kernel' attribute only applies to functions}}
/external/vulkan-validation-layers/libs/glm/gtc/
Dreciprocal.inl41 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'sec' only accept floating-point value…
55 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'csc' only accept floating-point value…
69 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'cot' only accept floating-point value…
83 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'asec' only accept floating-point valu…
97 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acsc' only accept floating-point valu…
111 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acot' only accept floating-point valu…
126 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'sech' only accept floating-point valu…
140 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'csch' only accept floating-point valu…
154 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'coth' only accept floating-point valu…
168 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'asech' only accept floating-point val…
[all …]
/external/fio/doc/
Dfio_examples.rst7 .. only:: builder_html
17 .. only:: builder_html
27 .. only:: builder_html
37 .. only:: builder_html
47 .. only:: builder_html
57 .. only:: builder_html
/external/fmtlib/doc/bootstrap/mixins/
Dimage.less24 only screen and (-webkit-min-device-pixel-ratio: 2),
25 only screen and ( min--moz-device-pixel-ratio: 2),
26 only screen and ( -o-min-device-pixel-ratio: 2/1),
27 only screen and ( min-device-pixel-ratio: 2),
28 only screen and ( min-resolution: 192dpi),
29 only screen and ( min-resolution: 2dppx) {
/external/tcpdump/tests/
DTESTrun.sh25 only=$1
35 [ "$only" != "" -a "$name" != "$only" ] && continue
44 [ "$only" != "" -a "$name" = "$only" ] && break
/external/clang/test/Modules/
Drequire-modular-includes.m7 // RUN: -Werror -fsyntax-only -x objective-c -
14 // RUN: -fsyntax-only -x objective-c - 2>&1 | FileCheck %s
20 // RUN: -Werror -fsyntax-only -x objective-c -
27 // RUN: -fsyntax-only -x objective-c - 2>&1 | FileCheck %s
34 // RUN: -fsyntax-only -x objective-c - 2>&1 | FileCheck %s
40 // RUN: -Werror -fmodule-name=A -fsyntax-only -x objective-c -
46 // RUN: -Werror -fsyntax-only -x objective-c -
53 // RUN: -Werror -fsyntax-only -x objective-c -
60 // RUN: -Werror -fsyntax-only -x objective-c -
67 // RUN: -Werror -fsyntax-only -x objective-c -
[all …]
/external/icu/icu4c/source/data/translit/
Dky_ky_FONIPA.txt24 ё → jo; # appears only in loanwords
63 ф → f; # only in loanwords
65 ц → t\u0361s; # only in loanwords
68 щ → ʃ t\u0361ʃ; # only in loanwords
69 ъ → ; # no phonemic value; appears only in loanwords
71 ь → ; # no phonemic value; appears only in loanwords
/external/fmtlib/test/add-subdirectory-test/
DCMakeLists.txt10 if (TARGET fmt-header-only)
11 add_executable(header-only-test "main.cc")
12 target_link_libraries(header-only-test fmt-header-only)
/external/fmtlib/test/find-package-test/
DCMakeLists.txt10 if (TARGET fmt-header-only)
11 add_executable(header-only-test main.cc)
12 target_link_libraries(header-only-test fmt-header-only)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
Dcoverage.txt8 conformance/interfaces/strftime/1-1.c:67: warning: `%c' yields only last 2 digits of year in some l…
9 conformance/interfaces/strftime/1-1.c:95: warning: `%D' yields only last 2 digits of year
10 conformance/interfaces/strftime/1-1.c:132: warning: `%g' yields only last 2 digits of year
11 conformance/interfaces/strftime/1-1.c:312: warning: `%x' yields only last 2 digits of year in some …
12 conformance/interfaces/strftime/1-1.c:330: warning: `%y' yields only last 2 digits of year

12345678910>>...211