/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/ |
retry.cpp | 9 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))). 21 auto source = rxcpp::observable<>::from(1, 2). variable 22 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))); 23 auto values = source.retry(3); 40 // concat(rxcpp::observable<>::error<long>(std::runtime_error("Error1 from source"))). 42 // concat(rxcpp::observable<>::error<long>(std::runtime_error("Error2 from source"))). 44 // concat(rxcpp::observable<>::error<long>(std::runtime_error("Error3 from source"))). 46 // concat(rxcpp::observable<>::error<long>(std::runtime_error("Error4 from source"))). 63 // auto source = rxcpp::observable<>::from(1, 2). 64 // concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))) [all...] |
sequence_equal.cpp | 8 auto source = rxcpp::observable<>::range(1, 3); variable 9 auto values = source.sequence_equal(rxcpp::observable<>::range(1, 3));
|
skip_until.cpp | 8 auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7); variable 10 auto values = source.skip_until(trigger); 23 auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7).map([](long v){ variable 24 printf("[thread %s] Source emits, value = %ld\n", get_pid().c_str(), v); 31 auto values = source.skip_until(trigger, rxcpp::observe_on_new_thread());
|
take_until.cpp | 8 auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7); variable 10 auto values = source.take_until(trigger); 20 auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7); variable 21 auto values = source.take_until(std::chrono::steady_clock::now() + std::chrono::milliseconds(25)); 34 auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7).map([](long v){ variable 35 printf("[thread %s] Source emits, value = %ld\n", get_pid().c_str(), v); 42 auto values = source.take_until(trigger, rxcpp::observe_on_new_thread()); 55 auto source = rxcpp::observable<>::interval(std::chrono::milliseconds(10)).take(7).map([](long v){ variable 56 printf("[thread %s] Source emits, value = %ld\n", get_pid().c_str(), v); 60 auto values = source.take_until(scheduler.now() + std::chrono::milliseconds(25), scheduler) [all...] |
/external/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ |
deduct.fail.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 33 std::priority_queue<int> source; local 34 std::priority_queue pri(source, 45); // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'priority_queue'}}
|
/external/libcxx/test/std/containers/container.adaptors/queue/queue.cons/ |
deduct.fail.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 33 std::queue<int> source; local 34 std::queue que(source, 45); // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'queue'}}
|
deduct.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 68 std::queue<A> source; local 69 std::queue que(source); // queue(queue &) 83 std::queue<T, C> source(c); 84 std::queue que(source, A(2)); // queue(queue &, allocator)
|
/external/libcxx/test/std/containers/container.adaptors/stack/stack.cons/ |
deduct.fail.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 40 std::stack<int> source; local 41 std::stack stk(source, 45); // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'stack'}}
|
deduct.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 71 std::stack<A> source; local 72 std::stack stk(source); // stack(stack &) 86 std::stack<T, C> source(c); 87 std::stack stk(source, A(2)); // stack(stack &, allocator)
|
/external/webrtc/talk/app/webrtc/objc/public/ |
RTCVideoTrack.h | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright notice, 37 @property(nonatomic, readonly) RTCVideoSource* source; variable 40 source:(RTCVideoSource*)source
|
/external/deqp-deps/SPIRV-Tools/examples/cpp-interface/ |
main.cpp | 30 const std::string source = local 50 if (!core.Assemble(source, &spirv)) return 1;
|
/external/libcxx/test/std/containers/sequences/array/array.cons/ |
deduct.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 58 std::array<double, 2> source = {4.0, 5.0}; local 59 std::array arr(source); // array(array) 60 static_assert(std::is_same_v<decltype(arr), decltype(source)>, "");
|
/external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
deduct.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 92 std::deque<long double> source; local 93 std::deque deq(source); // deque(deque &)
|
/external/libcxx/test/std/containers/sequences/vector/vector.cons/ |
deduct.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 92 std::vector<long double> source; local 93 std::vector vec(source); // vector(vector &) 110 std::vector<bool> source; local 111 std::vector vec(source); // vector(vector &)
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/ |
convert_to_auto_ptr.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 24 source() function 32 std::auto_ptr<A> ap2(source());
|
/external/libcxx/test/std/re/re.regex/re.regex.construct/ |
deduct.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 109 std::basic_regex<char> source; local 110 std::basic_regex re(source); 112 assert(re.flags() == source.flags()); 113 assert(re.mark_count() == source.mark_count());
|
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ |
ref_1.fail.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 24 const A source() {return A();} function 28 std::reference_wrapper<const A> r = std::ref(source());
|
/external/skia/gm/ |
draw_bitmap_rect_skbug4374.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 11 SkBitmap source; local 12 if (GetResourceAsBitmap("images/randPixels.png", &source)) { 13 SkRect rect = SkRect::Make(source.bounds()); 17 canvas->drawBitmapRect(source, rect, dst, nullptr);
|
/external/skqp/gm/ |
draw_bitmap_rect_skbug4374.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 11 SkBitmap source; local 12 if (GetResourceAsBitmap("images/randPixels.png", &source)) { 13 SkRect rect = SkRect::Make(source.bounds()); 17 canvas->drawBitmapRect(source, rect, dst, nullptr);
|
/external/swiftshader/third_party/SPIRV-Tools/examples/cpp-interface/ |
main.cpp | 30 const std::string source = local 50 if (!core.Assemble(source, &spirv)) return 1;
|
/external/v8/src/snapshot/ |
natives-common.cc | 2 // Use of this source code is governed by a BSD-style license that can be 17 Vector<const char> source; local 22 source = Natives::GetScriptSource(index); 26 source = ExtraNatives::GetScriptSource(index); 30 source = ExperimentalExtraNatives::GetScriptSource(index); 35 data_ = source.start(); 36 length_ = source.length();
|
/external/walt/ios/WALT/ |
MIDIClient.h | 2 * Copyright (C) 2016 The Android Open Source Project 31 /** Called when a MIDIClient receives data from a connected source. */ 48 /** A MIDI client that can read data from a MIDI source and write data to a MIDI destination. */ 50 /** The source attached by -connectToSource:error:. */ 51 @property (readonly, nonatomic) MIDISource *source; variable 65 /** Attaches an input source to the client. */ 66 - (BOOL)connectToSource:(MIDISource *)source error:(NSError **)error;
|
/external/webrtc/talk/app/webrtc/ |
localaudiosource_unittest.cc | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright notice, 57 rtc::scoped_refptr<LocalAudioSource> source = local 61 EXPECT_EQ(rtc::Optional<bool>(false), source->options().echo_cancellation); 62 EXPECT_EQ(rtc::Optional<bool>(true), source->options().extended_filter_aec); 63 EXPECT_EQ(rtc::Optional<bool>(true), source->options().delay_agnostic_aec); 64 EXPECT_EQ(rtc::Optional<bool>(true), source->options().auto_gain_control); 65 EXPECT_EQ(rtc::Optional<bool>(true), source->options().experimental_agc); 66 EXPECT_EQ(rtc::Optional<bool>(false), source->options().noise_suppression); 67 EXPECT_EQ(rtc::Optional<bool>(true), source->options().highpass_filter) 73 rtc::scoped_refptr<LocalAudioSource> source = local 86 rtc::scoped_refptr<LocalAudioSource> source = local 98 rtc::scoped_refptr<LocalAudioSource> source = local 111 rtc::scoped_refptr<LocalAudioSource> source = local [all...] |
/external/webrtc/webrtc/base/ |
urlencode_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 8 * be found in the AUTHORS file in the root of the source tree. 20 char source[] = "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" local 23 ASSERT_EQ(0, UrlEncode(source, dest, arraysize(dest))); 27 ASSERT_EQ(0, UrlEncode(source, dest, 0)); 32 char source[] = "^"; local 34 ASSERT_EQ(3, UrlEncode(source, dest, arraysize(dest))); 42 char source[] = "aa"; local 44 ASSERT_EQ(2, UrlEncode(source, dest, arraysize(dest))) 51 char source[] = "&"; local 58 char source[] = "A^ "; local 65 char source[] = "A^ "; local 73 char source[] = "A%5E+"; local 80 char source[] = "A%5E+"; local [all...] |
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/ |
deduct.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 97 std::forward_list<long double> source; local 98 std::forward_list fwl(source); // deque(deque &)
|