/system/core/sh/bltin/ |
H A D | echo.c | 61 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/core/init/ |
H A D | parser.c | 54 va_list ap; local 62 va_start(ap, fmt); 63 vsnprintf(buf + off, 128 - off, fmt, ap); 64 va_end(ap);
|
/system/media/opensles/libopensles/ |
H A D | IAndroidEffect.c | 29 CAudioPlayer *ap = (CAudioPlayer *)this->mThis; local 30 if (NULL != ap->mAudioTrack) { 31 result = android_genericFx_createEffect(this, effectImplementationId, ap->mSessionId);
|
H A D | ISeek.c | 69 CAudioPlayer *ap = InterfaceToCAudioPlayer(this); local 70 if (NULL != ap) { 71 android_audioPlayer_loop(ap, loopEnable);
|
H A D | IAndroidEffectSend.c | 33 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 35 if (NULL == ap) { 39 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); 45 result = android_fxSend_attachToAux(ap, effectImplementationId, enable, 46 initialLevel + ap->mVolume.mLevel); 93 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 95 if (NULL != ap) { 96 SLmillibel oldDirectLevel = ap->mDirectLevel; 98 ap->mDirectLevel = directLevel; 99 ap 126 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 153 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 196 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local [all...] |
H A D | IMuteSolo.c | 31 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(this, 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 D | IPlaybackRate.c | 35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 37 if (NULL != ap) { 38 result = android_audioPlayer_setPlayRate(ap, rate, true); 78 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 80 if (NULL != ap) { 81 result = android_audioPlayer_setPlaybackRateBehavior(ap, constraints); 133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 135 if (NULL != ap) { 136 android_audioPlayer_getCapabilitiesOfRate(ap, &capabilities);
|
H A D | locks.c | 117 CAudioPlayer *ap; local 127 ap = (CAudioPlayer *) this; 129 android_audioPlayer_volumeUpdate(ap); 131 audioPlayerGainUpdate(ap); 151 ap = (CAudioPlayer *) this; 153 android_audioPlayer_seek(ap, ap->mSeek.mPos); 155 //audioPlayerTransportUpdate(ap); 171 ap = (CAudioPlayer *) this; 173 android_audioPlayer_setPlayState(ap, fals [all...] |
H A D | IEffectSend.c | 131 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 134 assert(NULL != ap); 136 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); 140 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, 142 initialLevel + ap->mVolume.mLevel)); 144 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, 146 initialLevel + ap->mVolume.mLevel)); 195 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 197 if (NULL != ap) { 198 SLmillibel oldDirectLevel = ap 230 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local 264 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? local [all...] |
/system/core/sh/ |
H A D | alias.c | 67 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 D | error.c | 125 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 D | miscbltin.c | 91 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 D | show.c | 359 trargs(char **ap) argument 364 while (*ap) { 365 trstring(*ap++); 366 if (*ap)
|
H A D | input.c | 79 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;
|
H A D | options.c | 275 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 D | output.c | 213 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 D | trap.c | 135 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...] |
/system/core/cpio/ |
H A D | mkbootfs.c | 27 va_list ap; local 29 va_start(ap, why); 31 vfprintf(stderr, why, ap); 33 va_end(ap);
|
/system/core/liblog/ |
H A D | logd_write.c | 190 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); 226 va_list ap; local [all...] |
/system/wlan/ti/wilink_6_1/platforms/os/common/src/ |
H A D | tracebuf.c | 177 va_list ap; local 185 va_start(ap,format); 186 vsprintf(&tb_control->entry[pos].msg[0], format, ap);
|
/system/core/adb/ |
H A D | fdevent.c | 37 va_list ap; local 38 va_start(ap, fmt); 40 vfprintf(stderr, fmt, ap); 41 va_end(ap);
|
/system/core/fastboot/ |
H A D | engine.c | 48 va_list ap; local 50 va_start(ap, fmt); 51 vsprintf(buf, fmt, ap); 52 va_end(ap); 99 va_list ap; local 104 va_start(ap, fmt); 105 vsprintf(a->cmd, fmt, ap); 106 va_end(ap);
|
/system/core/libacc/tests/ |
H A D | disassem.cpp | 694 va_list ap; local 695 va_start(ap, fmt); 696 vprintf(fmt, ap); 697 va_end(ap);
|
H A D | main.cpp | 62 va_list ap; local 63 va_start(ap, fmt); 64 vfprintf(disasmOut, fmt, ap); 65 va_end(ap);
|
/system/core/libcutils/ |
H A D | tzstrftime.c | 735 const char ** ap; local 756 for (ap = (const char **) &localebuf; 757 ap < (const char **) (&localebuf + 1); 758 ++ap) 759 *ap = p += strlen(p) + 1; 804 for (ap = (const char **) &localebuf; 805 ap < (const char **) (&localebuf + 1); 806 ++ap) { 809 *ap = p;
|