/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
tutorial.cpp | 0 // Hello World example
15 const char json[] = " { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\": 3.1416, \"a\":[1, 2, 3, 4] } ";
40 assert(document.HasMember("hello"));
41 assert(document["hello"].IsString());
42 printf("hello = %s\n", document["hello"].GetString());
45 Value::MemberIterator hello = document.FindMember("hello");
local 46 assert(hello != document.MemberEnd());
47 assert(hello->value.IsString()); [all...] |
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/ |
native-lib.cpp | 15 std::string hello = "Hello from C++"; local 16 return env->NewStringUTF(hello.c_str());
|
/external/libbrillo/brillo/ |
osrelease_reader_unittest.cc | 40 string hello = "hello"; local 45 base::WriteFile(osreleased_.Append("TEST_KEY"), hello.data(), hello.size()); 64 // hello in chosen (from os-release.d) instead of bonjour from os-release. 65 ASSERT_EQ(hello, test_key_value); 76 string hello = "hello\n"; local 79 base::WriteFile(osreleased_.Append("HELLO"), hello.data(), hello.size()) [all...] |
/prebuilts/go/darwin-x86/test/interface/ |
convert.go | 35 var t = T("hello") 43 func hello(s string) { func 44 if s != "hello" { 45 println("not hello: ", s) 72 hello(s.String()) 76 hello(t.String()) 83 hello(t.String()) 87 hello(sl.String()) 92 hello(s.String()) 96 hello(sl.String() [all...] |
/prebuilts/go/linux-x86/test/interface/ |
convert.go | 35 var t = T("hello") 43 func hello(s string) { func 44 if s != "hello" { 45 println("not hello: ", s) 72 hello(s.String()) 76 hello(t.String()) 83 hello(t.String()) 87 hello(sl.String()) 92 hello(s.String()) 96 hello(sl.String() [all...] |
/dalvik/dx/tests/133-source-debug-extension/ |
HelloKt.class | |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
example.c | 29 const char hello[] = "hello, hello!";
variable 30 /* "hello world" would be more standard, but the repeated "hello"
34 const char dictionary[] = "hello";
64 uLong len = (uLong)strlen(hello)+1;
66 err = compress(compr, &comprLen, (const Bytef*)hello, len);
74 if (strcmp((char*)uncompr, hello)) {
94 int len = (int)strlen(hello)+1; [all...] |
/external/clang/test/Index/ |
annotate-tokens.c | 9 const char * hello = "Hello"; local 112 // CHECK: Keyword: "const" [9:3 - 9:8] VarDecl=hello:9:16 (Definition) 113 // CHECK: Keyword: "char" [9:9 - 9:13] VarDecl=hello:9:16 (Definition) 114 // CHECK: Punctuation: "*" [9:14 - 9:15] VarDecl=hello:9:16 (Definition) 115 // CHECK: Identifier: "hello" [9:16 - 9:21] VarDecl=hello:9:16 (Definition) 116 // CHECK: Punctuation: "=" [9:22 - 9:23] VarDecl=hello:9:16 (Definition) 117 // CHECK: Literal: ""Hello"" [9:24 - 9:31] StringLiteral=
|
/external/protobuf/src/google/protobuf/stubs/ |
stringpiece_unittest.cc | 55 const char* hello = "hello"; local 56 StringPiece s20(hello); 57 EXPECT_TRUE(s20.data() == hello); 61 StringPiece s21(hello, 4); 62 EXPECT_TRUE(s21.data() == hello); 66 StringPiece s22(hello, 6); 67 EXPECT_TRUE(s22.data() == hello); 750 EXPECT_EQ("hello", string("hello")); [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
ObjectOutputStreamTest.java | 80 String hello = "Hello"; local 81 CallsCloseInWriteObjectMethod object = new CallsCloseInWriteObjectMethod(hello); 85 // the hello gets handle N 86 // the reuse of hello has a reference to handle N 87 // When it is deserialized the list contains object, hello, Arrays.asList().getClass() 88 // instead of object, hello, hello. 89 List<Serializable> input = Arrays.asList(object, hello, hello); [all...] |
/prebuilts/go/darwin-x86/src/net/smtp/ |
smtp.go | 46 helloError error // the error from the hello 78 // hello runs a hello exchange if needed. 79 func (c *Client) hello() error { func 90 // Hello sends a HELO or EHLO to the server as the given host name. 93 // automatically otherwise. If Hello is called, it must be called before 95 func (c *Client) Hello(localName string) error { 97 return errors.New("smtp: Hello called after other methods") 100 return c.hello() 123 // ehlo sends the EHLO (extended hello) greeting to the server. I [all...] |
/prebuilts/go/linux-x86/src/net/smtp/ |
smtp.go | 46 helloError error // the error from the hello 78 // hello runs a hello exchange if needed. 79 func (c *Client) hello() error { func 90 // Hello sends a HELO or EHLO to the server as the given host name. 93 // automatically otherwise. If Hello is called, it must be called before 95 func (c *Client) Hello(localName string) error { 97 return errors.New("smtp: Hello called after other methods") 100 return c.hello() 123 // ehlo sends the EHLO (extended hello) greeting to the server. I [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
SlideEdgeTest.java | 81 final View hello = mActivity.findViewById(R.id.hello); local 88 hello.setVisibility(View.INVISIBLE); 94 assertEquals(View.VISIBLE, hello.getVisibility()); 102 verifyTranslation(slideEdge, hello); 135 verifyNoTranslation(hello); 138 assertEquals(View.INVISIBLE, hello.getVisibility()); 156 final View hello = mActivity.findViewById(R.id.hello); local 162 hello.setVisibility(View.INVISIBLE) [all...] |
ActivityTransitionTest.java | 273 final View hello = mActivity.findViewById(R.id.hello); local 293 assertEquals(1.0f, hello.getAlpha(), 0.01f); 297 assertEquals(View.VISIBLE, hello.getVisibility());
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
TextToSpeechActivity.java | 119 "Hello", 128 // Select a random hello. 130 String hello = HELLOS[RANDOM.nextInt(helloLength)]; local 131 mTts.speak(hello,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
example.c | 29 z_const char hello[] = "hello, hello!";
variable 30 /* "hello world" would be more standard, but the repeated "hello"
34 const char dictionary[] = "hello";
93 uLong len = (uLong)strlen(hello)+1;
95 err = compress(compr, &comprLen, (const Bytef*)hello, len);
103 if (strcmp((char*)uncompr, hello)) {
123 int len = (int)strlen(hello)+1; [all...] |
/external/autotest/client/cros/ |
ec.py | 80 HELLO_RE = "EC says hello" 90 def hello(self): member in class:EC 91 """Test EC hello command. 95 response = self.ec_command('hello')
|
/external/clang/test/PCH/ |
exprs.h | 20 const char *hello = "Hello" "PCH" "World"; variable 110 typedef typeof(_Generic(i, char*: 0, int: 0., default: hello))
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/ |
HelloWorldMaker.java | 47 helloWorldClass.getMethod("hello").invoke(null); 52 * public static void hello() { 66 // Identify the 'hello()' method on declaringType. 67 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello"); local 71 Code code = dexMaker.declare(hello, Modifier.STATIC | Modifier.PUBLIC);
|
/external/python/cpython2/Modules/zlib/ |
example.c | 29 z_const char hello[] = "hello, hello!"; variable 30 /* "hello world" would be more standard, but the repeated "hello" 34 const char dictionary[] = "hello"; 93 uLong len = (uLong)strlen(hello)+1; 95 err = compress(compr, &comprLen, (const Bytef*)hello, len); 103 if (strcmp((char*)uncompr, hello)) { 123 int len = (int)strlen(hello)+1 [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ResourcesTest.java | 86 String hello=resources.getString( R.string.hello ); local 87 assertThat( hello, equalTo( "Bonjour" ) );
|
/external/zlib/src/test/ |
example.c | 29 z_const char hello[] = "hello, hello!"; variable 30 /* "hello world" would be more standard, but the repeated "hello" 34 const char dictionary[] = "hello"; 93 uLong len = (uLong)strlen(hello)+1; 95 err = compress(compr, &comprLen, (const Bytef*)hello, len); 103 if (strcmp((char*)uncompr, hello)) { 123 int len = (int)strlen(hello)+1 [all...] |
/frameworks/support/transition/tests/src/android/support/transition/ |
SlideEdgeTest.java | 85 final View hello = rule.getActivity().findViewById(R.id.hello); local 94 hello.setVisibility(View.INVISIBLE); 101 assertEquals(View.VISIBLE, hello.getVisibility()); 109 verifyTranslation(slideEdge, hello); 142 verifyNoTranslation(hello); 145 assertEquals(View.INVISIBLE, hello.getVisibility()); 169 final View hello = rule.getActivity().findViewById(R.id.hello); local 177 hello.setVisibility(View.INVISIBLE) [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
PostMessageTest.java | 202 final String hello = "HELLO"; local 216 message.getPorts()[0].postMessage(new WebMessage(hello)); 221 waitForTitle(hello);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUServiceTestSample.java | 39 * A class that displays the current names in the Hello service. 71 System.out.println(displayName + " says " + service.hello()); 110 * notification. The service just implements 'hello'. 121 * The hello service... 123 public String hello() { method in class:ICUServiceTestSample.HelloService 152 doRegister("Hello", "en"); 197 * Register a new hello string for this locale. 206 private static void doRegister(String hello, String id) { 207 registry().registerObject(new HelloService(hello), id);
|