/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
D | vp9_ratectrl.c | 194 const RATE_CONTROL *rc = &cpi->rc; in vp9_rc_clamp_pframe_target_size() local 195 const int min_frame_target = MAX(rc->min_frame_bandwidth, in vp9_rc_clamp_pframe_target_size() 196 rc->avg_frame_bandwidth >> 5); in vp9_rc_clamp_pframe_target_size() 199 if (cpi->refresh_golden_frame && rc->is_src_frame_alt_ref) { in vp9_rc_clamp_pframe_target_size() 207 if (target > rc->max_frame_bandwidth) in vp9_rc_clamp_pframe_target_size() 208 target = rc->max_frame_bandwidth; in vp9_rc_clamp_pframe_target_size() 213 const RATE_CONTROL *rc = &cpi->rc; in vp9_rc_clamp_iframe_target_size() local 216 const int max_rate = rc->avg_frame_bandwidth * in vp9_rc_clamp_iframe_target_size() 220 if (target > rc->max_frame_bandwidth) in vp9_rc_clamp_iframe_target_size() 221 target = rc->max_frame_bandwidth; in vp9_rc_clamp_iframe_target_size() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_ratectrl.c | 113 const RATE_CONTROL *rc = &cpi->rc; in vp9_rc_clamp_pframe_target_size() local 114 const int min_frame_target = MAX(rc->min_frame_bandwidth, in vp9_rc_clamp_pframe_target_size() 115 rc->av_per_frame_bandwidth >> 5); in vp9_rc_clamp_pframe_target_size() 118 if (cpi->refresh_golden_frame && rc->is_src_frame_alt_ref) { in vp9_rc_clamp_pframe_target_size() 126 if (target > rc->max_frame_bandwidth) in vp9_rc_clamp_pframe_target_size() 127 target = rc->max_frame_bandwidth; in vp9_rc_clamp_pframe_target_size() 132 const RATE_CONTROL *rc = &cpi->rc; in vp9_rc_clamp_iframe_target_size() local 135 const int max_rate = rc->av_per_frame_bandwidth * in vp9_rc_clamp_iframe_target_size() 139 if (target > rc->max_frame_bandwidth) in vp9_rc_clamp_iframe_target_size() 140 target = rc->max_frame_bandwidth; in vp9_rc_clamp_iframe_target_size() [all …]
|
/external/srec/srec/AcousticModels/src/ |
D | AcousticModelsImpl.c | 37 #define CHKINTARRAY(rc, list, operation) rc = operation; \ argument 38 if (rc!=ESR_SUCCESS) \ 42 PLogError(ESR_rc2str(rc)); \ 43 return rc; \ 56 ESR_ReturnCode rc; in SR_AcousticModels_ToSession() local 58 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.dimen", 16)); in SR_AcousticModels_ToSession() 59 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.skip", 5)); in SR_AcousticModels_ToSession() 60 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.stay", 5)); in SR_AcousticModels_ToSession() 61 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.whole_skip", 10)); in SR_AcousticModels_ToSession() 62 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Acoustic.whole_stay", 10)); in SR_AcousticModels_ToSession() [all …]
|
/external/srec/shared/src/ |
D | SessionTypeImpl.c | 43 ESR_ReturnCode rc; in ESR_SessionTypeCreate() local 59 rc = ESR_OUT_OF_MEMORY; in ESR_SessionTypeCreate() 105 CHK(rc, HashMapCreate(&data->value)); in ESR_SessionTypeCreate() 106 CHK(rc, ArrayListCreate(&data->listeners)); in ESR_SessionTypeCreate() 111 return rc; in ESR_SessionTypeCreate() 126 ESR_ReturnCode rc; in ESR_SessionTypeGetPropertyImpl() local 128 CHK(rc, HashMapGet(data->value, name, (void **)&pair)); in ESR_SessionTypeGetPropertyImpl() 138 return rc; in ESR_SessionTypeGetPropertyImpl() 144 ESR_ReturnCode rc; in ESR_SessionTypeGetIntImpl() local 149 CHK(rc, HashMapGet(data->value, name, (void **)&pair)); in ESR_SessionTypeGetIntImpl() [all …]
|
/external/srec/portable/src/ |
D | PANSIFileImpl.c | 37 ESR_ReturnCode rc; in PANSIFileCreateImpl() local 42 rc = ESR_OUT_OF_MEMORY; in PANSIFileCreateImpl() 43 PLogError(ESR_rc2str(rc)); in PANSIFileCreateImpl() 73 return rc; in PANSIFileCreateImpl() 78 ESR_ReturnCode rc; in PANSIFileDestroyImpl() local 80 CHK(rc, PFileDestroyImpl(self)); in PANSIFileDestroyImpl() 84 return rc; in PANSIFileDestroyImpl() 89 #define LOCK_MUTEX(rc, impl) \ argument 91 CHKLOG(rc, PtrdMonitorLock(impl->Interface.lock)); 93 #define LOCK_MUTEX(rc, impl) argument [all …]
|
D | PFileSystem.c | 48 ESR_ReturnCode rc; in PFileSystemCanonicalSlashes() local 52 rc = ESR_INVALID_ARGUMENT; in PFileSystemCanonicalSlashes() 53 PLogError(ESR_rc2str(rc)); in PFileSystemCanonicalSlashes() 58 CHKLOG(rc, lstrreplace(path, L('\\'), L('/'))); in PFileSystemCanonicalSlashes() 61 return rc; in PFileSystemCanonicalSlashes() 66 ESR_ReturnCode rc; in PFileSystemLinearToPathTokens() local 76 rc = ESR_INVALID_ARGUMENT; in PFileSystemLinearToPathTokens() 77 PLogError(ESR_rc2str(rc)); in PFileSystemLinearToPathTokens() 81 CHKLOG(rc, PFileSystemCanonicalSlashes(linear)); in PFileSystemLinearToPathTokens() 82 CHKLOG(rc, ArrayListCreate(&arrayList)); in PFileSystemLinearToPathTokens() [all …]
|
D | PANSIFileSystemImpl.c | 48 ESR_ReturnCode rc; in PANSIFileSystemCreate() local 63 CHKLOG(rc, PHashTableCreate(NULL, MTAG, &impl->directoryMap)); in PANSIFileSystemCreate() 67 return rc; in PANSIFileSystemCreate() 77 ESR_ReturnCode rc; in PANSIFileSystemDestroyImpl() local 81 CHKLOG(rc, PHashTableEntryGetFirst(impl->directoryMap, &entry)); in PANSIFileSystemDestroyImpl() 84 CHKLOG(rc, PHashTableEntryGetKeyValue(entry, (void **)&key, (void **)&value)); in PANSIFileSystemDestroyImpl() 86 CHKLOG(rc, PHashTableEntryAdvance(&entry)); in PANSIFileSystemDestroyImpl() 87 CHKLOG(rc, PHashTableEntryRemove(oldEntry)); in PANSIFileSystemDestroyImpl() 88 CHKLOG(rc, PHashTableRemoveValue(PFileSystemPathMap, key, NULL)); in PANSIFileSystemDestroyImpl() 92 CHKLOG(rc, PHashTableDestroy(impl->directoryMap)); in PANSIFileSystemDestroyImpl() [all …]
|
D | PFile.c | 131 ESR_ReturnCode rc; in PFileGetFilename() local 138 rc = self->getFilename(self, filename, len); in PFileGetFilename() 139 return rc; in PFileGetFilename() 164 ESR_ReturnCode rc; in PFileVfprintf() local 171 rc = self->vfprintf(self, result, format, args); in PFileVfprintf() 172 return rc; in PFileVfprintf() 199 ESR_ReturnCode rc; in PFileReadInt() local 210 rc = ESR_READ_ERROR; in PFileReadInt() 211 PLogError(ESR_rc2str(rc)); in PFileReadInt() 216 rc = ESR_INVALID_STATE; in PFileReadInt() [all …]
|
/external/srec/srec/Recognizer/src/ |
D | RecognizerImpl.c | 68 ESR_ReturnCode rc; in SR_RecognizerToSessionImpl() local 73 CHKLOG(rc, ESR_SessionSetBoolIfEmpty("CREC.Recognizer.partial_results", ESR_FALSE)); in SR_RecognizerToSessionImpl() 74 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.NBest", 1)); in SR_RecognizerToSessionImpl() 75 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.eou_threshold", 100)); in SR_RecognizerToSessionImpl() 76 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_altword_tokens", 400)); in SR_RecognizerToSessionImpl() 77 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_frames", 1000)); in SR_RecognizerToSessionImpl() 78 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsm_arcs", 3000)); in SR_RecognizerToSessionImpl() 79 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsm_nodes", 3000)); in SR_RecognizerToSessionImpl() 80 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsmnode_tokens", 1000)); in SR_RecognizerToSessionImpl() 81 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_hmm_tokens", 1000)); in SR_RecognizerToSessionImpl() [all …]
|
/external/chromium_org/cloud_print/virtual_driver/win/install/ |
D | virtual_driver_install.gyp | 31 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/virtual_driver_setup_exe_version.rc', 32 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_ar.rc', 33 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_bg.rc', 34 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_bn.rc', 35 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_ca.rc', 36 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_cs.rc', 37 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_da.rc', 38 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_de.rc', 39 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_el.rc', 40 … '<(SHARED_INTERMEDIATE_DIR)/virtual_driver_setup_resources/virtual_driver_setup_resources_en.rc', [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_frag.c | 65 #define INIT_COMBINER(chan, ctx, rc, i) do { \ argument 68 (rc)->ctx = ctx; \ 69 (rc)->unit = i; \ 70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \ 71 (rc)->premodulate = c->_NumArgs##chan == 4; \ 72 (rc)->mode = c->Mode##chan; \ 73 (rc)->source = c->Source##chan; \ 74 (rc)->operand = c->Operand##chan; \ 75 (rc)->logscale = c->ScaleShift##chan; \ 76 (rc)->hw = 0; \ [all …]
|
D | nv10_state_frag.c | 81 #define INIT_COMBINER(chan, ctx, rc, i) do { \ argument 84 (rc)->ctx = ctx; \ 85 (rc)->unit = i; \ 86 (rc)->premodulate = c->_NumArgs##chan == 4; \ 87 (rc)->mode = c->Mode##chan; \ 88 (rc)->source = c->Source##chan; \ 89 (rc)->operand = c->Operand##chan; \ 90 (rc)->logscale = c->ScaleShift##chan; \ 91 (rc)->in = (rc)->out = 0; \ 97 get_input_source(struct combiner_state *rc, int source) in get_input_source() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_frag.c | 65 #define INIT_COMBINER(chan, ctx, rc, i) do { \ argument 68 (rc)->ctx = ctx; \ 69 (rc)->unit = i; \ 70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \ 71 (rc)->premodulate = c->_NumArgs##chan == 4; \ 72 (rc)->mode = c->Mode##chan; \ 73 (rc)->source = c->Source##chan; \ 74 (rc)->operand = c->Operand##chan; \ 75 (rc)->logscale = c->ScaleShift##chan; \ 76 (rc)->hw = 0; \ [all …]
|
D | nv10_state_frag.c | 81 #define INIT_COMBINER(chan, ctx, rc, i) do { \ argument 84 (rc)->ctx = ctx; \ 85 (rc)->unit = i; \ 86 (rc)->premodulate = c->_NumArgs##chan == 4; \ 87 (rc)->mode = c->Mode##chan; \ 88 (rc)->source = c->Source##chan; \ 89 (rc)->operand = c->Operand##chan; \ 90 (rc)->logscale = c->ScaleShift##chan; \ 91 (rc)->in = (rc)->out = 0; \ 97 get_input_source(struct combiner_state *rc, int source) in get_input_source() argument [all …]
|
/external/llvm/tools/lli/ChildTarget/ |
D | ChildTarget.cpp | 101 int rc = ReadBytes(&DataSize, 4); in handleAllocateSpace() local 102 (void)rc; in handleAllocateSpace() 103 assert(rc == 4); in handleAllocateSpace() 109 rc = ReadBytes(&Alignment, 4); in handleAllocateSpace() 110 assert(rc == 4); in handleAllocateSpace() 111 rc = ReadBytes(&AllocSize, 4); in handleAllocateSpace() 112 assert(rc == 4); in handleAllocateSpace() 125 int rc = ReadBytes(&DataSize, 4); in handleLoadSection() local 126 (void)rc; in handleLoadSection() 127 assert(rc == 4); in handleLoadSection() [all …]
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | fulltext.c | 507 int rc = sqlite3_exec(db, zCommand, NULL, 0, NULL); in sql_exec() local 509 return rc; in sql_exec() 515 int rc = sqlite3_prepare(db, zCommand, -1, ppStmt, NULL); in sql_prepare() local 517 return rc; in sql_prepare() 600 int rc = sql_prepare(v->db, v->zName, &v->pFulltextStatements[iStmt], in sql_get_statement() local 602 if( rc!=SQLITE_OK ) return rc; in sql_get_statement() 604 int rc = sqlite3_reset(v->pFulltextStatements[iStmt]); in sql_get_statement() local 605 if( rc!=SQLITE_OK ) return rc; in sql_get_statement() 620 int rc; in sql_step_statement() local 625 while( (rc=sqlite3_step(s))!=SQLITE_DONE && rc!=SQLITE_ROW ){ in sql_step_statement() [all …]
|
/external/srec/srec/Nametag/src/ |
D | NametagsImpl.c | 33 ESR_ReturnCode rc; in SR_NametagsCreate() local 59 CHKLOG(rc, HashMapCreate(&impl->value)); in SR_NametagsCreate() 60 CHKLOG(rc, ESR_SessionGetSize_t(L("SREC.Recognizer.osi_log_level"), &impl->logLevel)); in SR_NametagsCreate() 62 CHKLOG(rc, ESR_SessionGetProperty(L("eventlog"), (void **)&impl->eventLog, TYPES_SR_EVENTLOG)); in SR_NametagsCreate() 63 CHKLOG(rc, SR_EventLogTokenPointer_BASIC(impl->eventLog, impl->logLevel, L("pointer"), self)); in SR_NametagsCreate() 64 CHKLOG(rc, SR_EventLogEvent_BASIC(impl->eventLog, impl->logLevel, L("SR_NametagsCreate"))); in SR_NametagsCreate() 69 return rc; in SR_NametagsCreate() 75 ESR_ReturnCode rc; in SR_NametagsLoadImpl() local 94 rc = ESR_INVALID_STATE; in SR_NametagsLoadImpl() 95 PLogError(ESR_rc2str(rc)); in SR_NametagsLoadImpl() [all …]
|
/external/libselinux/src/ |
D | avc_internal.c | 60 int len, rc = 0; in avc_netlink_open() local 65 rc = fd; in avc_netlink_open() 73 rc = -1; in avc_netlink_open() 86 rc = -1; in avc_netlink_open() 90 return rc; in avc_netlink_open() 102 int rc; in avc_netlink_receive() local 109 rc = poll(&pfd, 1, (blocking ? -1 : 0)); in avc_netlink_receive() 110 } while (rc < 0 && errno == EINTR); in avc_netlink_receive() 112 if (rc == 0 && !blocking) { in avc_netlink_receive() 116 else if (rc < 1) { in avc_netlink_receive() [all …]
|
/external/qemu/distrib/libselinux/src/ |
D | avc_internal.c | 60 int len, rc = 0; in avc_netlink_open() local 65 rc = fd; in avc_netlink_open() 73 rc = -1; in avc_netlink_open() 86 rc = -1; in avc_netlink_open() 90 return rc; in avc_netlink_open() 102 int rc; in avc_netlink_receive() local 109 rc = poll(&pfd, 1, (blocking ? -1 : 0)); in avc_netlink_receive() 110 } while (rc < 0 && errno == EINTR); in avc_netlink_receive() 112 if (rc == 0 && !blocking) { in avc_netlink_receive() 116 else if (rc < 1) { in avc_netlink_receive() [all …]
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2.c | 738 int rc; in dlrInit() local 747 rc = dlrStep(pReader); in dlrInit() 748 if( rc!=SQLITE_OK ) dlrDestroy(pReader); in dlrInit() 749 return rc; in dlrInit() 990 int rc; in plrInit() local 998 rc = plrStep(pReader); in plrInit() 999 if( rc!=SQLITE_OK ) plrDestroy(pReader); in plrInit() 1000 return rc; in plrInit() 1190 int rc; in docListTrim() local 1194 rc = dlrInit(&dlReader, iType, pData, nData); in docListTrim() [all …]
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | vacuum.c | 26 int rc; in vacuumFinalize() local 27 rc = sqlite3VdbeFinalize((Vdbe*)pStmt); in vacuumFinalize() 28 if( rc ){ in vacuumFinalize() 31 return rc; in vacuumFinalize() 39 VVA_ONLY( int rc; ) in execSql() 47 VVA_ONLY( rc = ) sqlite3_step(pStmt); in execSql() 48 assert( rc!=SQLITE_ROW ); in execSql() 58 int rc; in execExecSql() local 60 rc = sqlite3_prepare(db, zSql, -1, &pStmt, 0); in execExecSql() 61 if( rc!=SQLITE_OK ) return rc; in execExecSql() [all …]
|
D | prepare.c | 37 pData->rc = db->mallocFailed ? SQLITE_NOMEM : SQLITE_CORRUPT_BKPT; in corruptSchema() 76 int rc; in sqlite3InitCallback() local 85 rc = db->errCode; in sqlite3InitCallback() 86 assert( (rc&0xFF)==(rcp&0xFF) ); in sqlite3InitCallback() 88 if( SQLITE_OK!=rc ){ in sqlite3InitCallback() 92 pData->rc = rc; in sqlite3InitCallback() 93 if( rc==SQLITE_NOMEM ){ in sqlite3InitCallback() 95 }else if( rc!=SQLITE_INTERRUPT && (rc&0xFF)!=SQLITE_LOCKED ){ in sqlite3InitCallback() 135 int rc; in sqlite3InitOne() local 196 initData.rc = SQLITE_OK; in sqlite3InitOne() [all …]
|
D | backup.c | 37 int rc; /* Backup process error code */ member 93 int rc = 0; in findBtree() local 97 rc = SQLITE_NOMEM; in findBtree() 101 sqlite3Error(pErrorDb, pParse->rc, "%s", pParse->zErrMsg); in findBtree() 102 rc = SQLITE_ERROR; in findBtree() 107 if( rc ){ in findBtree() 125 int rc; in setDestPgsz() local 126 rc = sqlite3BtreeSetPageSize(p->pDest,sqlite3BtreeGetPageSize(p->pSrc),-1,0); in setDestPgsz() 127 return rc; in setDestPgsz() 207 static int isFatalError(int rc){ in isFatalError() argument [all …]
|
D | test8.c | 164 int rc = SQLITE_OK; in getColumnNames() local 173 rc = SQLITE_NOMEM; in getColumnNames() 176 rc = sqlite3_prepare(db, zSql, -1, &pStmt, 0); in getColumnNames() 179 if( rc==SQLITE_OK ){ in getColumnNames() 192 rc = SQLITE_NOMEM; in getColumnNames() 199 rc = SQLITE_NOMEM; in getColumnNames() 220 return rc; in getColumnNames() 243 int rc; in getIndexArray() local 249 rc = SQLITE_NOMEM; in getIndexArray() 256 rc = SQLITE_NOMEM; in getIndexArray() [all …]
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3_write.c | 239 int rc = SQLITE_OK; in fts3SqlStmt() local 256 rc = SQLITE_NOMEM; in fts3SqlStmt() 258 rc = sqlite3_prepare_v2(p->db, zSql, -1, &pStmt, NULL); in fts3SqlStmt() 260 assert( rc==SQLITE_OK || pStmt==0 ); in fts3SqlStmt() 267 for(i=0; rc==SQLITE_OK && i<nParam; i++){ in fts3SqlStmt() 268 rc = sqlite3_bind_value(pStmt, i+1, apVal[i]); in fts3SqlStmt() 272 return rc; in fts3SqlStmt() 282 int rc; /* Return code */ in fts3SelectDocsize() local 286 rc = fts3SqlStmt(pTab, eStmt, &pStmt, 0); in fts3SelectDocsize() 287 if( rc==SQLITE_OK ){ in fts3SelectDocsize() [all …]
|