/external/srec/srec/ca/ |
rec_load.c | 46 int rc; local 57 rc = add_acoustic_model_for_recognition(hRecog->recm, hAcoust->swimodel); 68 int rc; local 69 rc = clear_acoustic_models_for_recognition(hRecog->recm);
|
cnfd_scr.c | 141 int rc, error_check; local 150 rc = CA_ConfScorerGetFeatures(recog, nbestlist, features, &num_features, current_choice, num_choices_left); 151 if (rc) 205 int rc; local 226 rc = srec_nbest_get_result(nbestlist, choice_number, label0, MAX_ENTRY_LENGTH, &cost0, choice_number); 227 if (rc) return rc; 228 rc = srec_nbest_get_choice_info(nbestlist, choice_number, &num_speech_frames, "num_speech_frames"); 229 if (rc) return rc; [all...] |
syn_srec.c | 48 int rc; local 49 rc = FST_AttachArbdata(syntax->synx, (srec_arbdata*)allotree); 50 return rc; 57 int rc; local 58 rc = FST_AddWordToGrammar(syntax->synx, slot, phrase, pronunciation, weight); 59 return rc; 64 int rc; local 65 rc = FST_ResetGrammar(syntax->synx); 66 return rc; 77 int rc; local 249 int rc; local 310 int rc; local 335 int rc; local 355 int rc; local [all...] |
/external/srec/tools/parseStringTest/ |
parseStringTest.c | 84 ESR_ReturnCode rc; local 87 rc = result->getKeyList(result, (LCHAR**) & keys, &size); /* get the key list */ 88 if (rc == ESR_SUCCESS) 93 if ((rc = result->getValue(result, keys[i], value, &len)) == ESR_SUCCESS) 96 pfprintf(fout, "Error: %s\n", ESR_rc2str(rc)); 101 pfprintf(fout, "Error: %s\n", ESR_rc2str(rc)); 106 ESR_ReturnCode rc = ESR_SUCCESS; local 138 rc = grammar->checkParse(grammar, trans, semanticResults, (size_t*) & result_count); 171 rc = ESR_SUCCESS; 175 rc = pgrammar->semproc->flush(pgrammar->semproc) 214 ESR_ReturnCode rc; local 278 ESR_ReturnCode rc; local 456 ESR_ReturnCode rc; local 542 ESR_ReturnCode rc; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
basic_op_arm_gcc_v5.h | 201 register Word32 rc = var2; local 208 : "r"(rb), "r"(rc) 212 : "=r"(rc) 216 return (rc); 290 register Word32 rc = var2; local 298 : "r"(rb), "r"(rc) 340 register Word32 rc = L_var2_hi; local 349 : "r"(ra), "r"(rc) 376 : "r"(rb), "r"(rc) 421 register Word32 rc = var2 local 505 register Word32 rc = L_var3; local 519 register Word32 rc = L_var3; local [all...] |
/system/core/libcutils/ |
iosched_policy.c | 52 int rc; local 54 if ((rc = ioprio_get(WHO_PROCESS, pid)) < 0) { 58 *clazz = (rc >> CLASS_SHIFT); 59 *ioprio = (rc & 0xff);
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
env_tst.c | 73 rc = -EINVAL; \ 92 int rc = 0; local 103 print_info("TIWLAN: packet structure size test %s\n", rc?"failed":"passed"); 105 return rc;
|
/libcore/luni/src/main/native/ |
java_io_FileDescriptor.cpp | 28 int rc = fsync(fd); local 29 if (rc == -1) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/ |
BaseView.groovy | 94 Rect rc = childNode.getBounds(); 96 if (rp.isValid() && rc.isValid()) { 101 int m = rc.x + rc.w / 2; 102 gc.drawLine(m, rc.y, m, rp.y); 104 gc.drawLine(m, rc.y + rc.h, m, rp.y + rp.h); 106 m = rc.y + rc.h / 2; 107 gc.drawLine(rc.x, m, rp.x, m) [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
PackageHelper.java | 73 int rc = mountService.createSecureContainer( local 75 if (rc != StorageResultCode.OperationSucceeded) { 91 int rc = getMountService().mountSecureContainer(cid, key, ownerUid); local 92 if (rc != StorageResultCode.OperationSucceeded) { 93 Log.i(TAG, "Failed to mount container " + cid + " rc : " + rc); 105 int rc = getMountService().unmountSecureContainer(cid, true); local 106 if (rc != StorageResultCode.OperationSucceeded) { 107 Log.e(TAG, "Failed to unmount " + cid + " with rc " + rc); 119 int rc = getMountService().renameSecureContainer(oldId, newId); local 145 int rc = getMountService().finalizeSecureContainer(cid); local 161 int rc = getMountService().destroySecureContainer(cid, true); local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11dyn.c | 64 static void X11_GetSym(const char *fnname, int *rc, void **fn) 84 *rc = 0; /* kill this module. */ 90 #define SDL_X11_SYM(rc,fn,params,args,ret) \ 91 static rc (*p##fn) params = NULL; \ 92 rc fn params { ret p##fn args ; } 106 #define SDL_X11_SYM(rc,fn,params,args,ret) 124 #define SDL_X11_SYM(rc,fn,params,args,ret) p##fn = NULL; 148 int rc = 1; /* always succeed if not using Dynamic X11 stuff. */ local 175 rc = 0; 188 return rc; [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/ums/ |
SDL_umsaudio.c | 151 UMSAudioDevice_ReturnCode rc; 153 rc = UADSetTimeFormat(this, UMSAudioTypes_Bytes ); 154 rc = UADWriteBuffSize(this, bufSize ); 160 UMSAudioDevice_ReturnCode rc; local 165 rc = UADPlayRemainingData(this, TRUE); 166 rc = UADStop(this); 167 rc = UADClose(this); 172 UMSAudioDevice_ReturnCode rc; local 183 rc = UADWrite(this, &this->hidden->playbuf, 188 /* rc values: UMSAudioDevice_Succes 236 UMSAudioDevice_ReturnCode rc; local [all...] |
/external/srec/srec/clib/ |
swicms.c | 108 ESR_ReturnCode rc; local 112 CHKLOG(rc, ESR_SessionContains(parname, &exists)); 114 rc = ESR_SessionGetProperty(parname, (void**)&intList, TYPES_INTARRAYLIST); 115 if (rc != ESR_SUCCESS && rc != ESR_NO_MATCH_ERROR) { 117 PLogError(L("Error reading %s from session: %s"), parname, ESR_rc2str(rc)); 120 else if (rc == ESR_SUCCESS) { 121 CHKLOG(rc, IntArrayListGetSize(intList, &size)); 123 PLogError(L("Error reading %s from session, expected len %d: %s"), parname, reqSize, ESR_rc2str(rc)); 127 CHKLOG(rc, IntArrayListGet(intList, 0, parvalue)) 141 ESR_ReturnCode rc = ESR_SUCCESS; local [all...] |
/hardware/ti/wlan/wl1271/TWD/Ctrl/ |
CmdQueue.h | 55 #define RC_CONVERT(rc) \ 56 (rc == TXN_STATUS_OK || rc == TXN_STATUS_COMPLETE || rc == TXN_STATUS_PENDING || rc == TI_OK) ? TI_OK : TI_NOK
|
/system/core/libsysutils/src/ |
SocketClient.cpp | 53 int rc = 0; local 59 if ((rc = write(mSocket,p, brtw)) < 0) { 63 } else if (!rc) { 69 p += rc; 70 brtw -= rc;
|
/system/core/rootdir/ |
Android.mk | 34 # Only copy init.rc if the target doesn't have its own. 36 file := $(TARGET_ROOT_OUT)/init.rc 37 $(file) : $(LOCAL_PATH)/init.rc | $(ACP) 43 file := $(TARGET_ROOT_OUT)/ueventd.rc 44 $(file) : $(LOCAL_PATH)/ueventd.rc | $(ACP) 49 # Just like /system/etc/init.goldfish.sh, the /init.godlfish.rc is here 52 file := $(TARGET_ROOT_OUT)/init.goldfish.rc 53 $(file) : $(LOCAL_PATH)/etc/init.goldfish.rc | $(ACP) 58 file := $(TARGET_ROOT_OUT)/ueventd.goldfish.rc 59 $(file) : $(LOCAL_PATH)/etc/ueventd.goldfish.rc | $(ACP [all...] |
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/Ctrl/Cmd_Queue/ |
CmdQueue.h | 56 #define CMDQUEUE_CONVERT_RC(rc) \ 57 if((rc == TNETWIF_OK)||(rc == TNETWIF_COMPLETE)||(rc == TNETWIF_PENDING)||(rc == OK)) \
|
/system/wlan/ti/wilink_6_1/TWD/Ctrl/ |
CmdQueue.h | 55 #define RC_CONVERT(rc) \ 56 (rc == TXN_STATUS_OK || rc == TXN_STATUS_COMPLETE || rc == TXN_STATUS_PENDING || rc == TI_OK) ? TI_OK : TI_NOK
|
/external/srec/srec/EventLog/src/ |
EventLogImpl.c | 105 ESR_ReturnCode rc; local 110 CHKLOG(rc, SR_EventLogTokenInt(eventLog, name, *((int*) newValue))); 113 CHKLOG(rc, SR_EventLogTokenUint16_t(eventLog, name, *((asr_uint16_t*) newValue))); 116 CHKLOG(rc, SR_EventLogTokenSize_t(eventLog, name, *((size_t*) newValue))); 119 CHKLOG(rc, SR_EventLogTokenBool(eventLog, name, *((ESR_BOOL*) newValue))); 122 CHKLOG(rc, SR_EventLogTokenFloat(eventLog, name, *((float*) newValue))); 125 CHKLOG(rc, SR_EventLogToken(eventLog, name, (LCHAR*) newValue)); 129 CHKLOG(rc, ESR_SessionGetProperty(name, (void **)&list, TYPES_INTARRAYLIST)); 130 CHKLOG(rc, list->getSize(list, &len)); 131 CHKLOG(rc, SR_EventLogTokenInt(eventLog, name, len)) 157 ESR_ReturnCode rc; local 293 ESR_ReturnCode rc; local 392 ESR_ReturnCode rc; local 407 ESR_ReturnCode rc; local 422 ESR_ReturnCode rc; local 529 ESR_ReturnCode rc; local 673 ESR_ReturnCode rc; local 692 ESR_ReturnCode rc; local 736 ESR_ReturnCode rc; local [all...] |
/external/srec/srec/Vocabulary/src/ |
VocabularyImpl.c | 51 ESR_ReturnCode rc = ESR_SUCCESS; local 58 rc = ESR_SessionGetBool ( L("G2P.Available"), &bG2P ); 59 if ( rc != ESR_SUCCESS ) 61 PLogError(L("ESR_FATAL_ERROR: ESR_SessionGetBool() - G2P.Available fails with return code %d\n"), rc); 62 return rc; 70 rc = ESR_SessionGetLCHAR ( L("G2P.Data"), szG2PDataFile, &len ); 71 if ( rc != ESR_SUCCESS ) 73 PLogError(L("ESR_FATAL_ERROR: ESR_SessionGetLCHAR() - G2P.Data fails with return code %d\n"), rc); 74 return rc; 76 rc = ESR_SessionPrefixWithBaseDirectory(szG2PDataFile, &len) 106 ESR_ReturnCode rc = ESR_SUCCESS; local 194 ESR_ReturnCode rc = ESR_SUCCESS; local 239 ESR_ReturnCode rc; local [all...] |
/external/oprofile/libpopt/ |
poptconfig.c | 101 int fd, rc; local 110 rc = errno; 112 errno = rc; 118 rc = errno; 120 errno = rc; 166 int rc; local 170 rc = poptReadConfigFile(con, "/etc/popt"); 171 if (rc) return rc; 177 rc = poptReadConfigFile(con, fn) [all...] |
/external/srec/portable/src/ |
pLastError.c | 39 ESR_ReturnCode rc; local 42 rc = PLogIsInitialized(&isInit); 43 if (rc != ESR_SUCCESS)
|
/external/srec/srec/crec/ |
srec_eosd.c | 72 EOSrc rc = SPEECH_MAYBE_ENDED; local 73 return rc; 79 EOSrc rc = VALID_SPEECH_CONTINUING; local 114 rc = SPEECH_MAYBE_ENDED; 121 rc = SPEECH_ENDED; 123 rc = SPEECH_TOO_LONG; 214 rc = SPEECH_ENDED; 220 rc = SPEECH_ENDED; 226 rc = SPEECH_ENDED; 231 rc = VALID_SPEECH_CONTINUING [all...] |
/external/openssl/crypto/rand/ |
rand_os2.c | 94 ULONG rc = DosLoadModule(failed_module, sizeof(failed_module), "DOSCALLS", &hDoscalls); local 97 if (rc == 0) { 98 rc = DosQueryProcAddr(hDoscalls, 976, NULL, (PFN *)&DosPerfSysCall); 100 if (rc) 103 rc = DosQueryProcAddr(hDoscalls, 368, NULL, (PFN *)&DosQuerySysState); 105 if (rc)
|
/hardware/ti/wlan/wl1271/platforms/hw/linux/ |
SdioAdapter.c | 74 int rc; local 83 rc = sdio_enable_func(func); 84 if (rc) 86 rc = sdio_set_block_size(func, 512); 88 if (rc) { 101 return rc; 135 int rc; local 139 rc = sdio_register_driver(&sdio_wifi_driver); 140 if (rc < 0) { 142 return rc; 176 int rc = 0, final_rc = 0; local 216 int rc; local [all...] |