HomeSort by relevance Sort by last modified time
    Searched refs:sw (Results 1 - 25 of 139) sorted by null

1 2 3 4 5 6

  /external/qemu/audio/
audio_template.h 30 #define SW SWVoiceOut
35 #define SW SWVoiceIn
93 static void glue (audio_pcm_sw_free_resources_, TYPE) (SW *sw)
95 if (sw->buf) {
96 qemu_free (sw->buf);
99 if (sw->rate) {
100 st_rate_stop (sw->rate);
103 sw->buf = NULL;
104 sw->rate = NULL
347 SW *sw; local
    [all...]
audio.c 42 #define SW_NAME(sw) (sw)->name ? (sw)->name : "unknown"
852 SWVoiceOut *sw; local
855 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) {
856 if (sw->active) {
870 SWVoiceOut *sw = &sc->sw local
900 SWVoiceOut *sw; local
943 SWVoiceIn *sw; local
1045 SWVoiceOut *sw; local
1378 SWVoiceOut *sw = &sc->sw; local
1410 SWVoiceOut *sw; local
1524 SWVoiceIn *sw; local
1557 SWVoiceOut *sw; local
2132 SWVoiceOut *sw = cap->hw.sw_head.lh_first, *sw1; local
    [all...]
audio.h 109 SWVoiceOut *sw,
116 void AUD_close_out (QEMUSoundCard *card, SWVoiceOut *sw);
117 int AUD_write (SWVoiceOut *sw, void *pcm_buf, int size);
118 int AUD_get_buffer_size_out (SWVoiceOut *sw);
119 void AUD_set_active_out (SWVoiceOut *sw, int on);
120 int AUD_is_active_out (SWVoiceOut *sw);
122 void AUD_init_time_stamp_out (SWVoiceOut *sw, QEMUAudioTimeStamp *ts);
123 uint64_t AUD_get_elapsed_usec_out (SWVoiceOut *sw, QEMUAudioTimeStamp *ts);
125 void AUD_set_volume_out (SWVoiceOut *sw, int mute, uint8_t lvol, uint8_t rvol);
126 void AUD_set_volume_in (SWVoiceIn *sw, int mute, uint8_t lvol, uint8_t rvol)
    [all...]
noaudio.c 66 static int no_write (SWVoiceOut *sw, void *buf, int len)
68 return audio_pcm_sw_write (sw, buf, len);
123 static int no_read (SWVoiceIn *sw, void *buf, int size)
125 int samples = size >> sw->info.shift;
126 int total = sw->hw->total_samples_captured - sw->total_hw_samples_acquired;
128 audio_pcm_info_clear_buf (&sw->info, buf, to_clear);
  /development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
ClassSourcerTest.java 48 StringWriter sw = new StringWriter(); local
51 ClassSourcer jw = new ClassSourcer(new Output(sw));
73 sw.toString());
78 StringWriter sw = new StringWriter(); local
81 ClassSourcer jw = new ClassSourcer(new Output(sw));
101 sw.toString());
106 StringWriter sw = new StringWriter(); local
109 ClassSourcer jw = new ClassSourcer(new Output(sw));
136 sw.toString());
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyCertPathValidatorSpi.java 39 private int sw = 0; field in class:MyCertPathValidatorSpi
43 ++sw;
45 if ((sw % 2) == 0) {
50 if ((sw % 3) == 0) {
  /libcore/luni/src/test/java/tests/api/java/io/
StringWriterTest.java 31 StringWriter sw; field in class:StringWriterTest
68 sw.close();
85 sw.flush();
86 sw.write('c');
87 assertEquals("Failed to flush char", "c", sw.toString());
103 sw.write("This is a test string");
104 StringBuffer sb = sw.getBuffer();
120 sw.write("This is a test string");
122 "This is a test string", sw.toString());
138 sw.write(c, 4, 14)
    [all...]
BufferedWriterTest.java 34 Support_StringWriter sw; field in class:BufferedWriterTest
49 bw = new BufferedWriter(sw);
52 assertTrue("Test 1: Buffering failed.", sw.toString().equals(""));
54 assertEquals("Test 2: Incorrect value;", "Hi", sw.toString());
70 bw = new BufferedWriter(sw, 0);
76 bw = new BufferedWriter(sw, 10);
79 assertTrue("Test 2: Buffering failed.", sw.toString().equals(""));
81 assertEquals("Test 3: Incorrect value;", "Hi", sw.toString());
104 assertFalse("Test 2: Write after close.", sw.toString().equals(testString));
126 sw.toString().equals(""))
    [all...]
  /frameworks/base/core/jni/android/opengl/
