Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 688) sorted by relevance

12345678910>>...28

/device/google/marlin/camera/QCamera2/HAL/
DQCameraStateMachine.cpp353 qcamera_api_result_t result; in procEvtPreviewStoppedState() local
354 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewStoppedState()
361 result.status = rc; in procEvtPreviewStoppedState()
362 result.request_api = evt; in procEvtPreviewStoppedState()
363 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
364 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
376 result.status = rc; in procEvtPreviewStoppedState()
377 result.request_api = evt; in procEvtPreviewStoppedState()
378 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
379 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraStateMachine.cpp341 qcamera_api_result_t result; in procEvtPreviewStoppedState() local
342 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewStoppedState()
349 result.status = rc; in procEvtPreviewStoppedState()
350 result.request_api = evt; in procEvtPreviewStoppedState()
351 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
352 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
364 result.status = rc; in procEvtPreviewStoppedState()
365 result.request_api = evt; in procEvtPreviewStoppedState()
366 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
367 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraStateMachine.cpp341 qcamera_api_result_t result; in procEvtPreviewStoppedState() local
342 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewStoppedState()
349 result.status = rc; in procEvtPreviewStoppedState()
350 result.request_api = evt; in procEvtPreviewStoppedState()
351 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
352 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
364 result.status = rc; in procEvtPreviewStoppedState()
365 result.request_api = evt; in procEvtPreviewStoppedState()
366 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState()
367 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_result.py21 result = unittest.TestResult()
23 self.assertTrue(result.wasSuccessful())
24 self.assertEqual(len(result.errors), 0)
25 self.assertEqual(len(result.failures), 0)
26 self.assertEqual(result.testsRun, 0)
27 self.assertEqual(result.shouldStop, False)
28 self.assertIsNone(result._stdout_buffer)
29 self.assertIsNone(result._stderr_buffer)
36 result = unittest.TestResult()
38 result.stop()
[all …]
Dtest_skipping.py13 result = LoggingResult(events)
15 test.run(result)
17 self.assertEqual(result.skipped, [(test, "skip")])
25 result = LoggingResult(events)
27 test.run(result)
29 self.assertEqual(result.skipped, [(test, "testing")])
30 self.assertEqual(result.testsRun, 1)
46 result = LoggingResult(events)
47 suite.run(result)
48 self.assertEqual(len(result.skipped), 1)
[all …]
Dtest_break.py42 result = unittest.TestResult()
43 unittest.registerResult(result)
46 if ref is result:
48 elif ref is not result:
57 result = unittest.TestResult()
59 unittest.registerResult(result)
63 def test(result): argument
66 result.breakCaught = True
67 self.assertTrue(result.shouldStop)
70 test(result)
[all …]
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Dcore_cmSimd.h137 uint32_t result;
139 __ASM volatile ("sadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) );
140 return(result);
145 uint32_t result;
147 __ASM volatile ("qadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) );
148 return(result);
153 uint32_t result;
155 __ASM volatile ("shadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) );
156 return(result);
161 uint32_t result;
[all …]
Dcore_cmInstr.h472 uint32_t result; in __REV()
474 __ASM volatile ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REV()
475 return(result); in __REV()
489 uint32_t result; in __REV16() local
491 __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REV16()
492 return(result); in __REV16()
508 uint32_t result; in __REVSH()
510 __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REVSH()
511 return(result); in __REVSH()
552 uint32_t result; in __RBIT() local
[all …]
Dcore_cmFunc.h342 uint32_t result; in __get_CONTROL() local
344 __ASM volatile ("MRS %0, control" : "=r" (result) ); in __get_CONTROL()
345 return(result); in __get_CONTROL()
369 uint32_t result; in __get_IPSR() local
371 __ASM volatile ("MRS %0, ipsr" : "=r" (result) ); in __get_IPSR()
372 return(result); in __get_IPSR()
384 uint32_t result; in __get_APSR() local
386 __ASM volatile ("MRS %0, apsr" : "=r" (result) ); in __get_APSR()
387 return(result); in __get_APSR()
399 uint32_t result; in __get_xPSR() local
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_commands.c41 int result = 0; in tuneserver_initialize_prevtuningp() local
51 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp()
54 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp()
61 return result; in tuneserver_initialize_prevtuningp()
67 int result = 0; in tuneserver_deinitialize_prevtuningp() local
72 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_deinitialize_prevtuningp()
75 return result; in tuneserver_deinitialize_prevtuningp()
80 int result = 0; in tuneserver_preview_getinfo() local
84 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_preview_getinfo()
87 return result; in tuneserver_preview_getinfo()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_commands.c41 int result = 0; in tuneserver_initialize_prevtuningp() local
51 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp()
54 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp()
61 return result; in tuneserver_initialize_prevtuningp()
67 int result = 0; in tuneserver_deinitialize_prevtuningp() local
72 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_deinitialize_prevtuningp()
75 return result; in tuneserver_deinitialize_prevtuningp()
80 int result = 0; in tuneserver_preview_getinfo() local
84 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_preview_getinfo()
87 return result; in tuneserver_preview_getinfo()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_commands.c41 int result = 0; in tuneserver_initialize_prevtuningp() local
51 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp()
54 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp()
61 return result; in tuneserver_initialize_prevtuningp()
67 int result = 0; in tuneserver_deinitialize_prevtuningp() local
72 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_deinitialize_prevtuningp()
75 return result; in tuneserver_deinitialize_prevtuningp()
80 int result = 0; in tuneserver_preview_getinfo() local
84 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_preview_getinfo()
87 return result; in tuneserver_preview_getinfo()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
Dio_storage.c60 int result = (dev_con != NULL) && (dev_con->dev_open != NULL); in is_valid_dev_connector() local
61 return result; in is_valid_dev_connector()
69 int result = (dev != NULL) && (dev->funcs != NULL) && in is_valid_dev() local
72 return result; in is_valid_dev()
80 int result = (entity != NULL) && in is_valid_entity() local
82 return result; in is_valid_entity()
99 int result = IO_FAIL; in dev_open() local
103 result = dev_con->dev_open(dev_spec, dev_info); in dev_open()
104 return result; in dev_open()
119 int result = IO_FAIL; in find_first_entity() local
[all …]
Dio_fip.c203 int result = IO_FAIL; in fip_dev_init() local
210 result = plat_get_image_source(image_name, &backend_dev_handle, in fip_dev_init()
212 if (result != IO_SUCCESS) { in fip_dev_init()
214 image_name, result); in fip_dev_init()
215 result = IO_FAIL; in fip_dev_init()
220 result = io_open(backend_dev_handle, backend_image_spec, in fip_dev_init()
222 if (result != IO_SUCCESS) { in fip_dev_init()
223 WARN("Failed to access image '%s' (%i)\n", image_name, result); in fip_dev_init()
224 result = IO_FAIL; in fip_dev_init()
228 result = io_read(backend_handle, (uintptr_t)&header, sizeof(header), in fip_dev_init()
[all …]
Dio_semihosting.c87 int result = IO_SUCCESS; in sh_dev_open() local
90 return result; in sh_dev_open()
98 int result = IO_FAIL; in sh_file_open() local
109 result = IO_SUCCESS; in sh_file_open()
111 result = IO_FAIL; in sh_file_open()
113 return result; in sh_file_open()
120 int result = IO_FAIL; in sh_file_seek() local
129 result = (sh_result == 0) ? IO_SUCCESS : IO_FAIL; in sh_file_seek()
131 return result; in sh_file_seek()
138 int result = IO_FAIL; in sh_file_len() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dsuite.py62 def run(self, result): argument
64 if result.shouldStop:
66 test(result)
67 return result
88 def run(self, result, debug=False): argument
90 if getattr(result, '_testRunEntered', False) is False:
91 result._testRunEntered = topLevel = True
94 if result.shouldStop:
98 self._tearDownPreviousClass(test, result)
99 self._handleModuleFixture(test, result)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_urllib.py253 result = urllib.urlretrieve("file:%s" % test_support.TESTFN)
254 self.assertEqual(result[0], test_support.TESTFN)
255 self.assertIsInstance(result[1], mimetools.Message,
263 result = urllib.urlretrieve(self.constructLocalFileUrl(
265 self.assertEqual(second_temp, result[0])
362 result = urllib.quote(do_not_quote)
363 self.assertEqual(do_not_quote, result,
364 "using quote(): %s != %s" % (do_not_quote, result))
365 result = urllib.quote_plus(do_not_quote)
366 self.assertEqual(do_not_quote, result,
[all …]
Dtest_sax.py160 result = StringIO()
161 gen = XMLGenerator(result)
167 self.assertEqual(result.getvalue(), start + "<doc></doc>")
170 result = StringIO()
171 gen = XMLGenerator(result)
179 self.assertEqual(result.getvalue(), start + "<doc>huhei</doc>")
182 result = StringIO()
183 gen = XMLGenerator(result)
191 self.assertEqual(result.getvalue(), start + "<?test data?><doc></doc>")
194 result = StringIO()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dplat_io_storage.c191 int result = IO_FAIL; in open_loader_mem() local
194 result = io_dev_init(loader_mem_dev_handle, bl1_mem_init_params); in open_loader_mem()
195 if (result == IO_SUCCESS) { in open_loader_mem()
196 result = io_open(loader_mem_dev_handle, spec, &image_handle); in open_loader_mem()
197 if (result == IO_SUCCESS) { in open_loader_mem()
201 return result; in open_loader_mem()
206 int result = IO_FAIL; in open_fip() local
209 result = io_dev_init(fip_dev_handle, (uintptr_t)FIP_IMAGE_NAME); in open_fip()
210 if (result == IO_SUCCESS) { in open_fip()
214 return result; in open_fip()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementPath.py98 def select(context, result): argument
99 for elem in result:
106 def select(context, result): argument
107 for elem in result:
113 def select(context, result): argument
114 for elem in result:
126 def select(context, result): argument
127 for elem in result:
134 def select(context, result): argument
138 for elem in result:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementPath.py98 def select(context, result): argument
99 for elem in result:
106 def select(context, result): argument
107 for elem in result:
113 def select(context, result): argument
114 for elem in result:
126 def select(context, result): argument
127 for elem in result:
134 def select(context, result): argument
138 for elem in result:
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/
Dfvp_io_storage.c228 int result = IO_FAIL; in open_fip() local
231 result = io_dev_init(fip_dev_handle, (uintptr_t)FIP_IMAGE_NAME); in open_fip()
232 if (result == IO_SUCCESS) { in open_fip()
236 return result; in open_fip()
242 int result = IO_FAIL; in open_memmap() local
245 result = io_dev_init(memmap_dev_handle, memmap_init_params); in open_memmap()
246 if (result == IO_SUCCESS) { in open_memmap()
247 result = io_open(memmap_dev_handle, spec, &local_image_handle); in open_memmap()
248 if (result == IO_SUCCESS) { in open_memmap()
253 return result; in open_memmap()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/
Dmsisupport.c27 UINT result; in CheckDir() local
32 result = MsiGetPropertyW(hInstall, L"TARGETDIR", wpath, &size); in CheckDir()
33 if (result != ERROR_SUCCESS) in CheckDir()
34 return result; in CheckDir()
55 UINT result; in UpdateEditIDLE() local
57 result = MsiGetFeatureStateA(hInstall, "Extensions", &ext_old, &ext_new); in UpdateEditIDLE()
58 if (result != ERROR_SUCCESS) in UpdateEditIDLE()
59 return result; in UpdateEditIDLE()
60 result = MsiGetFeatureStateA(hInstall, "TclTk", &tcl_old, &tcl_new); in UpdateEditIDLE()
61 if (result != ERROR_SUCCESS) in UpdateEditIDLE()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dbytes_methods.c247 _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len) in _Py_bytes_lower() argument
259 Py_MEMCPY(result, cptr, len); in _Py_bytes_lower()
262 int c = Py_CHARMASK(result[i]); in _Py_bytes_lower()
264 result[i] = Py_TOLOWER(c); in _Py_bytes_lower()
275 _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len) in _Py_bytes_upper() argument
287 Py_MEMCPY(result, cptr, len); in _Py_bytes_upper()
290 int c = Py_CHARMASK(result[i]); in _Py_bytes_upper()
292 result[i] = Py_TOUPPER(c); in _Py_bytes_upper()
304 _Py_bytes_title(char *result, char *s, Py_ssize_t len) in _Py_bytes_title() argument
327 *result++ = c; in _Py_bytes_title()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dbytes_methods.c247 _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len) in _Py_bytes_lower() argument
259 Py_MEMCPY(result, cptr, len); in _Py_bytes_lower()
262 int c = Py_CHARMASK(result[i]); in _Py_bytes_lower()
264 result[i] = Py_TOLOWER(c); in _Py_bytes_lower()
275 _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len) in _Py_bytes_upper() argument
287 Py_MEMCPY(result, cptr, len); in _Py_bytes_upper()
290 int c = Py_CHARMASK(result[i]); in _Py_bytes_upper()
292 result[i] = Py_TOUPPER(c); in _Py_bytes_upper()
304 _Py_bytes_title(char *result, char *s, Py_ssize_t len) in _Py_bytes_title() argument
327 *result++ = c; in _Py_bytes_title()
[all …]

12345678910>>...28