Home
last modified time | relevance | path

Searched refs:oss (Results 1 – 25 of 72) sorted by relevance

123

/external/qemu/audio/
Dossaudio.c147 OSSVoiceOut *oss = (OSSVoiceOut *) hw; in oss_poll_out() local
149 return qemu_set_fd_handler (oss->fd, NULL, oss_helper_poll_out, NULL); in oss_poll_out()
154 OSSVoiceIn *oss = (OSSVoiceIn *) hw; in oss_poll_in() local
156 return qemu_set_fd_handler (oss->fd, oss_helper_poll_in, NULL, NULL); in oss_poll_in()
384 static void oss_write_pending (OSSVoiceOut *oss) in oss_write_pending() argument
386 HWVoiceOut *hw = &oss->hw; in oss_write_pending()
388 if (oss->mmapped) { in oss_write_pending()
392 while (oss->pending) { in oss_write_pending()
395 int samples_till_end = hw->samples - oss->wpos; in oss_write_pending()
396 int samples_to_write = audio_MIN (oss->pending, samples_till_end); in oss_write_pending()
[all …]
/external/chromium_org/third_party/angle/samples/dds_to_header/
Dmain.cpp185 std::ofstream oss(outputFile); in main() local
186oss << "// Automatically generated header from " << inputFile << ", a " << width << "x" << height; in main()
189 oss << " (" << levels << " mip levels)"; in main()
191 oss << "\n// " << formatName << " texture using " << programName << ".\n"; in main()
193 oss << "static const size_t " << outputName << "_width = " << width << ";\n"; in main()
194 oss << "static const size_t " << outputName << "_height = " << height << ";\n"; in main()
195 oss << "static const size_t " << outputName << "_levels = " << levels << ";\n"; in main()
196 oss << "\n"; in main()
209oss << "static const size_t " << outputName << "_" << i << "_width = " << widthAtLevel << ";\n"; in main()
210oss << "static const size_t " << outputName << "_" << i << "_height = " << heightAtLevel << ";\n"; in main()
[all …]
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
Dformat_element_test.cc29 std::ostringstream oss; in TEST() local
30 oss << FormatElement(); in TEST()
31 EXPECT_EQ("Newline", oss.str()); in TEST()
35 std::ostringstream oss; in TEST() local
36 oss << FormatElement("Text"); in TEST()
37 EXPECT_EQ("Literal: Text", oss.str()); in TEST()
41 std::ostringstream oss; in TEST() local
42 oss << FormatElement(SORTING_CODE); in TEST()
43 EXPECT_EQ("Field: SORTING_CODE", oss.str()); in TEST()
Daddress_problem_test.cc27 std::ostringstream oss; in TEST() local
28 oss << UNKNOWN_VALUE; in TEST()
29 EXPECT_EQ("UNKNOWN_VALUE", oss.str()); in TEST()
33 std::ostringstream oss; in TEST() local
34 oss << static_cast<AddressProblem>(-42); in TEST()
35 EXPECT_EQ("[INVALID ENUM VALUE -42]", oss.str()); in TEST()
Daddress_field_test.cc27 std::ostringstream oss; in TEST() local
28 oss << SORTING_CODE; in TEST()
29 EXPECT_EQ("SORTING_CODE", oss.str()); in TEST()
33 std::ostringstream oss; in TEST() local
34 oss << static_cast<AddressField>(-42); in TEST()
35 EXPECT_EQ("[INVALID ENUM VALUE -42]", oss.str()); in TEST()
Daddress_data_test.cc147 std::ostringstream oss; in TEST() local
160 oss << address; in TEST()
171 "recipient: \"N\"\n", oss.str()); in TEST()
/external/chromium_org/v8/test/cctest/
Dtest-ostreams.cc16 OStringStream oss; in TEST() local
18 CHECK(expected_size == oss.size()); in TEST()
19 CHECK_GT(oss.capacity(), 0); in TEST()
20 CHECK_NE(NULL, oss.data()); in TEST()
21 CHECK_EQ("", oss.c_str()); in TEST()
32 OStringStream oss; in TEST() local
36 oss.write(TEST_STRING, len); in TEST()
46 CHECK(expected_len == oss.size()); in TEST()
47 CHECK_GT(oss.capacity(), 0); in TEST()
48 CHECK_EQ(0, strncmp(expected, oss.data(), expected_len)); in TEST()
[all …]
/external/deqp/modules/gles31/functional/
Des31fSeparateShaderTests.cpp199 void printInputColor (ostringstream& oss, const VariableDeclaration& input) in printInputColor() argument
228 oss << "hsv(vec3(" << exp << ", 1.0, 1.0))"; in printInputColor()
231 oss << "hsv(vec3(" << exp << ", 1.0))"; in printInputColor()
234 oss << "vec4(" << exp << ", 1.0)"; in printInputColor()
237 oss << exp; in printInputColor()
249 oss << "hsv(vec3(determinant(" << exp << ")))"; in printInputColor()
260 oss << "hsv(" << exp << ")"; in printInputColor()
383 void printFloat (ostringstream& oss, double d) in printFloat() argument
385 oss.setf(oss.fixed | oss.internal); in printFloat()
386 oss.precision(4); in printFloat()
[all …]
/external/deqp/framework/common/
DtcuFloatFormat.cpp245 std::ostringstream oss; in floatToHex() local
247 oss << (x < 0 ? "-" : "") in floatToHex()
252 return oss.str(); in floatToHex()
325 ostringstream oss; in check() local
326 oss << expr << " returned " << result << ", expected " << reference; in check()
327 TCU_FAIL(oss.str().c_str()); in check()
333 ostringstream oss; in testULP() local
335 oss << "ulp(" << arg << ")"; in testULP()
336 check(oss.str(), m_fmt->ulp(arg), ref); in testULP()
342 ostringstream oss; in testRound() local
[all …]
/external/llvm/unittests/IR/
DMetadataTest.cpp59 raw_string_ostream oss(Str); in TEST_F() local
60 s->print(oss); in TEST_F()
61 EXPECT_STREQ("metadata !\"testing 1 2 3\"", oss.str().c_str()); in TEST_F()
69 raw_string_ostream oss(Str); in TEST_F() local
70 s->print(oss); in TEST_F()
71 EXPECT_STREQ("metadata !\"\\00\\0A\\22\\5C\\FF\"", oss.str().c_str()); in TEST_F()
147 raw_string_ostream oss(Str); in TEST() local
148 NMD->print(oss); in TEST()
150 oss.str().c_str()); in TEST()
/external/chromium_org/content/browser/renderer_host/media/
Daudio_input_renderer_host.cc25 std::ostringstream oss; in LogMessage() local
26 oss << "[stream_id=" << stream_id << "] "; in LogMessage()
28 oss << "AIRH::"; in LogMessage()
29 oss << msg; in LogMessage()
30 content::MediaStreamManager::SendMessageToNativeLog(oss.str()); in LogMessage()
31 DVLOG(1) << oss.str(); in LogMessage()
239 std::ostringstream oss; in DoHandleError() local
240 oss << "AIC reports error_code=" << error_code; in DoHandleError()
241 LogMessage(entry->stream_id, oss.str(), false); in DoHandleError()
306 std::ostringstream oss; in DoCreateStream() local
[all …]
Daudio_input_sync_writer.cc59 std::ostringstream oss; in Write() local
63 oss << "AISW::Write: audio input data received for the first time: delay " in Write()
69 oss << "AISW::Write: audio input data delay unexpectedly long: delay = " in Write()
73 if (!oss.str().empty()) { in Write()
74 MediaStreamManager::SendMessageToNativeLog(oss.str()); in Write()
75 DVLOG(1) << oss.str(); in Write()
/external/zlib/src/contrib/iostream2/
Dzstream.h243 ostrstream* oss = new ostrstream; in os_flush() local
244 oss->fill(m_os->fill()); in os_flush()
245 oss->flags(m_os->flags()); in os_flush()
246 oss->precision(m_os->precision()); in os_flush()
247 oss->width(m_os->width()); in os_flush()
249 delete[] m_os->str(); delete m_os; m_os = oss; in os_flush()
/external/jsoncpp/src/test_lib_json/
Djsontest.h93 std::ostringstream oss; variable
94 oss.precision( 16 );
95 oss.setf( std::ios_base::floatfield );
96 oss << value;
97 return addToLastFailure(oss.str());
/external/chromium_org/chrome/browser/history/android/
Dandroid_urls_database.cc91 std::ostringstream oss; in DeleteAndroidURLRows() local
96 oss << ", "; in DeleteAndroidURLRows()
99 oss << *i; in DeleteAndroidURLRows()
104 sql.append(oss.str()); in DeleteAndroidURLRows()
Dandroid_cache_database.cc71 std::ostringstream oss; in MarkURLsAsBookmarked() local
75 oss << ", "; in MarkURLsAsBookmarked()
78 oss << *i; in MarkURLsAsBookmarked()
86 sql.append(oss.str()); in MarkURLsAsBookmarked()
/external/chromium_org/content/renderer/media/
Daudio_input_message_filter.cc20 std::ostringstream oss; in LogMessage() local
21 oss << "[stream_id=" << stream_id << "] AIMF::" << msg; in LogMessage()
22 content::WebRtcLogMessage(oss.str()); in LogMessage()
23 DVLOG(1) << oss.str(); in LogMessage()
/external/chromium_org/third_party/webrtc/base/
Dstringencode.h171 std::ostringstream oss; in ToString() local
172 oss << std::boolalpha << t; in ToString()
173 *s = oss.str(); in ToString()
174 return !oss.fail(); in ToString()
Dproxydetect.cc1044 OSStatus oss = 0; in p_putPasswordInProxyInfo() local
1080 oss = SecKeychainSearchCreateFromAttributes(NULL, in p_putPasswordInProxyInfo()
1083 if (0 == oss) { in p_putPasswordInProxyInfo()
1087 oss = SecKeychainSearchCopyNext(sref, &iref); in p_putPasswordInProxyInfo()
1088 if (0 == oss) { in p_putPasswordInProxyInfo()
1137 } else if (errSecItemNotFound == oss) { in p_putPasswordInProxyInfo()
1141 LOG(LS_ERROR) << "Couldn't get keychain information, error code" << oss; in p_putPasswordInProxyInfo()
1144 } else if (errSecItemNotFound == oss) { // noop in p_putPasswordInProxyInfo()
1147 LOG(LS_ERROR) << "Couldn't get keychain information, error code" << oss; in p_putPasswordInProxyInfo()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dmetadata_database_index_on_disk.cc100 std::ostringstream oss; in GenerateTrackerIDByFileIDKeyPrefix() local
101 oss << kTrackerIDByFileIDKeyPrefix << file_id << '\0'; in GenerateTrackerIDByFileIDKeyPrefix()
102 return oss.str(); in GenerateTrackerIDByFileIDKeyPrefix()
111 std::ostringstream oss; in GenerateActiveTrackerIDByParentAndTitleKey() local
112 oss << kActiveTrackerIDByParentAndTitleKeyPrefix << parent_id in GenerateActiveTrackerIDByParentAndTitleKey()
114 return oss.str(); in GenerateActiveTrackerIDByParentAndTitleKey()
119 std::ostringstream oss; in GenerateTrackerIDByParentAndTitleKeyPrefix() local
120 oss << kTrackerIDByParentAndTitleKeyPrefix << parent_id << '\0' in GenerateTrackerIDByParentAndTitleKeyPrefix()
122 return oss.str(); in GenerateTrackerIDByParentAndTitleKeyPrefix()
126 std::ostringstream oss; in GenerateTrackerIDsByParentIDKeyPrefix() local
[all …]
/external/skia/
DNOTICE33 Implementation at http://oss.sgi.com/projects/ogl-sample/. Per
34 http://oss.sgi.com/projects/FreeB/, the code is covered under the SGI
52 "http://oss.sgi.com/projects/FreeB/"http://oss.sgi.com/projects/FreeB/
/external/chromium_org/native_client_sdk/src/examples/api/input_event/
Dinput_event.cc232 std::stringstream oss; in HandleInputEvent() local
233 oss << "Default (unhandled) event, type=" << event.GetType(); in HandleInputEvent()
234 PostMessage(oss.str()); in HandleInputEvent()
/external/glide/library/
Dbuild.gradle8 url "https://oss.sonatype.org/content/repositories/snapshots"
24 url "https://oss.sonatype.org/content/repositories/snapshots"
/external/deqp/framework/platform/X11/
DtcuX11GlxPlatform.cpp258 ostringstream oss; in checkGlxVersion() local
259 oss << "Server GLX version " in checkGlxVersion()
263 TCU_THROW(NotSupportedError, oss.str().c_str()); in checkGlxVersion()
272 ostringstream oss; in checkGlxExtension() local
273 oss << "GLX extension \"" << extName << "\" not supported"; in checkGlxExtension()
274 TCU_THROW(NotSupportedError, oss.str().c_str()); in checkGlxExtension()
/external/oprofile/gui/
Doprof_start_util.cpp206 istringstream oss(oline); in format() local
207 while (oss >> word) { in format()

123