/external/chromium_org/third_party/sqlite/src/src/ |
H A D | attach.c | 37 int rc = SQLITE_OK; local 40 rc = sqlite3ResolveExprNames(pName, pExpr); 41 if( rc==SQLITE_OK && !sqlite3ExprIsConstant(pExpr) ){ 49 return rc; 69 int rc = 0; local 127 rc = sqlite3BtreeOpen(zFile, db, &aNew->pBt, 0, 130 if( rc==SQLITE_CONSTRAINT ){ 131 rc = SQLITE_ERROR; 133 }else if( rc==SQLITE_OK ){ 137 rc 297 int rc; local [all...] |
H A D | test_onefile.c | 376 int rc = SQLITE_OK; local 390 rc = pReal->pFile->pMethods->xClose(pReal->pFile); 394 return rc; 406 int rc = SQLITE_OK; local 414 rc = SQLITE_IOERR_SHORT_READ; 416 rc = pF->pMethods->xRead(pF, zBuf, iAmt, iOfst+BLOCKSIZE); 422 while( iRem>0 && rc==SQLITE_OK ){ 426 rc = pF->pMethods->xRead(pF, &((char *)zBuf)[iBuf], iRealAmt, iRealOff); 433 return rc; 445 int rc local 506 int rc = SQLITE_OK; local 595 int rc = SQLITE_OK; local 686 int rc = SQLITE_OK; local [all...] |
H A D | test_init.c | 46 int rc; local 48 rc = SQLITE_ERROR; 50 rc = wrapped.mem.xInit(wrapped.mem.pAppData); 52 if( rc==SQLITE_OK ){ 55 return rc; 69 int rc; local 71 rc = SQLITE_ERROR; 73 rc = wrapped.mutex.xMutexInit(); 75 if( rc==SQLITE_OK ){ 78 return rc; 110 int rc; local [all...] |
H A D | os_win.c | 672 int rc, cnt = 0; local 679 rc = CloseHandle(pFile->h); 680 /* SimulateIOError( rc=0; cnt=MX_CLOSE_ATTEMPT; ); */ 681 }while( rc==0 && ++cnt < MX_CLOSE_ATTEMPT && (Sleep(100), 1) ); 697 OSTRACE(("CLOSE %d %s\n", pFile->h, rc ? "ok" : "failed")); 699 return rc ? SQLITE_OK : SQLITE_IOERR; 746 int rc; /* True if error has occured, else false */ local 756 rc = seekWinFile(pFile, offset); 757 if( rc==0 ){ 768 rc 786 int rc = SQLITE_OK; /* Return code for this function */ local 977 int rc = SQLITE_OK; /* Return code from subroutines */ local 1100 int rc; local 1135 int rc = SQLITE_OK; local 1346 int rc = 0; /* Result code form Lock/UnlockFileEx() */ local 1440 int rc; /* Result code */ local 1600 int rc = SQLITE_OK; /* Result code */ local 1737 int rc = SQLITE_OK; local 2064 int rc = SQLITE_OK; /* Function Return Code */ local 2273 DWORD rc; local 2324 int rc = 0; local 2479 int rc; local 2698 int rc; local [all...] |
H A D | test_mutex.c | 58 int rc; local 60 rc = g.m.xMutexInit(); 62 return rc; 143 int rc; local 150 rc = sqlite3_shutdown(); 151 Tcl_SetResult(interp, (char *)sqlite3TestErrorName(rc), TCL_VOLATILE); 164 int rc; local 171 rc = sqlite3_initialize(); 172 Tcl_SetResult(interp, (char *)sqlite3TestErrorName(rc), TCL_VOLATILE); 185 int rc local 341 int rc; local [all...] |
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
H A D | gnubby.js | 70 function enumerated(rc, devs) { 72 rc = -GnubbyDevice.NODEVICE; 73 if (rc) { 74 cb(rc); 80 Gnubby.gnubbies_.addClient(which, self, function(rc, device) { 81 if (rc == -GnubbyDevice.NODEVICE && enumerateRetriesRemaining-- > 0) { 88 cb(rc); 95 Gnubby.gnubbies_.addClient(which, self, function(rc, device) { 97 cb(rc); 443 function retryBusy(rc, rc_dat [all...] |
/external/libsepol/src/ |
H A D | ebitmap.c | 80 int rc = ebitmap_set_bit(dst, i, 1); local 81 if (rc < 0) 82 return rc; 94 int rc = ebitmap_set_bit(dst, i, val); local 95 if (rc < 0) 96 return rc; 107 int rc = ebitmap_set_bit(dst, i, !val); local 108 if (rc < 0) 109 return rc; 118 int rc local 142 int rc = ebitmap_xor(&tmp, e1, e2); local 344 int rc; local [all...] |
H A D | policydb.c | 676 int rc; local 681 rc = -ENOMEM; 686 rc = -ENOMEM; 690 rc = symtab_insert(p, SYM_ROLES, key, role, 694 if (rc) 697 rc = -EINVAL; 701 return rc; 715 int i, rc; local 725 rc = symtab_init(&p->symtab[i], symtab_sizes[i]); 726 if (rc) 1478 int rc, retval = 0; local 1640 int rc; local 1655 int rc; local 1677 int rc; local 1737 int rc; local 1782 int rc; local 1846 int rc; local 1889 int rc; local 1927 int rc; local 1977 int rc, depth; local 2070 int rc; local 2176 int rc, to_read = 2; local 2254 int rc, to_read; local 2344 int rc; local 2386 int rc; local 2418 int rc; local 2470 int rc; local 2551 int rc; local 2668 int rc = -1; local 2689 int rc; local 2802 int rc; local 2829 int rc, to_read = 2; local 2914 int rc; local 2957 int rc; local 3004 int rc; local 3070 int rc; local 3162 int rc; local 3195 int rc; local 3244 int rc; local 3280 int rc; local 3337 int rc; local 3378 int rc; local 3411 int rc; local 3461 int rc; local 3540 int rc; local 3609 int rc; local [all...] |
H A D | util.c | 85 int rc; local 93 rc = hashtab_map(cladatum->permissions.table, 95 if (!rc && cladatum->comdatum) { 96 rc = hashtab_map(cladatum->comdatum-> 100 if (rc)
|
/external/sqlite/dist/orig/ |
H A D | shell.c | 1025 int rc; local 1029 rc = sqlite3_prepare_v2(p->db, zSelect, -1, &pSelect, 0); 1030 if( rc!=SQLITE_OK || !pSelect ){ 1031 fprintf(p->out, "/**** ERROR: (%d) %s *****/\n", rc, sqlite3_errmsg(p->db)); 1032 if( (rc&0xff)!=SQLITE_CORRUPT ) p->nErr++; 1033 return rc; 1035 rc = sqlite3_step(pSelect); 1037 while( rc==SQLITE_ROW ){ 1054 rc = sqlite3_step(pSelect); 1056 rc 1291 int rc = SQLITE_OK; /* Return Code */ local 1451 int rc; local 1555 int rc; local 1697 sqlite3_int64 rc; local 2025 int rc; local 2137 int rc; local 2205 int rc; local 2249 int rc = 0; local 3286 int rc = 0; local 3525 int rc; local 3551 int rc; /* Error code */ local 3729 int rc = 0; local 3857 int rc = 0; local [all...] |
/external/sqlite/dist/ |
H A D | shell.c | 1030 int rc; local 1034 rc = sqlite3_prepare_v2(p->db, zSelect, -1, &pSelect, 0); 1035 if( rc!=SQLITE_OK || !pSelect ){ 1036 fprintf(p->out, "/**** ERROR: (%d) %s *****/\n", rc, sqlite3_errmsg(p->db)); 1037 if( (rc&0xff)!=SQLITE_CORRUPT ) p->nErr++; 1038 return rc; 1040 rc = sqlite3_step(pSelect); 1042 while( rc==SQLITE_ROW ){ 1059 rc = sqlite3_step(pSelect); 1061 rc 1296 int rc = SQLITE_OK; /* Return Code */ local 1456 int rc; local 1560 int rc; local 1702 sqlite3_int64 rc; local 2045 int rc; local 2157 int rc; local 2225 int rc; local 2269 int rc = 0; local 3306 int rc = 0; local 3545 int rc; local 3571 int rc; /* Error code */ local 3749 int rc = 0; local 3877 int rc = 0; local [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
H A D | user_sctp_timer_iterate.c | 112 int rc; 114 rc = pthread_create(&SCTP_BASE_VAR(timer_thread), NULL, user_sctp_timer_iterate, NULL); 115 if (rc) { 116 SCTP_PRINTF("ERROR; return code from pthread_create() is %d\n", rc);
|
/external/sepolicy/tools/sepolicy-analyze/ |
H A D | sepolicy-analyze.c | 43 int rc; local 53 rc = analyze_components[i].func(argc - 2, argv + 2, &policydb); 54 if (rc && USAGE_ERROR) { 56 return rc;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkDeviceLooper.cpp | 11 const SkRasterClip& rc, 14 , fBaseRC(rc) 15 , fSubsetRC(rc.isForceConservativeRects()) 23 if (!rc.isEmpty()) { 25 SkASSERT(SkIRect::MakeWH(base.width(), base.height()).contains(rc.getBounds())); 28 if (rc.isEmpty() || !fClippedBounds.intersect(bounds, rc.getBounds())) { 10 SkDeviceLooper(const SkBitmap& base, const SkRasterClip& rc, const SkIRect& bounds, bool aa) argument
|
/external/srec/audio/AudioIn/UNIX/src/ |
H A D | audioin.c | 217 int rc = pthread_cond_wait(&gThreadRunning, &gAudioMutex); local 218 switch (rc) 377 int rc = pthread_cond_wait(&gOpenExCalled, &gAudioMutex); local 378 switch (rc) 583 int rc = pthread_cond_wait(&gOpenExCalled, &gAudioMutex); local 584 switch (rc) 853 int rc; 857 if ((rc = snd_pcm_open(&ghPCM, "default", SND_PCM_STREAM_CAPTURE, 0)) < 0) 859 PLogError ( "Audio In Error snd_pcm_open() (rc = %d: %s)\n", rc, snd_strerro 1134 int rc = pthread_cond_wait(&gCloseCalled, &gAudioMutex); local [all...] |
/external/fio/engines/ |
H A D | windowsaio.c | 53 int rc = 0; local 58 rc = 1; 61 if (!rc) { 65 rc = 1; 69 if (!rc) { 74 rc = 1; 78 if (rc) { 89 if (!rc) { 97 rc = 1; 104 if (!rc) 153 int rc = 0; local 222 int rc = 0; local 314 int rc = FIO_Q_COMPLETED; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_quantize.c | 42 const int rc = scan[i]; local 43 const int coeff = coeff_ptr[rc]; 45 if (coeff < zbins[rc != 0] && coeff > nzbins[rc != 0]) 54 const int rc = scan[i]; local 55 const int coeff = coeff_ptr[rc]; 59 if (abs_coeff >= zbins[rc != 0]) { 60 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); 61 tmp = ((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * 62 quant_shift_ptr[rc ! 97 const int rc = scan[i]; local 109 const int rc = scan[idx_arr[i]]; local [all...] |
H A D | vp9_svc_layercontext.c | 33 RATE_CONTROL *const lrc = &lc->rc; 69 const RATE_CONTROL *const rc = &cpi->rc; local 82 RATE_CONTROL *const lrc = &lc->rc; 106 lrc->max_frame_bandwidth = rc->max_frame_bandwidth; 108 lrc->worst_quality = rc->worst_quality; 109 lrc->best_quality = rc->best_quality; 123 RATE_CONTROL *const lrc = &lc->rc; 128 lrc->max_frame_bandwidth = cpi->rc.max_frame_bandwidth; 146 RATE_CONTROL *const lrc = &lc->rc; [all...] |
/external/srec/shared/src/ |
H A D | ESR_Session.c | 39 ESR_ReturnCode rc; local 41 CHKLOG(rc, ESR_SessionTypeCreate(&ESR_Session)); 44 CHKLOG(rc, ESR_Session->setLCHAR(ESR_Session, L("cmdline.nametagPath"), L(""))); 46 CHKLOG(rc, ESR_Session->setUint16_t(ESR_Session, L("thread.priority"), PtrdThreadNormalPriority)); 50 CHKLOG(rc, ESR_Session->importParFile(ESR_Session, filename)); 54 return rc; 258 ESR_ReturnCode rc; local 262 CHKLOG(rc, ESR_Session->destroy(ESR_Session)); 267 return rc; 278 ESR_ReturnCode rc; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
H A D | quantize.c | 24 int i, rc, eob; local 43 rc = vp8_default_zig_zag1d[i]; 44 z = coeff_ptr[rc]; 45 zbin = zbin_ptr[rc] ; 52 x += round_ptr[rc]; 53 y = ((((x * quant_ptr[rc]) >> 16) + x) 54 * quant_shift_ptr[rc]) >> 16; /* quantize (x) */ 56 qcoeff_ptr[rc] = x; /* write to destination */ 57 dqcoeff_ptr[rc] = x * dequant_ptr[rc]; /* dequantize 72 int i, rc, eob; local 108 int i, rc, eob; local 162 int rc; local 220 int i, rc, eob; local 565 int rc = vp8_default_zig_zag1d[i]; local [all...] |
/external/chromium_org/third_party/opus/src/silk/float/ |
H A D | burg_modified_FLP.c | 49 double C0, invGain, num, nrg_f, nrg_b, rc, Atmp, tmp1, tmp2; local 117 rc = -2.0 * num / ( nrg_f + nrg_b ); 118 silk_assert( rc > -1.0 && rc < 1.0 ); 121 tmp1 = invGain * ( 1.0 - rc * rc ); 124 rc = sqrt( 1.0 - minInvGain / invGain ); 127 rc = -rc; 139 Af[ k ] = tmp1 + rc * tmp [all...] |
/external/libopus/silk/float/ |
H A D | burg_modified_FLP.c | 49 double C0, invGain, num, nrg_f, nrg_b, rc, Atmp, tmp1, tmp2; local 117 rc = -2.0 * num / ( nrg_f + nrg_b ); 118 silk_assert( rc > -1.0 && rc < 1.0 ); 121 tmp1 = invGain * ( 1.0 - rc * rc ); 124 rc = sqrt( 1.0 - minInvGain / invGain ); 127 rc = -rc; 139 Af[ k ] = tmp1 + rc * tmp [all...] |
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.hpp | 44 namespace rc namespace in namespace:sglr 428 rc::DataBuffer* bufferBinding; 435 rc::DataBuffer* m_elementArrayBufferBinding; 548 } // rc 770 void deleteTexture (rc::Texture* texture); 771 void deleteFramebuffer (rc::Framebuffer* framebuffer); 772 void deleteRenderbuffer (rc::Renderbuffer* renderbuffer); 773 void deleteBuffer (rc::DataBuffer* buffer); 774 void deleteVertexArray (rc::VertexArray* vertexArray); 775 void deleteProgramObject (rc [all...] |
/external/chromium_org/pdf/ |
H A D | page_indicator.cc | 36 pp::Rect rc; local 37 bool res = Control::Create(id, rc, visible, delegate); 44 pp::Rect rc(origin, background_.size()); 45 Control::SetRect(rc, false); 55 void PageIndicator::Paint(pp::ImageData* image_data, const pp::Rect& rc) { argument 59 pp::Rect draw_rc = rc.Intersect(rect());
|
/external/chromium_org/third_party/sqlite/src/tool/ |
H A D | rollback-test.c | 29 int rc; local 31 rc = sqlite3_open(zFilename, &db); 32 if( rc ){ 62 int rc; local 64 rc = sqlite3_exec(db, zSql, execCallback, 0, &zErr); 69 if( rc ){
|