/external/opencv/cv/include/ |
cvstreams.h | 46 #include <streams.h> /* !!! IF YOU'VE GOT AN ERROR HERE, PLEASE READ BELOW !!! */ 47 /***************** How to get Visual Studio understand streams.h ****************\
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
__init__.py | 27 @section streams Streams 29 Each recognizer pulls its input from one of the stream classes below. Streams 151 from streams import *
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioManagerTest.java | 330 int[] streams = { AudioManager.STREAM_ALARM, local 340 for (int i = 0; i < streams.length; i++) { 344 int maxVolume = mAudioManager.getStreamMaxVolume(streams[i]); 345 int minVolume = mAudioManager.getStreamMinVolume(streams[i]); 352 mAudioManager.setStreamVolume(streams[i], 1, 0); 354 assertEquals(maxVolume, mAudioManager.getStreamVolume(streams[i])); 357 assertEquals(1, mAudioManager.getStreamVolume(streams[i])); 359 if (streams[i] == AudioManager.STREAM_MUSIC && mAudioManager.isWiredHeadsetOn()) { 369 mAudioManager.adjustStreamVolume(streams[i], ADJUST_RAISE, 0); 370 curvol = mAudioManager.getStreamVolume(streams[i]) 459 int[] streams = { local [all...] |
/external/libopus/include/ |
opus_multistream.h | 79 * the <code>streams</code> parameter used 92 * the <code>streams</code> parameter used 106 * The multistream API allows individual Opus streams to be combined into a 119 * <code>streams</code> to <code>1</code> when initializing the encoder or 122 * Multistream Opus streams can contain up to 255 elementary Opus streams. 125 * The streams are ordered so that all coupled streams appear at the 139 * be the special value 255 or be less than <code>streams + coupled_streams</code>. 189 * @param streams <tt>int</tt>: The total number of streams to encode from th [all...] |
/hardware/libhardware/modules/usbcamera/ |
Camera.h | 95 // Destroy all streams in a stream array, and the array itself. Must be called with 97 void destroyStreamsLocked(android::Vector<Stream *> &streams); 98 // Verify a set of streams is valid in aggregate. Must be called with mDeviceLock held. 99 bool isValidStreamSetLocked(const android::Vector<Stream *> &streams); 101 void setupStreamsLocked(android::Vector<Stream *> &streams); 121 // Array of handles to streams currently in use by the device
|
Camera.cpp | 215 ALOGV("%s:%d: Number of Streams: %d", __func__, mId, 217 // Mark all current streams unused for now 221 // Fill new stream array with reused streams and new streams 223 astream = stream_config->streams[i]; 239 // Verify the set of streams in aggregate 245 // Set up all streams (calculate usage/max_buffers for each) 248 // Destroy all old streams and replace stream array with new one 257 // Clean up temporary streams, preserve existing mStreams 262 void Camera::destroyStreamsLocked(android::Vector<Stream *> &streams) { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
SequenceInputStreamTest.java | 69 InputStream streams[] = new InputStream[2]; field in class:SequenceInputStreamTest.StreamEnumerator 74 streams[0] = new ByteArrayInputStream(s1.getBytes("UTF-8")); 75 streams[1] = new ByteArrayInputStream(s2.getBytes("UTF-8")); 79 return count < streams.length; 83 return streams[count++];
|
/hardware/libhardware/modules/camera/ |
Camera.cpp | 159 ALOGV("%s:%d: Number of Streams: %d", __func__, mId, 162 // Mark all current streams unused for now 165 // Fill new stream array with reused streams and new streams 167 astream = stream_config->streams[i]; 183 // Verify the set of streams in aggregate 189 // Set up all streams (calculate usage/max_buffers for each) 192 // Destroy all old streams and replace stream array with new one 202 // Clean up temporary streams, preserve existing mStreams/mNumStreams 207 void Camera::destroyStreams(Stream **streams, int count [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_smf.c | 296 /* parse the next event from all the streams */ 328 /* find next event in all streams */ 333 if (pSMFData->streams[i].ticks < temp) 335 temp = pSMFData->streams[i].ticks; 336 pSMFData->nextStream = &pSMFData->streams[i]; 426 /* close all the streams */ 429 if (pSMFData->streams[i].fileHandle != NULL) 431 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) 446 if (pSMFData->streams) 447 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); [all...] |
eas_public.c | 286 if (pEASData->streams[0].handle != NULL) 288 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Attempt to open multiple streams in static model\n"); */ } 296 if (pEASData->streams[streamNum].handle == NULL) 300 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Exceeded maximum number of open streams\n"); */ } 478 /* if there are streams open, close them */ 482 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) 484 if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASData->streams[i].handle)) != EAS_SUCCESS) 591 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle) [all...] |
eas_data.h | 113 S_EAS_STREAM streams[MAX_NUMBER_STREAMS]; member in struct:s_eas_data_tag
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_smf.c | 296 /* parse the next event from all the streams */ 328 /* find next event in all streams */ 333 if (pSMFData->streams[i].ticks < temp) 335 temp = pSMFData->streams[i].ticks; 336 pSMFData->nextStream = &pSMFData->streams[i]; 426 /* close all the streams */ 429 if (pSMFData->streams[i].fileHandle != NULL) 431 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) 446 if (pSMFData->streams) 447 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); [all...] |
eas_public.c | 286 if (pEASData->streams[0].handle != NULL) 288 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Attempt to open multiple streams in static model\n"); */ } 296 if (pEASData->streams[streamNum].handle == NULL) 300 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Exceeded maximum number of open streams\n"); */ } 478 /* if there are streams open, close them */ 482 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) 484 if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASData->streams[i].handle)) != EAS_SUCCESS) 591 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle) [all...] |
eas_data.h | 113 S_EAS_STREAM streams[MAX_NUMBER_STREAMS]; member in struct:s_eas_data_tag
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_smf.c | 301 /* parse the next event from all the streams */ 333 /* find next event in all streams */ 338 if (pSMFData->streams[i].ticks < temp) 340 temp = pSMFData->streams[i].ticks; 341 pSMFData->nextStream = &pSMFData->streams[i]; 431 /* close all the streams */ 434 if (pSMFData->streams[i].fileHandle != NULL) 436 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) 451 if (pSMFData->streams) 452 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); [all...] |
eas_public.c | 286 if (pEASData->streams[0].handle != NULL) 288 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Attempt to open multiple streams in static model\n"); */ } 296 if (pEASData->streams[streamNum].handle == NULL) 300 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Exceeded maximum number of open streams\n"); */ } 479 /* if there are streams open, close them */ 483 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) 485 if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASData, pEASData->streams[i].handle)) != EAS_SUCCESS) 592 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle) [all...] |
eas_data.h | 115 S_EAS_STREAM streams[MAX_NUMBER_STREAMS]; member in struct:s_eas_data_tag
|
/external/antlr/antlr-3.4/runtime/Python/ |
mkdoxy.sh | 10 for f in __init__ exceptions constants dfa tokens streams recognizers; do
|
/external/lzma/C/ |
XzIn.c | 227 /* ---------- Xz Streams ---------- */
232 p->streams = 0;
239 Xz_Free(&p->streams[i], alloc);
240 alloc->Free(alloc, p->streams);
242 p->streams = 0;
250 num += p->streams[i].numBlocks;
259 ADD_SIZE_CHECH(size, Xz_GetUnpackSize(&p->streams[i]));
269 ADD_SIZE_CHECH(size, Xz_GetTotalSize(&p->streams[i]));
294 memcpy(data, p->streams, p->num * sizeof(CXzStream));
295 alloc->Free(alloc, p->streams);
[all...] |
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
ev_streams.c | 85 if (ctx->streams != NULL) 86 ctx->streams->prev = new; 88 new->next = ctx->streams; 89 ctx->streams = new; 119 if (ctx->streams != NULL) 120 ctx->streams->prev = new; 122 new->next = ctx->streams; 123 ctx->streams = new; 161 * The streams list is doubly threaded. First, there's ctx->streams [all...] |
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
QCameraHWI.cpp | 58 camera_metadata_entry_t& streams) 64 for (uint32_t i = 0; i < streams.count; i++) { 65 int streamId = streams.data.u8[i]; 90 for (uint32_t i = 0; i < streams.count; i++) { 91 int streamId = streams.data.u8[i]; 101 for (uint32_t i = 0; i < streams.count; i++) { 102 int streamId = streams.data.u8[i]; 146 /* Check the streams that need to be active in the stream request */ 149 camera_metadata_entry_t streams; local 152 &streams); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyConnection.java | 44 * A socket connection to a remote peer. A connection hosts streams which can 62 // frameWriter (to do blocking I/O) and this (to create streams). Such 81 private final Map<Integer, SpdyStream> streams = new HashMap<>(); field in class:SpdyConnection 181 * Returns the number of {@link SpdyStream#isOpen() open streams} on this 185 return streams.size(); 189 return streams.get(id); 193 SpdyStream stream = streams.remove(streamId); 194 if (stream != null && streams.isEmpty()) { 262 streams.put(streamId, stream); 270 throw new IllegalArgumentException("client streams shouldn't have associated stream IDs") [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3recognizersharedstate.h | 191 /** Input stream stack, which allows the C programmer to switch input streams 195 pANTLR3_STACK streams; member in struct:ANTLR3_RECOGNIZER_SHARED_STATE_struct 197 /// A stack of token/tree rewrite streams that are available for use 200 /// allocate and deallocate rewtire streams on entry and exit. As 202 /// of the maximum number of allocated streams, which instead of 204 /// reuse. The streams are then all finally freed when this stack
|
/frameworks/base/media/java/android/media/ |
AudioManagerInternal.java | 59 int getRingerModeAffectedStreams(int streams);
|
/external/libopus/src/ |
opus_multistream_decoder.c | 67 int streams, 77 if ((channels>255) || (channels<1) || (coupled_streams>streams) || 78 (coupled_streams+streams>255) || (streams<1) || (coupled_streams<0)) 82 st->layout.nb_streams = streams; 113 int streams, 121 if ((channels>255) || (channels<1) || (coupled_streams>streams) || 122 (coupled_streams+streams>255) || (streams<1) || (coupled_streams<0)) 128 st = (OpusMSDecoder *)opus_alloc(opus_multistream_decoder_get_size(streams, coupled_streams)) [all...] |