/external/srec/srec/Semproc/include/ |
SR_SemprocDefinitions.h | 207 #define MEMCHK(rc, val, threshold) \ 211 rc = ESR_OUT_OF_MEMORY; \ 212 PLogError(L("%s: %d > %d\n"), ESR_rc2str(rc), (val), (threshold)); \ 216 #define LENCHK(rc, val, threshold) \ 220 rc = ESR_OUT_OF_MEMORY; \ 221 PLogError(L("%s: %s > %d\n"), ESR_rc2str(rc), (val), (threshold)); \
|
/bionic/libc/arch-x86/bionic/ |
__set_tls.c | 72 int rc, segment; local 79 rc = __set_thread_area( &_tls_desc ); 80 if (rc != 0)
|
/external/srec/portable/src/UNIX/ |
PFileSystemUNIXImpl.c | 41 ESR_ReturnCode rc; local 54 CHKLOG(rc, PANSIFileSystemCreate()); 56 CHKLOG(rc, PMemSetLogEnabled(ESR_FALSE)); 57 CHKLOG(rc, PHashTablePutValue(PFileSystemPathMap, L("/"), PANSIFileSystemSingleton, NULL)); 58 CHKLOG(rc, PHashTablePutValue(ANSIImpl->directoryMap, L("/"), L("/"), NULL)); 59 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdin"), isLittleEndian, &PSTDIN)); 63 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdout"), isLittleEndian, &PSTDOUT)); 68 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stderr"), isLittleEndian, &PSTDERR)); 75 CHKLOG(rc, PtrdIsEnabled(&threadingEnabled)); 78 CHKLOG(rc, PtrdMonitorDestroy(impl->Interface.lock)) 96 ESR_ReturnCode rc; local [all...] |
PANSIFileSystemUNIXImpl.c | 41 ESR_ReturnCode rc; local 43 CHKLOG(rc, lstrtrim(path)); 44 CHKLOG(rc, PFileSystemCanonicalSlashes(path)); 45 CHKLOG(rc, PFileSystemIsAbsolutePath(path, &isAbsolute)); 52 CHKLOG(rc, PHashTableEntryGetFirst(impl->directoryMap, &entry)); 55 CHKLOG(rc, PHashTableEntryGetKeyValue(entry, (void **)&key, (void **)&value)); 67 CHKLOG(rc, PHashTableEntryAdvance(&entry)); 71 rc = ESR_INVALID_STATE; 79 CHKLOG(rc, lstrinsert(bestKey, path, 0, len)); 84 CHKLOG(rc, lstrinsert(L("X:/"), path, LSTRLEN(bestKey), len)) 95 ESR_ReturnCode rc; local 122 ESR_ReturnCode rc; local 154 ESR_ReturnCode rc; local [all...] |
/external/libvpx/vp8/encoder/ |
quantize.c | 23 int i, rc, eob; local 42 rc = vp8_default_zig_zag1d[i]; 43 z = coeff_ptr[rc]; 44 zbin = zbin_ptr[rc] ; 51 x += round_ptr[rc]; 52 y = (((x * quant_ptr[rc]) >> 16) + x) 53 >> quant_shift_ptr[rc]; // quantize (x) 55 qcoeff_ptr[rc] = x; // write to destination 56 dqcoeff_ptr[rc] = x * dequant_ptr[rc]; // dequantized valu 69 int i, rc, eob; local 124 int i, rc, eob; local 167 int i, rc, eob; local 223 int rc; local [all...] |
/system/vold/ |
Fat.cpp | 54 int rc = 0; local 63 rc = logwrap(4, args, 1); 65 switch(rc) { 86 SLOGE("Filesystem check failed (unknown exit code %d)", rc); 98 int rc; local 126 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); 128 if (rc && errno == EROFS) { 131 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); 134 if (rc == 0 && createLost) { 149 return rc; 155 int rc; local [all...] |
/external/srec/srec/Nametag/src/ |
NametagImpl.c | 34 ESR_ReturnCode rc; local 44 rc = result->getSize(result, &len); 45 if (rc != ESR_SUCCESS) 47 PLogError(ESR_rc2str(rc)); 53 rc = ESR_INVALID_ARGUMENT; 56 rc = result->getLocale(result, &locale); 60 rc = result->getValue(result, 0, L("meaning"), transcription, &len); 62 if (rc != ESR_SUCCESS && rc != ESR_BUFFER_OVERFLOW) 64 PLogError(ESR_rc2str(rc)); 133 ESR_ReturnCode rc; local 216 ESR_ReturnCode rc; local 236 ESR_ReturnCode rc; local [all...] |
/external/srec/tools/dictTest/ |
dictTest.c | 44 ESR_ReturnCode rc; local 47 rc = SR_VocabularyGetPronunciation(vocab, phrase, prons, &len); 48 // rc = vocab->getPronunciation(vocab, phrase, prons, &len); 50 if (rc != ESR_SUCCESS) 51 LFPRINTF(fout,"ERROR: %s\n", ESR_rc2str(rc)); 68 ESR_ReturnCode rc; 81 rc = ESR_ProcessLinearToCommandLineTokens(line, &tokenArray, &len); 82 if (rc!=ESR_SUCCESS || len!=2) 93 rc = vocab->getPronunciation(vocab, phrase, phoneme, &len); 95 if(rc != ESR_SUCCESS 122 ESR_ReturnCode rc; local [all...] |
/external/srec/srec/Recognizer/src/ |
RecognizerResultImpl.c | 95 ESR_ReturnCode rc; local 97 CHKLOG(rc, ArrayListGetSize(impl->results, count)); 100 return rc; 107 ESR_ReturnCode rc; local 112 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)); 117 CHKLOG(rc, results->get(results, 0, (void **)&result)); 118 CHKLOG(rc, result->getKeyCount(result , count)); 121 return rc; 130 ESR_ReturnCode rc; local 133 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)) 156 ESR_ReturnCode rc; local 228 ESR_ReturnCode rc; local [all...] |
/external/srec/srec/Semproc/src/ |
SymbolTable.c | 29 ESR_ReturnCode rc; local 43 CHKLOG(rc, HashMapCreate(&(*ptr)->hashmap)); 50 return rc; 55 ESR_ReturnCode rc; local 69 CHKLOG(rc, HashMapDestroy(self->hashmap)); 76 return rc; 83 ESR_ReturnCode rc; local 92 rc = HashMapGet(self->hashmap, key, (void**) & buf); 93 if (rc == ESR_NO_MATCH_ERROR) 95 CHKLOG(rc, ST_getSymbolSlot(self, &symbol)) 151 ESR_ReturnCode rc; local 198 ESR_ReturnCode rc; local 216 ESR_ReturnCode rc; local 238 ESR_ReturnCode rc; local [all...] |
/external/dropbear/ |
svr-authpam.c | 54 int rc = PAM_SUCCESS; local 107 rc = PAM_CONV_ERR; 133 rc = PAM_CONV_ERR; 151 rc = PAM_CONV_ERR; 156 TRACE(("leave pamConvFunc, rc %d", rc)) 158 return rc; 182 int rc = PAM_SUCCESS; local 202 if ((rc = pam_start("sshd", NULL, &pamConv, &pamHandlep)) != PAM_SUCCESS) { 203 dropbear_log(LOG_WARNING, "pam_start() failed, rc=%d, %s\n", [all...] |
/external/quake/quake/src/QW/client/ |
snd_linux.c | 21 int rc; local 41 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0); 42 if (rc < 0) 126 rc = ioctl(audio_fd, SNDCTL_DSP_STEREO, &tmp); 127 if (rc < 0) 139 rc = ioctl(audio_fd, SNDCTL_DSP_SPEED, &shm->speed); 140 if (rc < 0) 150 rc = AFMT_S16_LE; 151 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); [all...] |
/external/quake/quake/src/WinQuake/ |
snd_linux.cpp | 40 int rc; local 60 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0); 61 if (rc < 0) 145 rc = ioctl(audio_fd, SNDCTL_DSP_STEREO, &tmp); 146 if (rc < 0) 158 rc = ioctl(audio_fd, SNDCTL_DSP_SPEED, &shm->speed); 159 if (rc < 0) 169 rc = AFMT_S16_LE; 170 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); [all...] |
/external/libxml2/ |
xmlmodule.c | 108 int rc = -1; local 114 return rc; 117 rc = xmlModulePlatformSymbol(module->handle, name, symbol); 119 if (rc == -1) { 125 return rc; 128 return rc; 144 int rc; local 153 rc = xmlModulePlatformClose(module->handle); 155 if (rc != 0) { 163 rc = xmlModuleFree(module) 281 int rc; local 314 int rc; local 360 status_t rc; local 379 status_t rc; local 403 int rc; local 434 int rc; local [all...] |
/external/srec/portable/src/ |
PFileWrap.c | 293 ESR_ReturnCode rc; local 295 rc = PFileRead ( stream, buffer, size, &count ); 297 if ( rc != ESR_SUCCESS ) 306 ESR_ReturnCode rc; local 308 rc = PFileWrite ( stream, buffer, size, &count ); 309 if ( rc != ESR_SUCCESS ) 336 ESR_ReturnCode rc; local 338 rc = PFileSeek ( stream, offset, origin ); 340 if ( rc != ESR_SUCCESS ) 349 ESR_ReturnCode rc; local 397 ESR_ReturnCode rc; local 411 ESR_ReturnCode rc; local 424 ESR_ReturnCode rc; local 438 ESR_ReturnCode rc; local 455 ESR_ReturnCode rc; local 468 ESR_ReturnCode rc; local 491 ESR_ReturnCode rc; local [all...] |
PANSIFileSystem.c | 43 ESR_ReturnCode rc; local 47 CHKLOG(rc, PANSIFileSystemSingleton->destroy(PANSIFileSystemSingleton)); 51 return rc;
|
/cts/tests/tests/os/src/android/os/cts/ |
RemoteCallbackListTest.java | 126 MockRemoteCallbackList<IInterface> rc = new MockRemoteCallbackList<IInterface>(); local 134 rc.register(null); 141 rc.unregister(null); 149 assertTrue(rc.register(mSecondaryService)); 150 int index = rc.beginBroadcast(); 152 IInterface actual = rc.getBroadcastItem(index - 1); 155 // Test finishBroadcast(Is it valid to use rc.getBroadcastItem after finishBroadcast) 156 rc.finishBroadcast(); 157 assertTrue(rc.unregister(mSecondaryService)); 159 rc.register(mSecondaryService) 181 MockRemoteCallbackList<IInterface> rc = new MockRemoteCallbackList<IInterface>(); local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/loadso/beos/ |
SDL_sysloadso.c | 52 status_t rc = get_image_symbol(library_id, name, B_SYMBOL_TYPE_TEXT, &sym); local 53 if (rc != B_NO_ERROR) { 54 SDL_SetError(strerror(rc));
|
/external/srec/portable/include/ |
ESR_ReturnCode.h | 193 #define CHK(rc, x) do { if ((rc = (x)) != ESR_SUCCESS) goto CLEANUP; } while (0) 200 * @param rc Return-code 203 PORTABLE_API const LCHAR* ESR_rc2str(const ESR_ReturnCode rc);
|
/hardware/ril/mock-ril/src/java/com/android/internal/communication/ |
Msg.java | 43 private static void sendHeader(RilChannel rc, MsgHeader mh) throws IOException { 51 rc.rewindSendAll(lenBuffer); 52 rc.rewindSendAll(mhBuffer); 61 private static MsgHeader recvHeader(RilChannel rc) throws IOException { 64 int lenRead = rc.recvAllRewind(lenBuffer); 68 lenRead = rc.recvAllRewind(mhBuffer); 102 public static final void send(RilChannel rc, MsgHeader mh, ByteBuffer data) 113 sendHeader(rc, mh); 115 rc.sendAll(data); 129 public static final void send(RilChannel rc, int cmd, long token, int status, MessageMicro pb [all...] |
/external/srec/srec/Grammar/src/ |
SR_GrammarImpl.c | 38 ESR_ReturnCode rc; local 70 CHKLOG(rc, ESR_SessionTypeCreate(&impl->parameters)); 77 rc = SR_SemanticGraphCreate(&impl->semgraph); 78 if (rc != ESR_SUCCESS) 80 PLogError(ESR_rc2str(rc)); 84 rc = SR_SemanticProcessorCreate(&impl->semproc); 85 if (rc != ESR_SUCCESS) 87 PLogError(ESR_rc2str(rc)); 91 CHKLOG(rc, ESR_SessionExists(&exists)); 94 rc = ESR_SessionGetProperty(L("eventlog"), (void **)&impl->eventLog, TYPES_SR_EVENTLOG) 117 ESR_ReturnCode rc; local 157 ESR_ReturnCode rc = ESR_SUCCESS, logrc; local 303 ESR_ReturnCode rc, logrc; local 332 ESR_ReturnCode rc; local 343 ESR_ReturnCode rc; local 357 ESR_ReturnCode rc; local 495 ESR_ReturnCode rc; local 523 ESR_ReturnCode rc; local 557 ESR_ReturnCode rc; local 598 ESR_ReturnCode rc; local 648 ESR_ReturnCode rc; local 691 ESR_ReturnCode rc = ESR_SUCCESS; local 763 ESR_ReturnCode rc = ESR_SUCCESS; local [all...] |
/build/target/board/generic_x86/ |
AndroidBoard.mk | 4 LOCAL_MODULE := init.rc 5 LOCAL_SRC_FILES := init.rc
|
/device/htc/passion/ |
passion.mk | 25 device/htc/passion/init.mahimahi.rc:root/init.mahimahi.rc \ 26 device/htc/passion/ueventd.mahimahi.rc:root/ueventd.mahimahi.rc
|
/external/dnsmasq/contrib/dnsmasq_MacOSX/ |
DNSmasq | 2 . /etc/rc.common
|
/external/libpcap/ChmodBPF/ |
ChmodBPF | 3 . /etc/rc.common
|