Searched refs:ap (Results 1 - 25 of 45) sorted by relevance

12

/system/core/libnl_2/
H A Ddbg.c6 va_list ap; local
9 va_start(ap, format);
10 __android_log_vprint(level, "libnl_2", format, ap);
11 va_end(ap);
/system/core/sh/
H A Dalias.c67 struct alias *ap, **app; local
70 for (ap = *app; ap; ap = ap->next) {
71 if (equal(name, ap->name)) {
73 ckfree(ap->val);
74 ap->val = savestr(val);
81 ap = ckmalloc(sizeof (struct alias));
82 ap
119 struct alias *ap, **app; local
160 struct alias *ap, *tmp; local
181 struct alias *ap = *hashalias(name); local
197 struct alias *ap; local
213 struct alias *ap; local
[all...]
H A Derror.c125 exvwarning(int sv_errno, const char *msg, va_list ap) argument
138 doformat(&errout, msg, ap);
154 exverror(int cond, const char *msg, va_list ap) argument
162 TRACEV((msg, ap));
168 exvwarning(-1, msg, ap);
179 va_list ap; local
181 va_start(ap, msg);
182 exverror(EXERROR, msg, ap);
184 va_end(ap);
191 va_list ap; local
213 va_list ap; local
222 sh_verr(int status, const char *fmt, va_list ap) argument
231 va_list ap; local
240 sh_verrx(int status, const char *fmt, va_list ap) argument
249 va_list ap; local
257 sh_vwarn(const char *fmt, va_list ap) argument
265 va_list ap; local
273 sh_vwarnx(const char *fmt, va_list ap) argument
[all...]
H A Doutput.c213 va_list ap; local
215 va_start(ap, fmt);
216 doformat(file, fmt, ap);
217 va_end(ap);
224 va_list ap; local
226 va_start(ap, fmt);
227 doformat(out1, fmt, ap);
228 va_end(ap);
234 va_list ap; local
236 va_start(ap, fm
245 va_list ap; local
280 doformat(struct output *dest, const char *f, va_list ap) argument
[all...]
H A Dtrap.c135 char **ap; local
148 ap = argv + 1;
152 if (strcmp(*ap, "--") == 0)
153 if (*++ap == NULL)
156 if (signame_to_signum(*ap) == -1) {
157 if ((*ap)[0] == '-') {
158 if ((*ap)[1] == '\0')
159 ap++;
160 else if ((*ap)[1] == 'l' && (*ap)[
[all...]
H A Dmiscbltin.c91 char **ap; local
117 if (*(ap = argptr) == NULL)
178 if (ap[1] == NULL) {
186 setvar(*ap, stackblock(), 0);
187 ap++;
203 setvar(*ap, stackblock(), 0);
206 while (*++ap != NULL)
207 setvar(*ap, nullstr, 0);
216 char *ap; local
230 if ((ap
[all...]
H A Doptions.c275 char **ap; local
279 ap = newparam = ckmalloc((nparam + 1) * sizeof *ap);
281 *ap++ = savestr(*argv++);
283 *ap = NULL;
299 char **ap; local
302 for (ap = param->p ; *ap ; ap++)
303 ckfree(*ap);
[all...]
H A Darith.y143 char **ap;
153 ap = argv + 2;
157 if ((p = *ap++) == NULL)
H A Dinput.c79 struct alias *ap; /* if push was associated with an alias */ member in struct:strpush
386 pushstring(char *s, int len, void *ap) argument
401 sp->ap = (struct alias *)ap;
402 if (ap)
403 ((struct alias *)ap)->flag |= ALIASINUSE;
419 if (sp->ap)
420 sp->ap->flag &= ~ALIASINUSE;
/system/core/sh/bltin/
H A Decho.c61 char **ap; local
68 ap = argv;
70 ap++;
72 if ((p = *ap) != NULL) {
75 ap++;
78 ap++;
82 while ((p = *ap++) != NULL) {
110 if (*ap)
/system/media/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp39 SLresult aplayer_setPlayState(const android::sp<android::GenericPlayer> &ap, SLuint32 playState, argument
47 ap->stop();
54 ap->prepare();
59 ap->pause();
72 ap->prepare();
77 ap->play();
100 static size_t adecoder_writeToBufferQueue(const uint8_t *data, size_t size, CAudioPlayer* ap) { argument
101 if (!android::CallbackProtector::enterCbIfOk(ap->mCallbackProtector)) {
111 object_lock_exclusive(&ap->mObject);
113 if (ap
192 android_audioPlayer_volumeUpdate(CAudioPlayer* ap) argument
358 audioTrack_handleMarker_lockPlay(CAudioPlayer* ap) argument
375 audioTrack_handleNewPos_lockPlay(CAudioPlayer* ap) argument
393 audioTrack_handleUnderrun_lockPlay(CAudioPlayer* ap) argument
423 audioPlayer_dispatch_headAtEnd_lockPlay(CAudioPlayer *ap, bool setPlayStateToPaused, bool needToLock) argument
461 audioPlayer_setStreamType(CAudioPlayer* ap, SLint32 type) argument
505 audioPlayer_getStreamType(CAudioPlayer* ap, SLint32 *pType) argument
539 audioPlayer_auxEffectUpdate(CAudioPlayer* ap) argument
547 audioPlayer_setInvalid(CAudioPlayer* ap) argument
592 audioPlayer_getAndroidObjectTypeForSourceSink(CAudioPlayer *ap) argument
687 CAudioPlayer *ap = (CAudioPlayer *)user; local
1113 CAudioPlayer *ap = (CAudioPlayer *)user; local
1298 android_audioPlayer_setConfig(CAudioPlayer *ap, const SLchar *configKey, const void *pConfigValue, SLuint32 valueSize) argument
1324 android_audioPlayer_getConfig(CAudioPlayer* ap, const SLchar *configKey, SLuint32* pValueSize, void *pConfigValue) argument
1661 android_audioPlayer_setPlaybackRateAndConstraints(CAudioPlayer *ap, SLpermille rate, SLuint32 constraints) argument
1698 android_audioPlayer_metadata_getItemCount(CAudioPlayer *ap, SLuint32 *pItemCount) argument
1724 android_audioPlayer_metadata_getKeySize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pKeySize) argument
1760 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
1797 android_audioPlayer_metadata_getValueSize(CAudioPlayer *ap, SLuint32 index, SLuint32 *pValueSize) argument
1833 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument
1870 android_audioPlayer_setPlayState(CAudioPlayer *ap) argument
1920 android_audioPlayer_usePlayEventMask(CAudioPlayer *ap) argument
1972 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local
1998 CAudioPlayer *ap = (CAudioPlayer *)pPlayItf->mThis; local
2031 android_audioPlayer_seek(CAudioPlayer *ap, SLmillisecond posMsec) argument
2057 android_audioPlayer_loop(CAudioPlayer *ap, SLboolean loopEnable) argument
2077 android_audioPlayer_setBufferingUpdateThresholdPerMille(CAudioPlayer *ap, SLpermille threshold) argument
2096 android_audioPlayer_bufferQueue_onRefilled_l(CAudioPlayer *ap) argument
2129 android_audioPlayer_bufferQueue_onClear(CAudioPlayer *ap) argument
2150 android_audioPlayer_androidBufferQueue_registerCallback_l(CAudioPlayer *ap) argument
2174 android_audioPlayer_androidBufferQueue_clear_l(CAudioPlayer *ap) argument
2188 android_audioPlayer_androidBufferQueue_onRefilled_l(CAudioPlayer *ap) argument
[all...]
H A Dandroid_Effect.cpp445 android::status_t android_fxSend_attach(CAudioPlayer* ap, bool attach, argument
457 if (ap->mAPlayer != 0) {
458 assert(ap->mAudioTrack == 0);
460 ap->mAPlayer->attachAuxEffect(pFx->id());
461 ap->mAPlayer->setAuxEffectSendLevel( sles_to_android_amplification(sendLevel) );
463 ap->mAPlayer->attachAuxEffect(0);
468 if (ap->mAudioTrack == 0) {
472 ap->mAuxEffect = pFx;
474 ap->mAuxEffect.clear();
477 ap
500 android_fxSend_attachToAux(CAudioPlayer* ap, SLInterfaceID pUuid, SLboolean attach, SLmillibel sendLevel) argument
523 android_fxSend_setSendLevel(CAudioPlayer* ap, SLmillibel sendLevel) argument
[all...]
/system/media/wilhelm/src/
H A Dhandler_bodies.c27 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
28 android_audioPlayer_volumeUpdate(ap);
62 CAudioPlayer *ap; local
63 ap = (CAudioPlayer *) thiz;
65 (void) android_audioPlayer_seek(ap, ap->mSeek.mPos);
81 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
82 android_audioPlayer_usePlayEventMask(ap);
90 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
91 android_audioPlayer_setPlayState(ap);
130 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
141 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
172 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
[all...]
H A Dlocks.c208 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
209 prefetchCallback = ap->mPrefetchStatus.mDeferredPrefetchCallback;
210 prefetchContext = ap->mPrefetchStatus.mDeferredPrefetchContext;
211 prefetchEvents = ap->mPrefetchStatus.mDeferredPrefetchEvents;
212 ap->mPrefetchStatus.mDeferredPrefetchCallback = NULL;
214 ap->mPrefetchStatus.mDeferredPrefetchContext = NULL;
215 ap->mPrefetchStatus.mDeferredPrefetchEvents = SL_PREFETCHEVENT_NONE;
216 if (ap->mDeferredStart) {
217 audioTrack = ap->mAudioTrack;
218 ap
236 CAudioPlayer *ap = (CAudioPlayer *) thiz; local
[all...]
/system/media/wilhelm/src/itf/
H A DIAndroidEffectSend.c35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
37 if (NULL == ap) {
41 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap);
44 result = android_fxSend_attachToAux(ap, effectImplementationId, enable,
45 initialLevel + ap->mVolume.mLevel);
93 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
95 if (NULL != ap) {
96 SLmillibel oldDirectLevel = ap->mDirectLevel;
98 ap->mDirectLevel = directLevel;
99 ap
126 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
155 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
194 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
[all...]
H A DIMuteSolo.c31 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local
33 SLuint8 numChannels = ap->mNumChannels;
42 SLuint8 oldMuteMask = ap->mMuteMask;
44 ap->mMuteMask |= mask;
46 ap->mMuteMask &= ~mask;
48 interface_unlock_exclusive_attributes(thiz, oldMuteMask != ap->mMuteMask ? ATTR_GAIN :
70 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local
73 SLuint8 numChannels = ap->mNumChannels;
81 SLuint8 mask = ap->mMuteMask;
103 CAudioPlayer *ap local
142 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local
178 CAudioPlayer *ap = (CAudioPlayer *) thisObject; local
[all...]
H A DIEffectSend.c133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
136 assert(NULL != ap);
138 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap);
142 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable,
144 initialLevel + ap->mVolume.mLevel));
146 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable,
148 initialLevel + ap->mVolume.mLevel));
199 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
201 if (NULL != ap) {
202 SLmillibel oldDirectLevel = ap
234 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
270 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
[all...]
H A DIPlaybackRate.c33 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
35 if (NULL != ap) {
36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties);
87 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
89 if (NULL != ap) {
90 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, thiz->mRate,
H A DIAndroidEffect.cpp30 CAudioPlayer *ap = (CAudioPlayer *)thiz->mThis; local
31 if (ap->mAudioTrack != 0) {
32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId);
H A DISeek.c67 CAudioPlayer *ap = InterfaceToCAudioPlayer(thiz); local
68 if (NULL != ap) {
69 result = android_audioPlayer_loop(ap, loopEnable);
/system/core/libcutils/
H A Dklog.c50 va_list ap; local
55 va_start(ap, fmt);
56 vsnprintf(buf, LOG_BUF_MAX, fmt, ap);
58 va_end(ap);
/system/core/liblog/
H A Dlogd_write.c190 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument
194 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
201 va_list ap; local
204 va_start(ap, fmt);
205 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
206 va_end(ap);
213 va_list ap; local
216 va_start(ap, fmt);
217 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
218 va_end(ap);
229 va_list ap; local
[all...]
/system/core/include/android/
H A Dlog.h110 const char *fmt, va_list ap);
/system/core/init/
H A Dparser.c53 va_list ap; local
61 va_start(ap, fmt);
62 vsnprintf(buf + off, 128 - off, fmt, ap);
63 va_end(ap);
/system/core/fastboot/
H A Dengine.c48 va_list ap; local
50 va_start(ap, fmt);
51 vsprintf(buf, fmt, ap);
52 va_end(ap);
100 va_list ap; local
106 va_start(ap, fmt);
107 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap);
108 va_end(ap);

Completed in 248 milliseconds

12