Searched defs:err (Results 1 - 25 of 313) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_header.cpp120 ERROR_CODE err = NO_DECODING_ERROR; local
139 err = pvmp3_header_sync(inputStream);
141 if (err != NO_DECODING_ERROR)
143 return err;
163 err = UNSUPPORTED_LAYER;
189 err = UNSUPPORTED_FREE_BITRATE;
192 return(err);
/frameworks/native/libs/gui/
H A DLayerState.cpp27 status_t err; local
29 err = output.write(transparentRegion);
30 if (err < NO_ERROR) return err;
35 err = output.write(this, size);
36 return err;
41 status_t err; local
43 err = input.read(transparentRegion);
44 if (err < NO_ERROR) return err;
[all...]
H A DBitTube.cpp98 ssize_t err, len; local
101 err = len < 0 ? errno : 0;
102 } while (err == EINTR);
103 return err == 0 ? len : -err;
109 ssize_t err, len;
112 err = len < 0 ? errno : 0;
113 } while (err == EINTR);
114 if (err == EAGAIN || err
[all...]
/frameworks/native/services/surfaceflinger/tests/waitforvsync/
H A Dwaitforvsync.cpp36 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); local
37 if (err < 0) {
/frameworks/av/libvideoeditor/vss/src/
H A DM4PTO3GPP_VideoPreProcessing.c64 M4OSA_ERR err; local
83 err = pC->m_Params.pPictureCallbackFct(pC->m_Params.pPictureCallbackCtxt, pPlaneOut,
87 if((M4NO_ERROR != err) && (((M4OSA_UInt32)M4PTO3GPP_WAR_LAST_PICTURE) != err))
89 return err;
99 err = M4PTO3GPP_WAR_LAST_PICTURE;
102 if(((M4OSA_UInt32)M4PTO3GPP_WAR_LAST_PICTURE) == err)
/frameworks/av/media/libstagefright/
H A DSampleIterator.cpp78 status_t err; local
79 if ((err = findChunkRange(sampleIndex)) != OK) {
81 return err;
94 status_t err;
95 if ((err = getChunkOffset(chunk, &mCurrentChunkOffset)) != OK) {
97 return err;
108 if ((err = getSampleSizeDirect(
111 return err;
135 status_t err;
136 if ((err
[all...]
/frameworks/compile/libbcc/runtime/test/timing/
H A Dtiming.h13 kern_return_t err = mach_timebase_info( &info ); local
14 if( 0 != err )
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DPowerHAL.cpp29 int err = hw_get_module(POWER_HARDWARE_MODULE_ID, local
31 ALOGW_IF(err, "%s module not found", POWER_HARDWARE_MODULE_ID);
/frameworks/native/services/surfaceflinger/
H A DSurfaceTextureLayer.cpp38 status_t err = BufferQueue::connect(api, output); local
39 if (err == NO_ERROR) {
48 err = setSynchronousMode(false);
54 err = setSynchronousMode(true);
57 if (err != NO_ERROR) {
61 return err;
/frameworks/native/services/surfaceflinger/tests/screencap/
H A Dscreencap.cpp46 status_t err = composer->captureScreen(display, &heap, &w, &h, &f, 0, 0); local
47 if (err != NO_ERROR) {
48 fprintf(stderr, "screen capture failed: %s\n", strerror(-err));
/frameworks/native/services/surfaceflinger/tests/surface/
H A Dsurface.cpp54 int err = native_window_set_buffer_count(window, 8); local
/frameworks/av/libvideoeditor/osal/src/
H A DM4PSW_DebugTrace.c39 * M4OSA_Char* cond, char* msg, M4OSA_ERR err)
47 * @param err (IN): the return value (error code)
57 M4OSA_ERR err)
68 printf("Error: %li, on %s: %s\n",err,cond,msg);
70 printf("Error: %li, on %s: %s Line %lu in: %s\n",err,cond,msg,line,file);
52 M4OSA_DebugTrace(M4OSA_Int32 line, M4OSA_Char* file, M4OSA_Int32 level, M4OSA_Char* cond, M4OSA_Char* msg, M4OSA_ERR err) argument
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
H A DLVCS_Control.c84 LVCS_ReturnStatus_en err; local
97 err=LVCS_ReverbGeneratorInit(hInstance,pParams);
147 err=LVCS_SEnhancerInit(hInstance,
150 err=LVCS_ReverbGeneratorInit(hInstance,
153 err=LVCS_EqualiserInit(hInstance,
156 err=LVCS_BypassMixInit(hInstance,
180 err=LVCS_BypassMixInit(hInstance,
183 if(err != LVCS_SUCCESS)
185 return err;
213 err
[all...]
H A DLVCS_Process.c78 LVCS_ReturnStatus_en err; local
100 err=LVCS_StereoEnhancer(hInstance, /* Instance handle */
108 err=LVCS_ReverbGenerator(hInstance, /* Instance handle */
116 err=LVCS_Equaliser(hInstance, /* Instance handle */
123 err=LVCS_BypassMixer(hInstance, /* Instance handle */
129 if(err !=LVCS_SUCCESS)
131 return err;
171 LVCS_ReturnStatus_en err; local
189 err=LVCS_Process_CS(hInstance,
293 err
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dq_gain_c.cpp207 Word16 err; local
257 err = ((Word32)gcode0 * *(p++)) >> 15;
258 err = g_q0 - err;
260 if (err < 0)
262 err = -err;
267 if (err < err_min)
269 err_min = err;
H A Dq_gain_p.cpp190 Word16 err; local
202 err = sub(*gain, qua_gain_pitch[i], pOverflow);
203 err = abs_s(err);
205 if (err < err_min)
207 err_min = err;
/frameworks/av/media/libstagefright/tests/
H A DDummyRecorder.cpp46 int err = pthread_create(&mThread, &attr, threadWrapper, this); local
49 if (err) {
64 status_t err = (status_t) dummy; local
67 return err;
77 status_t err = OK; local
80 while (mStarted && (err = mSource->read(&buffer)) == OK){
/frameworks/base/cmds/backup/
H A Dbackup.cpp57 int err; local
79 err = reader.ReadEntityHeader(&key, &dataSize);
80 if (err == 0) {
/frameworks/base/core/jni/
H A Dandroid_graphics_PixelFormat.cpp46 status_t err; local
68 err = getPixelFormatInfo(format, &info);
69 if (err < 0) {
/frameworks/base/tools/aapt/
H A Dprintapk.cpp37 int err; local
93 err = decompress_zipentry(entry, resfile, bufsize);
94 if (err != 0) {
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DSymbolResolvers.cpp40 const char *err = ::dlerror(); local
45 if (err != NULL) {
46 error_length += ::strlen(err);
52 ((err != NULL) ? err : ""));
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp75 int err = service->dump(STDOUT_FILENO, args); local
76 if (err != 0) {
77 aerr << "Error dumping service info: (" << strerror(err)
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp62 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, local
64 EXPECT_EQ(NO_ERROR, err);
73 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, local
75 EXPECT_EQ(NO_ERROR, err);
101 status_t err = native_window_dequeue_buffer_and_wait(anw.get(), &buf); local
102 if (err) {
129 int err = anw->query(anw.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); local
130 EXPECT_EQ(NO_ERROR, err);
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); local
43 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
44 if (err == 0) {
52 status_t err; local
54 err = mAllocMod->registerBuffer(mAllocMod, handle);
56 ALOGW_IF(err, "registerBuffer(%p) failed %d (%s)",
57 handle, err, strerror(-err));
58 return err;
64 status_t err; local
77 status_t err; local
90 status_t err; local
[all...]
/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp54 status_t err = EGLUtils::selectConfigForNativeWindow( local
56 if (err) {

Completed in 673 milliseconds

1234567891011>>