HomeSort by relevance Sort by last modified time
    Searched defs:stream (Results 401 - 425 of 3182) sorted by null

<<11121314151617181920>>

  /external/tensorflow/tensorflow/compiler/xla/client/
local_client.cc 79 if (run_options.stream() != nullptr) {
80 if (!run_options.stream()->ok()) {
81 return InvalidArgument("stream is uninitialized or in an error state");
84 // Check stream matches service platform.
86 run_options.stream()->parent()->platform();
89 "stream is for platform %s, but service targets platform %s",
94 // Cannot specify device_ordinal with a stream. The stream determines these
98 "cannot set both device ordinal and stream options in "
99 "ExecutableRunOptions; the stream determines the device ordinal")
145 Backend::StreamPtr stream; local
    [all...]
  /external/tensorflow/tensorflow/contrib/boosted_trees/resources/
quantile_stream_resource.h 50 QuantileStream* stream(int64 stamp) { function in class:tensorflow::boosted_trees::QuantileStreamResource
90 // Quantile stream.
  /external/tensorflow/tensorflow/contrib/ffmpeg/
decode_audio_op.cc 47 const int32 channel_count, const string& stream) {
57 channel_count, stream, &output_samples);
103 string stream; local
104 if (context->GetAttr("stream", &stream).ok()) {
105 stream_ = stream;
178 .Attr("stream: string = ''")
  /external/tensorflow/tensorflow/contrib/tensorrt/
tensorrt_test.cc 107 // Create GPU buffers and a stream
111 cudaStream_t stream; local
112 ASSERT_EQ(0, cudaStreamCreate(&stream));
120 cudaMemcpyHostToDevice, stream));
121 context.enqueue(1, buffers, stream, nullptr);
123 cudaMemcpyDeviceToHost, stream));
124 cudaStreamSynchronize(stream);
126 // Release the stream and the buffers
127 cudaStreamDestroy(stream);
  /external/tensorflow/tensorflow/core/kernels/
check_numerics_op.cc 130 auto* stream = context->op_device_context()->stream(); variable
131 OP_REQUIRES_ASYNC(context, stream != nullptr,
132 errors::Internal("No GPU stream available."), done);
137 stream->ThenMemset32(&abnormal_detected_ptr, 0,
157 stream
167 auto check_cb = [this, stream, abnormal_detected_ref,
170 scoped_activation{stream->parent()};
201 stream, std::move(check_cb));
cudnn_pooling_gpu.cc 97 auto* stream = context->op_device_context()->stream(); local
98 OP_REQUIRES(context, stream, errors::Internal("No GPU stream available."));
100 bool status = stream
225 auto* stream = context->op_device_context()->stream(); local
226 OP_REQUIRES(context, stream, errors::Internal("No GPU stream available."));
229 stream
    [all...]
histogram_op_gpu.cu.cc 69 const cudaStream_t& stream = GetCudaStream(context); local
81 /* stream */ stream);
105 /* stream */ stream);
matrix_triangular_solve_op.cc 190 auto* stream = context->op_device_context()->stream(); variable
193 stream->ThenMemcpyD2D(&out_ptr, rhs_ptr, sizeof(Scalar) * rhs_elems)
225 stream
  /external/tpm2/
stubs_hash.c 100 BYTE *stream = keyStream; local
125 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen)
156 _cpri__CompleteHMAC(&hashState, &hmacKey.b, hLen, stream);
178 BYTE *stream = keyStream; local
205 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen)
235 _cpri__CompleteHash(&hashState, hLen, stream);
  /external/webrtc/talk/media/base/
streamparams_unittest.cc 42 cricket::StreamParams stream; local
45 stream.ssrcs = ssrcs;
46 stream.ssrc_groups.push_back(sg);
47 return stream;
211 cricket::StreamParams stream; local
212 stream.add_ssrc(13);
213 EXPECT_TRUE(stream.AddFidSsrc(13, 14));
214 EXPECT_TRUE(cricket::IsOneSsrcStream(stream));
225 cricket::StreamParams stream = local
229 EXPECT_FALSE(cricket::IsOneSsrcStream(stream));
238 cricket::StreamParams stream; local
252 cricket::StreamParams stream = local
    [all...]
  /external/webrtc/webrtc/base/
filerotatingstream_unittest.cc 48 // Writes the data to the stream and flushes it.
54 // Checks that the stream reads in the expected contents and then returns an
55 // end of stream result.
60 scoped_ptr<FileRotatingStream> stream; local
61 stream.reset(new FileRotatingStream(dir_path, file_prefix));
62 ASSERT_TRUE(stream->Open());
65 EXPECT_TRUE(stream->GetSize(&stream_size));
68 stream->ReadAll(buffer.get(), expected_length, &read, nullptr));
70 EXPECT_EQ(SR_EOS, stream->ReadAll(buffer.get(), 1, nullptr, nullptr));
78 scoped_ptr<FileStream> stream(Filesystem::OpenFile(file_path, "r"))
    [all...]