poly.h 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon8649
poly_clip.cpp 49 * copying the portion satisfying sign*s[index] < k*sw into q,
72 tu = sign*COORD(u, index) - u->sw*k;
76 tv = sign*COORD(v, index) - v->sw*k;
95 * using the homogeneous screen coordinates (sx, sy, sz, sw) of each vertex,
96 * testing if v->sx/v->sw > box->x0 and v->sx/v->sw < box->x1,
116 float sw = v->sw; local
117 if (v->sx < -sw) x0out++; /* out on left */
118 if (v->sx > sw) x1out++; /* out on right *
    [all...]
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
BaseActivity.java 83 byte sw = o.getSw();
84 if (sw >= 0 && sw < 4) {
85 mInputController.switchStateChanged(sw, o.getState() != 0);
86 } else if (sw == 4) {
  /external/chromium/base/
waitable_event_posix.cc 168 SyncWaiter sw; local
169 sw.lock()->Acquire();
171 Enqueue(&sw);
180 if (sw.fired() || (finite_time && current_time >= end_time)) {
181 const bool return_value = sw.fired();
185 // and @sw would accept it, however we will still return false, so the
187 // Disable which makes sw::Fire return false.
188 sw.Disable();
189 sw.lock()->Release();
192 kernel_->Dequeue(&sw, &sw)
247 SyncWaiter sw; local
    [all...]
  /frameworks/base/core/java/android/view/
IWindowManager.aidl 114 int getSwitchState(int sw);
115 int getSwitchStateForDevice(int devid, int sw);
116 int getScancodeState(int sw);
117 int getScancodeStateForDevice(int devid, int sw);
118 int getTrackballScancodeState(int sw);
119 int getDPadScancodeState(int sw);
120 int getKeycodeState(int sw);
121 int getKeycodeStateForDevice(int devid, int sw);
122 int getTrackballKeycodeState(int sw);
123 int getDPadKeycodeState(int sw);
    [all...]
  /development/tools/mkstubs/tests/com/android/mkstubs/
SourceGeneratorTest.java 49 StringWriter sw = new StringWriter(); local
52 mGen.visitClassSource(sw, cr, new Filter());
54 String s = sw.toString();
  /external/qemu/android/skin/
scaler.h 36 int sw,
  /frameworks/base/core/java/com/android/internal/logging/
AndroidHandler.java 93 StringWriter sw = new StringWriter();
94 PrintWriter pw = new PrintWriter(sw);
95 sw.write(r.getMessage());
96 sw.write("\n");
99 return sw.toString();
  /external/skia/src/effects/
SkBlurMask.cpp 87 /* sw and sh are the width and height of the src. Since the sum buffer
89 we can just use sw and sh as our "max" values for pinning coordinates
93 int sw, int sh) {
96 int sumStride = sw + 1;
98 int dw = sw + 2*rx;
113 int nx = SkFastMin32(next_x, sw);
126 /* sw and sh are the width and height of the src. Since the sum buffer
128 we can just use sw and sh as our "max" values for pinning coordinates
132 const uint32_t sum[], int sw, int sh, U8CPU outer_weight) {
145 int sumStride = sw + 1
277 int sw = src.fBounds.width(); local
    [all...]
  /external/speex/libspeex/
ltp_bfin.h 157 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack)
178 energy[0]=inner_prod(sw-start, sw-start, len);
179 e0=inner_prod(sw, sw, len);
202 : : "d" (energy), "d" (&sw[-start-1]), "d" (&sw[-start+len-1]),
210 pitch_xcorr(sw, sw-end, corr, len, end-start+1, stack);
ltp.h 54 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack);
60 spx_word16_t *sw,
103 spx_word16_t *sw,
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
Log.java 47 StringWriter sw = new StringWriter(); local
48 PrintWriter pw = new PrintWriter(sw);
51 error(format + "\n" + sw.toString(), args);
  /libcore/luni/src/main/java/java/util/logging/
SimpleFormatter.java 60 StringWriter sw = new StringWriter(); local
61 pw = new PrintWriter(sw);
63 sb.append(sw.toString());
  /dalvik/dx/src/com/android/dx/util/
TwoColumnOutput.java 65 StringWriter sw = new StringWriter((len1 + len2) * 3); local
67 new TwoColumnOutput(sw, width1, width2, spacer);
77 return sw.toString();
  /packages/apps/Email/src/org/apache/commons/io/
IOUtils.java 338 CharArrayWriter sw = new CharArrayWriter(); local
339 copy(input, sw);
340 return sw.toCharArray();
358 StringWriter sw = new StringWriter(); local
359 copy(input, sw);
360 return sw.toString();
381 StringWriter sw = new StringWriter(); local
382 copy(input, sw, encoding);
383 return sw.toString();
398 StringWriter sw = new StringWriter(); local
    [all...]
  /sdk/ddms/app/src/com/android/ddms/
Main.java 53 StringWriter sw = new StringWriter(); local
54 PrintWriter pw = new PrintWriter(sw);
56 Log.e("ddms", sw.toString());
  /external/qemu/hw/
android_arm.c 160 void *sw; local
161 sw = goldfish_switch_add("test", NULL, NULL, 0);
162 goldfish_switch_set_state(sw, 1);
163 goldfish_switch_add("test2", switch_test_write, sw, 1);

Completed in 773 milliseconds

1 2 3 4 5 6