Home
last modified time | relevance | path

Searched refs:what (Results 1 – 25 of 149) sorted by relevance

123456

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_pep292.py26 self.assertEqual(s.substitute(dict(who='tim', what='ham')),
32 d = dict(who='tim', what='ham', meal='dinner')
35 dict(who='tim', what='ham'))
40 eq(s.substitute(dict(who='tim', what='ham')),
43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $')
72 eq(s.safe_substitute(dict(what='ham')), '$who likes ham for ${meal}')
73 eq(s.safe_substitute(dict(what='ham', meal='dinner')),
75 eq(s.safe_substitute(dict(who='tim', what='ham')),
77 eq(s.safe_substitute(dict(who='tim', what='ham', meal='dinner')),
96 m.bag.what = 'ham'
[all …]
Dtest_print.py117 def write(self, what): argument
118 if self.force_unicode and not isinstance(what, unicode):
119 raise AssertionError("{0!r} is not unicode".format(what))
120 self.buf.append(what)
Dtest_hotshot.py54 what, (filename, lineno, funcname), tdelta = event
55 L.append((what, (shortfilename(filename), lineno, funcname)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/
Dlog.py98 what, tdelta, fileno, lineno = self._nextitem()
102 if what == WHAT_ENTER:
106 return what, t, tdelta
108 if what == WHAT_EXIT:
110 return what, self._pop(), tdelta
114 if what == WHAT_LINENO:
116 return what, (filename, lineno, funcname), tdelta
118 if what == WHAT_DEFINE_FILE:
121 elif what == WHAT_DEFINE_FUNC:
124 elif what == WHAT_ADD_INFO:
Dstats.py30 what, (filename, lineno, funcname), tdelta = event
39 if what == ENTER:
44 elif what == EXIT:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfixdiv.py197 filename, lineno, what = m.groups()
201 list.append((int(lineno), intern(what)))
258 for lineno, what in warnings:
259 if what in ("int", "long"):
260 intlong.append(what)
261 elif what in ("float", "complex"):
262 floatcomplex.append(what)
264 bad.append(what)
296 for row, what in warnings:
300 lastblock.append(what)
/device/google/crosshatch-sepolicy/vendor/google/
Dsmall_hals.te12 # easier to see what rules are needed for what HAL.
25 # easier to see what rules are needed for what HAL.
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dldebug.c183 ar->what = "C"; in funcinfo()
190 ar->what = (ar->linedefined == 0) ? "main" : "Lua"; in funcinfo()
215 static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar, in auxgetinfo() argument
218 for (; *what; what++) { in auxgetinfo()
219 switch (*what) { in auxgetinfo()
266 LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) { in lua_getinfo() argument
272 if (*what == '>') { in lua_getinfo()
276 what++; /* skip the '>' */ in lua_getinfo()
285 status = auxgetinfo(L, what, ar, cl, ci); in lua_getinfo()
286 if (strchr(what, 'f')) { in lua_getinfo()
[all …]
Dlmem.c47 int limit, const char *what) { in luaM_growaux_() argument
52 luaG_runerror(L, "too many %s (limit is %d)", what, limit); in luaM_growaux_()
Dlauxlib.c86 else if (*ar->what == 'm') /* main? */ in pushfuncname()
88 else if (*ar->what == 'C') { in pushfuncname()
234 #define inspectstat(stat,what) \ argument
236 else if (WIFSIGNALED(stat)) { stat = WTERMSIG(stat); what = "signal"; }
240 #define inspectstat(stat,what) /* no op */ argument
248 const char *what = "exit"; /* type of termination */ in luaL_execresult() local
252 inspectstat(stat, what); /* interpret result */ in luaL_execresult()
253 if (*what == 'e' && stat == 0) /* successful termination? */ in luaL_execresult()
257 lua_pushstring(L, what); in luaL_execresult()
587 static int errfile (lua_State *L, const char *what, int fnameindex) { in errfile() argument
[all …]
Dlmem.h54 const char *what);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
DRCSProxy.py185 what = sys.argv[1]
186 if hasattr(proxy, what):
187 attr = getattr(proxy, what)
193 print "%s: no such attribute" % what
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dcmd.py209 def _ensure_stringlike(self, option, what, default=None): argument
216 "'%s' must be a %s (got `%s`)" % (option, what, val)
254 what, error_fmt, default=None): argument
255 val = self._ensure_stringlike(option, what, default)
Dfancy_getopt.py120 def _check_alias_dict (self, aliases, what): argument
126 "option '%s' not defined") % (what, alias, alias)
130 "aliased option '%s' not defined") % (what, alias, opt)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dimghdr.py9 def what(file, h=None): function
159 print what(filename)
Dsndhdr.py35 def what(filename): function
223 print what(filename)
Dmodulefinder.py401 for what, args in scanner(co):
402 if what == "store":
405 elif what in ("import", "absolute_import"):
412 if what == "absolute_import": level = 0
434 elif what == "relative_import":
443 raise RuntimeError(what)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/
Dimage.py41 _subtype = imghdr.what(None, _imagedata)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_hotshot.c389 int what; in logreader_tp_iternext() local
413 what = c & WHAT_OTHER; in logreader_tp_iternext()
414 if (what == WHAT_OTHER) in logreader_tp_iternext()
415 what = c; /* need all the bits for type */ in logreader_tp_iternext()
419 switch (what) { in logreader_tp_iternext()
487 PyTuple_SET_ITEM(result, 0, PyInt_FromLong(what)); in logreader_tp_iternext()
506 what = PyTrace_LINE; in logreader_tp_iternext()
511 what = (b0 & 0x0E) >> 1; in logreader_tp_iternext()
513 if (what == PyTrace_CALL) { in logreader_tp_iternext()
859 tracer_callback(ProfilerObject *self, PyFrameObject *frame, int what, in tracer_callback() argument
[all …]
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc-future/
Dhwcomposer.cpp208 int hwc_query(struct hwc_composer_device_1* dev, int what, int* value) { in hwc_query() argument
210 switch (what) { in hwc_query()
224 ALOGE("%s badness unsupported query what=%d", __FUNCTION__, what); in hwc_query()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregsyntax.c288 unsigned int what, OnigCodePoint code) in onig_set_meta_char() argument
290 switch (what) { in onig_set_meta_char()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dmodulefinder.py401 for what, args in scanner(co):
402 if what == "store":
405 elif what in ("import", "absolute_import"):
412 if what == "absolute_import": level = 0
434 elif what == "relative_import":
443 raise RuntimeError(what)
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc/
Dhwcomposer.cpp313 static int vsoc_hwc_query(vsoc_hwc_device* dev, int what, int* value) { argument
317 switch (what) {
327 ALOGE("%s badness unsupported query what=%d", __FUNCTION__, what);
/device/google/cuttlefish_common/guest/hals/hwcomposer/cutf_cvm/
Dhwcomposer.cpp305 static int vsoc_hwc_query(vsoc_hwc_device* dev, int what, int* value) { argument
309 switch (what) {
319 ALOGE("%s badness unsupported query what=%d", __FUNCTION__, what);
/device/google/marlin/sepolicy/
Dhal_bootctl.te27 # Read the sysfs to lookup what /dev/sgN device

123456