logging_unittest.cc 15 #include "webrtc/base/stream.h"
43 LogSinkImpl<StringStream> stream(&str);
44 LogMessage::AddLogToStream(&stream, LS_INFO);
45 EXPECT_EQ(LS_INFO, LogMessage::GetLogToStream(&stream));
52 LogMessage::RemoveLogToStream(&stream);
53 EXPECT_EQ(LS_NONE, LogMessage::GetLogToStream(&stream));
58 // Test using multiple log streams. The INFO stream should get the INFO message,
59 // the VERBOSE stream should get the INFO and the VERBOSE.
136 LogSinkImpl<FileStream> stream; local
137 EXPECT_TRUE(stream.Open(path.pathname(), "wb", NULL))
    [all...]
  /external/webrtc/webrtc/modules/video_render/android/
video_render_android_native_opengl2.cc 223 AndroidNativeOpenGl2Channel* stream = local
226 if (stream && stream->Init(zOrder, left, top, right, bottom) == 0)
227 return stream;
229 delete stream;
video_render_android_surface_view.cc 216 AndroidSurfaceViewChannel* stream = local
218 if(stream && stream->Init(zOrder, left, top, right, bottom) == 0)
219 return stream;
221 delete stream;
  /frameworks/av/media/libaaudio/src/binding/
AAudioBinderClient.cpp 126 * @param request info needed to create the stream
127 * @param configuration contains information about the created stream
128 * @return handle to the stream or a negative error
132 aaudio_handle_t stream; local
137 stream = service->openStream(request, configurationOutput);
139 if (stream == AAUDIO_ERROR_NO_SERVICE) {
146 return stream;
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
conceal.cpp 39 BitstreamDecVideo *stream = video->bitstream; local
43 movePointerTo(stream, startFirstPartition);
53 PV_VlcDecMCBPC_com_intra(stream);
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
vop.cpp 24 PV_STATUS EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop);
25 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop);
26 PV_STATUS EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds);
46 // BitstreamEncVideo *stream=video->bitstream1;
128 BitstreamEncVideo *stream = video->bitstream1; local
135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */
137 video->header_bits = BitstreamGetPos(stream); /* Header Bits */
147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */
149 status = EncodeVOPHeader(stream, currVol, currVop); /* Encode VOP Header */
151 video->header_bits = BitstreamGetPos(stream); /* Header Bits *
197 BitstreamEncVideo *stream = video->bitstream1; \/* different from frame-based *\/ local
314 BitstreamEncVideo *stream = currVol->stream; local
    [all...]
  /frameworks/base/core/tests/utiltests/src/android/util/
MetadataReaderTest.java 90 InputStream stream = new FileInputStream("badString"); local
91 MetadataReader.getMetadata(mData, stream, "image/jpg", null);
  /frameworks/base/services/core/java/com/android/server/
RandomBlock.java 43 InputStream stream = null; local
45 stream = new FileInputStream(filename);
46 return fromStream(stream);
48 close(stream);
  /frameworks/base/services/robotests/src/com/android/server/testing/shadows/
ShadowBackupDataOutput.java 72 private void writeEntityHeader(ObjectOutputStream stream, String key, int dataSize)
74 // Write the int first because readInt() throws EOFException, to know when stream ends
75 stream.writeInt(dataSize);
76 stream.writeUTF(key);
77 stream.flush();
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
StatusBar.java 100 InputStream stream = iconLoader.getIcon(); local
102 if (stream != null) {
105 ParserFactory.create(stream, null), (BridgeContext) mContext, true);
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ParserFactory.java 59 InputStream stream = new FileInputStream(f); local
60 return create(stream, f.getName(), f.length(), isLayout);
63 public static XmlPullParser create(@NonNull InputStream stream, @Nullable String name)
65 return create(stream, name, -1, false);
69 private static XmlPullParser create(@NonNull InputStream stream, @Nullable String name,
73 stream = readAndClose(stream, name, size);
75 parser.setInput(stream, null);
98 private static InputStream readAndClose(@NonNull InputStream stream, @Nullable String name,
107 BufferedInputStream bufferedStream = new BufferedInputStream(stream);
    [all...]
  /frameworks/native/services/surfaceflinger/tests/hwc2/
Hwc2TestPixelComparator.cpp 88 std::ostringstream stream; local
90 stream << "x: " << x << " y: " << y << std::endl;
91 stream << std::hex;
92 stream << "Result pixel: " << resultRed << "|" << resultGreen << "|"
95 stream << "Expected pixel: " << expectedRed << "|" << expectedGreen << "|"
98 return stream.str();
103 std::ostringstream stream; local
104 stream << "Number of different pixels: " << mDifferentPixelCount;
108 stream << pixelDiff(std::get<0>(comparison),
112 return stream.str()
    [all...]
  /frameworks/native/services/vr/bufferhubd/
buffer_hub.cpp 39 std::ostringstream stream; local
48 stream << "Active Producer Buffers:\n";
49 stream << std::right;
50 stream << std::setw(6) << "Id";
51 stream << " ";
52 stream << std::setw(9) << "Consumers";
53 stream << " ";
54 stream << std::setw(14) << "Geometry";
55 stream << " ";
56 stream << std::setw(6) << "Format"
    [all...]
  /frameworks/native/services/vr/performanced/
performance_service_tests.cpp 36 std::ostringstream stream; local
37 stream << kProcBase << "/" << task_id << "/" << name;
39 UniqueFile file{fopen(stream.str().c_str(), "r")};

Completed in 785 milliseconds

<<11121314151617181920>>