Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 126) sorted by relevance

123456

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Difdef.py54 ok = 1
65 if ok: fpo.write(line)
71 if ok: fpo.write(line)
80 stack.append((ok, ko, word))
81 if not ko: ok = 0
83 stack.append((ok, not ko, word))
84 if ko: ok = 0
86 stack.append((ok, -1, word))
87 if ok: fpo.write(line)
89 stack.append((ok, -1, ''))
[all …]
Dlinktree.py67 ok = 1
71 ok = 0
72 if ok:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/
Dpyversioncheck.py18 ok, newversion, fp = checkonly(package, url, version, verbose)
20 return ok
21 if ok < 0:
23 elif ok == 1:
33 return ok
39 ok, newversion, fp = _check1version(package, url, version, verbose)
42 ok, newversion, fp = _check1version(package, u, version, verbose)
43 if ok >= 0 and verbose < VERBOSE_CHECKALL:
45 return ok, newversion, fp
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DConvertUni.py41 self.ok = True
44 self.ok = False
50 self.ok &= self.convert_one_file(path)
51 if not self.ok:
54 if not self.ok:
57 self.ok &= self.convert_one_file(source)
108 self.ok = True
112 if self.ok:
118 self.ok &= ConvertOneArg(self.utf8, arg).ok
DPatchCheck.py36 self.ok = True
56 if self.ok:
62 if not self.ok:
66 if self.ok and Verbose.level > Verbose.ONELINE:
68 self.ok = False
240 self.ok = True
255 if self.ok:
293 ok = False
296 ok = True
297 if not ok:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dparsermodule.c306 int ok; in parser_st2tuple() local
311 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|OO:st2tuple", keywords, in parser_st2tuple()
316 ok = PyArg_ParseTupleAndKeywords(args, kw, "|OO:totuple", &keywords[1], in parser_st2tuple()
318 if (ok != 0) { in parser_st2tuple()
358 int ok; in parser_st2list() local
363 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|OO:st2list", keywords, in parser_st2list()
367 ok = PyArg_ParseTupleAndKeywords(args, kw, "|OO:tolist", &keywords[1], in parser_st2list()
369 if (ok) { in parser_st2list()
410 int ok; in parser_compilest() local
415 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|s:compilest", keywords, in parser_compilest()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dconfig.py187 ok = 1
191 ok = 0
194 return ok
233 ok = 1
235 ok = 0
237 log.info(ok and "success!" or "failure.")
239 return ok
252 ok = 1
254 ok = 0
256 log.info(ok and "success!" or "failure.")
[all …]
/device/google/trout/hal/vehicle/2.0/garage_mode_helper/
Dhelper.cpp42 int ok = connect(fd, (struct sockaddr*)&addr, sizeof(addr)); in main() local
43 if (ok < 0) { in main()
48 ok = write(fd, argv[2], strlen(argv[2])); in main()
49 if (ok < 0) { in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dparsermodule.c337 int ok; in parser_st2tuple() local
342 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|OO:st2tuple", keywords, in parser_st2tuple()
347 ok = PyArg_ParseTupleAndKeywords(args, kw, "|OO:totuple", &keywords[1], in parser_st2tuple()
349 if (ok != 0) { in parser_st2tuple()
393 int ok; in parser_st2list() local
398 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|OO:st2list", keywords, in parser_st2list()
402 ok = PyArg_ParseTupleAndKeywords(args, kw, "|OO:tolist", &keywords[1], in parser_st2list()
404 if (ok) { in parser_st2list()
449 int ok; in parser_compilest() local
454 ok = PyArg_ParseTupleAndKeywords(args, kw, "O!|s:compilest", keywords, in parser_compilest()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dboolobject.c38 PyObject *PyBool_FromLong(long ok) in PyBool_FromLong() argument
42 if (ok) in PyBool_FromLong()
57 long ok; in bool_new() local
61 ok = PyObject_IsTrue(x); in bool_new()
62 if (ok < 0) in bool_new()
64 return PyBool_FromLong(ok); in bool_new()
Diterobject.c179 int ok; in calliter_iternext() local
180 ok = PyObject_RichCompareBool(result, in calliter_iternext()
183 if (ok == 0) in calliter_iternext()
186 if (ok > 0) { in calliter_iternext()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dboolobject.c38 PyObject *PyBool_FromLong(long ok) in PyBool_FromLong() argument
42 if (ok) in PyBool_FromLong()
57 long ok; in bool_new() local
61 ok = PyObject_IsTrue(x); in bool_new()
62 if (ok < 0) in bool_new()
64 return PyBool_FromLong(ok); in bool_new()
Diterobject.c179 int ok; in calliter_iternext() local
180 ok = PyObject_RichCompareBool(result, in calliter_iternext()
183 if (ok == 0) in calliter_iternext()
186 if (ok > 0) { in calliter_iternext()
/device/google/trout/hal/common/agl/watchdog/test/
Dservice.cpp26 const bool ok = (mCounter <= 3); in IsHealthy() local
27 fprintf(stderr, "watchdog health: %d %s\n", mCounter, (ok ? "true" : "false")); in IsHealthy()
28 return ok; in IsHealthy()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_threadedtempfile.py59 ok = 0
63 ok += t.ok_count
69 msg = "Errors: errors %d ok %d\n%s" % (len(errors), ok,
72 self.assertEqual(ok, NUM_THREADS * FILES_PER_THREAD)
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dns_ntoa.c87 int ok = 0; in spectHex() local
96 ok = 1; in spectHex()
101 if (nonzero && !ok) { *p++ = 'H'; *p = 0; } in spectHex()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dabc.py161 ok = cls.__subclasshook__(subclass)
162 if ok is not NotImplemented:
163 assert isinstance(ok, bool)
164 if ok:
168 return ok
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dabc.py161 ok = cls.__subclasshook__(subclass)
162 if ok is not NotImplemented:
163 assert isinstance(ok, bool)
164 if ok:
168 return ok
/device/generic/goldfish/gnss/
Dgnss_hw_conn.cpp56 if (!m_devFd.ok()) { in GnssHwConn()
82 bool GnssHwConn::ok() const { in ok() function in goldfish::GnssHwConn
87 return ok() && sendWorkerThreadCommand(kCMD_START); in start()
91 return ok() && sendWorkerThreadCommand(kCMD_STOP); in stop()
96 if (!epollFd.ok()) { in workerThread()
/device/google/trout/hal/audiocontrol/2.0/libandroid_audio_controller_test/
Dmain.cpp106 int ok = aafc_init_audio_focus_controller(server_addr.c_str()); in main() local
107 if (ok != 0) { in main()
108 error("server connection failed", ok); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Dcmptree.py110 ok = 'y'
112 ok = ask(pr, "y")
113 if ok[:1] in ('y', 'Y'):
156 ok = 0
159 ok = 1
162 if not ok:
Dserver.py55 ok = 1
56 while ok:
59 ok = self._dorequest(rf, wf)
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/X64/
DRdRand.asm34 ; CF=1 if RN generated ok, otherwise CF=0
53 ; CF=1 if RN generated ok, otherwise CF=0
72 ; CF=1 if RN generated ok, otherwise CF=0
/device/google/trout/hal/common/android/watchdog/
DBaseWatchdogClient.cpp44 return ndk::ScopedAStatus::ok(); in checkIfAlive()
48 return ndk::ScopedAStatus::ok(); in prepareProcessTermination()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
DRdRand.asm37 ; CF=1 if RN generated ok, otherwise CF=0
57 ; CF=1 if RN generated ok, otherwise CF=0
77 ; CF=1 if RN generated ok, otherwise CF=0

123456