Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 61) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcompileall.py42 success = 1
51 success = 0
58 success = 0
59 return success
72 success = 1
81 return success
93 return success
104 success = 0
107 success = 0
110 success = 0
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcompileall.py42 success = 1
51 success = 0
58 success = 0
59 return success
72 success = 1
81 return success
93 return success
104 success = 0
107 success = 0
110 success = 0
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dthread_cthread.h32 int success = 0; /* init not needed when SOLARIS_THREADS and */ in PyThread_start_new_thread() local
42 return success < 0 ? -1 : 0; in PyThread_start_new_thread()
94 int success = FALSE; in PyThread_acquire_lock() local
99 success = TRUE; in PyThread_acquire_lock()
101 success = mutex_try_lock((mutex_t)lock); in PyThread_acquire_lock()
103 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
104 return success; in PyThread_acquire_lock()
Dthread_solaris.h109 int success; in PyThread_acquire_lock() local
113 success = mutex_lock((mutex_t *) lock); in PyThread_acquire_lock()
115 success = mutex_trylock((mutex_t *) lock); in PyThread_acquire_lock()
116 if (success < 0) in PyThread_acquire_lock()
119 success = !success; /* solaris does it the other way round */ in PyThread_acquire_lock()
120 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
121 return success; in PyThread_acquire_lock()
Dthread_wince.h28 int success = -1; in PyThread_start_new_thread() local
37 success = 0; in PyThread_start_new_thread()
41 return success; in PyThread_start_new_thread()
102 int success = 1; in PyThread_acquire_lock() local
120 success = 0; /* We failed */ in PyThread_acquire_lock()
123 …ld: PyThread_acquire_lock(%p, %d) -> %d\n", PyThread_get_thread_ident(),aLock, waitflag, success)); in PyThread_acquire_lock()
125 return success; in PyThread_acquire_lock()
Dthread_sgi.h118 int success = 0; /* init not needed when SOLARIS_THREADS and */ in PyThread_start_new_thread() local
129 success = -1; in PyThread_start_new_thread()
147 if ((success = sproc(func, PR_SALL, arg)) < 0) in PyThread_start_new_thread()
157 if (success >= 0) { in PyThread_start_new_thread()
160 pidlist[maxpidindex++].child = success; in PyThread_start_new_thread()
162 maxpidindex-1, success)); in PyThread_start_new_thread()
167 return success; in PyThread_start_new_thread()
240 int success; in PyThread_acquire_lock() local
245 success = ussetlock((ulock_t) lock); in PyThread_acquire_lock()
247 success = uscsetlock((ulock_t) lock, 1); /* Try it once */ in PyThread_acquire_lock()
[all …]
Dthread_lwp.h32 int success; in PyThread_start_new_thread() local
36 success = lwp_create(&tid, func, MINPRIO, 0, lwp_newstk(), 1, arg); in PyThread_start_new_thread()
37 return success < 0 ? -1 : 0; in PyThread_start_new_thread()
87 int success; in PyThread_acquire_lock() local
90 success = 0; in PyThread_acquire_lock()
97 success = 1; in PyThread_acquire_lock()
102 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
103 return success; in PyThread_acquire_lock()
Dthread_foobar.h16 int success = 0; /* init not needed when SOLARIS_THREADS and */ in PyThread_start_new_thread() local
22 return success < 0 ? -1 : 0; in PyThread_start_new_thread()
64 int success; in PyThread_acquire_lock() local
67 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
68 return success; in PyThread_acquire_lock()
Dthread_pth.h125 int success; in PyThread_acquire_lock() local
133 success = thelock->locked == 0; in PyThread_acquire_lock()
134 if (success) thelock->locked = 1; in PyThread_acquire_lock()
138 if ( !success && waitflag ) { in PyThread_acquire_lock()
153 success = 1; in PyThread_acquire_lock()
155 if (error) success = 0; in PyThread_acquire_lock()
156 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
157 return success; in PyThread_acquire_lock()
Dthread_pthread.h313 int success; in PyThread_acquire_lock() local
332 success = (status == 0) ? 1 : 0; in PyThread_acquire_lock()
334 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
335 return success; in PyThread_acquire_lock()
408 int success; in PyThread_acquire_lock() local
416 success = thelock->locked == 0; in PyThread_acquire_lock()
418 if ( !success && waitflag ) { in PyThread_acquire_lock()
428 success = 1; in PyThread_acquire_lock()
430 if (success) thelock->locked = 1; in PyThread_acquire_lock()
434 if (error) success = 0; in PyThread_acquire_lock()
[all …]
Dthread_beos.h117 status_t success = 0; in PyThread_start_new_thread() local
132 success = resume_thread( tid ); in PyThread_start_new_thread()
135 return ( success == B_NO_ERROR ? tid : -1 ); in PyThread_start_new_thread()
214 int success; in PyThread_acquire_lock() local
226 success = 1; in PyThread_acquire_lock()
228 success = 0; in PyThread_acquire_lock()
233 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); in PyThread_acquire_lock()
234 return success; in PyThread_acquire_lock()
Dthread_atheos.h101 status_t success = -1; in PyThread_start_new_thread() local
115 success = resume_thread(tid); in PyThread_start_new_thread()
116 if (success < 0) { in PyThread_start_new_thread()
121 return (success < 0 ? -1 : tid); in PyThread_start_new_thread()
Dthread_nt.h244 int success ; in PyThread_acquire_lock() local
248success = aLock && EnterNonRecursiveMutex((PNRMUTEX) aLock, (waitflag ? INFINITE : 0)) == WAIT_OBJ… in PyThread_acquire_lock()
250 …ld: PyThread_acquire_lock(%p, %d) -> %d\n", PyThread_get_thread_ident(),aLock, waitflag, success)); in PyThread_acquire_lock()
252 return success; in PyThread_acquire_lock()
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp168 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in CalibrateSensors() local
172 if (success) { in CalibrateSensors()
173 success = SaveCalibration(); in CalibrateSensors()
175 return success; in CalibrateSensors()
179 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in TestSensors() local
183 return success; in TestSensors()
248 bool success = true; in DisableAllSensors() local
251 success &= DisableSensor(sensor_names_[i].sensor_type); in DisableAllSensors()
254 return success; in DisableAllSensors()
258 bool success = true; in DisableActiveSensors() local
[all …]
Dandroidcontexthub.cpp82 bool success = true; in GetCalibrationBytes() local
92 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes()
98 success = json->getFloat(key, &value); in GetCalibrationBytes()
99 if (success) { in GetCalibrationBytes()
108 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes()
109 if (!success) { in GetCalibrationBytes()
111 success = json->getInt32(key, &value); in GetCalibrationBytes()
112 if (success) { in GetCalibrationBytes()
124 success = false; in GetCalibrationBytes()
127 return success; in GetCalibrationBytes()
[all …]
Dnanotool.cpp439 bool success = true; in main() local
442 success = hub->DisableSensors(args->sensors); in main()
445 success = hub->DisableAllSensors(); in main()
456 success = hub->EnableSensors(args->sensors); in main()
457 if (success) { in main()
464 success = hub->CalibrateSensors(args->sensors); in main()
469 success = hub->TestSensors(args->sensors); in main()
473 success = hub->LoadCalibration(); in main()
477 success = hub->Flash(args->filename); in main()
481 success = hub->PrintBridgeVersion(); in main()
[all …]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_debug.c437 sym_ston(const struct res_sym *syms, const char *name, int *success) { in sym_ston() argument
440 if (success) in sym_ston()
441 *success = 1; in sym_ston()
445 if (success) in sym_ston()
446 *success = 0; in sym_ston()
451 sym_ntos(const struct res_sym *syms, int number, int *success) { in sym_ntos() argument
456 if (success) in sym_ntos()
457 *success = 1; in sym_ntos()
463 if (success) in sym_ntos()
464 *success = 0; in sym_ntos()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dliolib.c426 int success; in g_read() local
430 success = read_line(L, f, 1); in g_read()
435 success = 1; in g_read()
436 for (n = first; nargs-- && success; n++) { in g_read()
439 success = (l == 0) ? test_eof(L, f) : read_chars(L, f, l); in g_read()
446 success = read_number(L, f); in g_read()
449 success = read_line(L, f, 1); in g_read()
452 success = read_line(L, f, 0); in g_read()
456 success = 1; /* always success */ in g_read()
466 if (!success) { in g_read()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
DIgdOMOBF.ASL105 // Sleep for ASLP milliseconds if the status is not "success,
120 ;* status. If all methods return success, do a notification of
134 ;* Output: Returns 0 = success, 1 = failure
174 Return(0x0) // Return success
190 ;* Output: Returns 0 = success, 1 = failure.
223 ;* Output: Returns 0=success, 1=failure.
253 ;* Output: Returns 0=success, 1=failure.
287 ;* Output: Returns 0 = success, 1 = failure.
333 ;* Output: Returns 0 = success, 1 = failure
460 Return(0x0) // Return success
/device/linaro/bootloader/edk2/BaseTools/Source/C/Makefiles/
DNmakeSubdirs.bat21 if "%1"=="" goto success
36 :success label
/device/google/contexthub/firmware/os/inc/
DnanohubPacket.h373 uint8_t success; member
389 uint8_t success; member
398 uint8_t success; member
/device/linaro/bootloader/edk2/ArmPlatformPkg/Scripts/Ds5/
Dedk2_debugger.py71 success = True
76 success = False
77 return success
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dsetlocale.c374 goto success; in loadlocale()
394 success: in loadlocale()
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.h50 bool success) = 0;
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp112 bool success = false; in init_inotify() local
123 success = true; in init_inotify()
126 return success; in init_inotify()

123