Home
last modified time | relevance | path

Searched refs:gen (Results 1 – 25 of 73) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_random.py19 return [self.gen.random() for i in xrange(n)]
22 self.gen.seed()
23 state1 = self.gen.getstate()
25 self.gen.seed() # diffent seeds at different times
26 state2 = self.gen.getstate()
31 self.gen.seed()
32 state = self.gen.getstate()
34 self.gen.setstate(state) # should regenerate the same sequence
40 self.gen.seed(arg)
42 self.assertRaises(TypeError, self.gen.seed, arg)
[all …]
Dtest_sax.py161 gen = XMLGenerator(result)
162 gen.startDocument()
163 gen.startElement("doc", {})
164 gen.endElement("doc")
165 gen.endDocument()
171 gen = XMLGenerator(result)
173 gen.startDocument()
174 gen.startElement("doc", {})
175 gen.characters("huhei")
176 gen.endElement("doc")
[all …]
Dtest_generators.py967 def gen(i): function
972 for x in gen(i+1):
975 for x in gen(0):
992 def gen(i): function
999 for x in gen(ip1):
1031 for x in gen(0):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dgenobject.c11 gen_traverse(PyGenObject *gen, visitproc visit, void *arg) in gen_traverse() argument
13 Py_VISIT((PyObject *)gen->gi_frame); in gen_traverse()
14 Py_VISIT(gen->gi_code); in gen_traverse()
19 gen_dealloc(PyGenObject *gen) in gen_dealloc() argument
21 PyObject *self = (PyObject *) gen; in gen_dealloc()
23 _PyObject_GC_UNTRACK(gen); in gen_dealloc()
25 if (gen->gi_weakreflist != NULL) in gen_dealloc()
30 if (gen->gi_frame != NULL && gen->gi_frame->f_stacktop != NULL) { in gen_dealloc()
32 Py_TYPE(gen)->tp_del(self); in gen_dealloc()
38 Py_CLEAR(gen->gi_frame); in gen_dealloc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dgenobject.c11 gen_traverse(PyGenObject *gen, visitproc visit, void *arg) in gen_traverse() argument
13 Py_VISIT((PyObject *)gen->gi_frame); in gen_traverse()
14 Py_VISIT(gen->gi_code); in gen_traverse()
19 gen_dealloc(PyGenObject *gen) in gen_dealloc() argument
21 PyObject *self = (PyObject *) gen; in gen_dealloc()
23 _PyObject_GC_UNTRACK(gen); in gen_dealloc()
25 if (gen->gi_weakreflist != NULL) in gen_dealloc()
30 if (gen->gi_frame != NULL && gen->gi_frame->f_stacktop != NULL) { in gen_dealloc()
32 Py_TYPE(gen)->tp_del(self); in gen_dealloc()
38 Py_CLEAR(gen->gi_frame); in gen_dealloc()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dgen.c153 #define gen(s) {tab(); fprintf(output, s);} macro
254 gen("ANTLRTokenPtr ");
321 gen("switch ( _signal ) {\n"); /* MR7 */
322 gen("case NoSignal: break; /* MR7 */\n"); /* MR7 */
330 gen("default :\n");
333 gen("_signal=NoSignal; /* MR7 */\n"); /* MR7 */
334 gen("break; /* MR7 */\n"); /* MR7 */
336 gen("}\n");
341 gen("if (_signal != NoSignal)"); /* MR7 */
353 gen("break; /* MR7 */\n"); /* MR7 */
[all …]
DAntlrPPC.mak11 # gen.c
40 "{ObjDir�PPC}gen.c.x" �
79 "{ObjDir�PPC}gen.c.x" � {�MondoBuild�} gen.c
80 {PPCC} gen.c -o {Targ} {PPCCOptions}
Dmakefile.cygwin179 OBJ=antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o \
188 SRC=antlr.c scan.c err.c bits.c build.c fset2.c fset.c gen.c globals.c \
Dmakefile179 OBJ=antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o \
188 SRC=antlr.c scan.c err.c bits.c build.c fset2.c fset.c gen.c globals.c \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcontextlib.py12 def __init__(self, gen): argument
13 self.gen = gen
17 return self.gen.next()
24 self.gen.next()
35 self.gen.throw(type, value, traceback)
/device/google/contexthub/firmware/build/
Dnanohub_executable.mk33 gen := $(call generated-sources-dir-for,EXECUTABLES,$(LOCAL_MODULE),AUX)
43 linker_script := $(gen)/bl.lkr
45 $(call nano-gen-linker-script,$(linker_script),bl,$(AUX_SUBARCH),stm32f4xx,$(AUX_ARCH))
47 $(call nano-gen-linker-script-map,$(linker_script),bl,$(NANO_VARIANT_LKR_MAP),stm32f4xx,$(AUX_ARCH))
54 linker_script := $(gen)/os.lkr
55 $(call nano-gen-linker-script-native,$(linker_script),os,$(AUX_SUBARCH),native,$(AUX_ARCH))
58 linker_script := $(gen)/os.lkr
60 $(call nano-gen-linker-script,$(linker_script),os,$(AUX_SUBARCH),stm32f4xx,$(AUX_ARCH))
62 $(call nano-gen-linker-script-map,$(linker_script),os,$(NANO_VARIANT_LKR_MAP),stm32f4xx,$(AUX_ARCH))
Dconfig.mk64 define nano-gen-linker-script-from-list-body
74 define nano-gen-linker-script-from-list
76 $(call nano-gen-linker-script-from-list-body,$(1),$(2))
86 define nano-gen-linker-script
87 $(eval $(call nano-gen-linker-script-from-list,$(1),$(patsubst %,$(NANOHUB_OS_PATH)/os/platform/$(5…
99 define nano-gen-linker-script-native
100 $(eval $(call nano-gen-linker-script-from-list,$(1),$(NANOHUB_OS_PATH)/os/platform/$(5)/lkr/$(4).ex…
110 define nano-gen-linker-script-map
111 $(eval $(call nano-gen-linker-script-from-list,$(1),$(3) $(patsubst %,$(NANOHUB_OS_PATH)/os/platfor…
/device/google/trout/hal/dumpstate/1.1/
DAndroid.bp21 "protoc-gen-grpc-cpp-plugin",
23 … -I$$(dirname $(in)) -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-c…
37 "protoc-gen-grpc-cpp-plugin",
39 … -I$$(dirname $(in)) -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-c…
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/
DD03Mbig.asl17 // Mbi-gen pcie subsys
38 // Mbi-gen sas1 intc
92 Device(MBI2) { // Mbi-gen sas2 intc
145 Device(MBI3) { // Mbi-gen dsa0 srv intc
199 Device(MBI4) { // Mbi-gen dsa1 dbg0 intc
214 Device(MBI5) { // Mbi-gen dsa2 dbg1 intc
229 Device(MBI6) { // Mbi-gen dsa sas0 intc
283 Device(MBI7) { // Mbi-gen roce intc
/device/google/trout/hal/audiocontrol/2.0/
DAndroid.bp35 "protoc-gen-grpc-cpp-plugin",
37 … -I$$(dirname $(in)) -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-c…
51 "protoc-gen-grpc-cpp-plugin",
53 … -I$$(dirname $(in)) -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-c…
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/
DMbig.asl17 // Mbi-gen totem
34 // mbi-gen dsa
51 // mbi-gen m3
69 // mbi-gen pcie
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1616/D05AcpiTables/Dsdt/
DD05Mbig.asl18 // Mbi-gen peri b intc
93 // Mbi-gen sas0
147 Device(MBI3) { // Mbi-gen sas1 intc
199 Device(MBI4) { // Mbi-gen sas2 intc
378 Device(MBI4) { // Mbi-gen dsa1 dbg0 intc
393 Device(MBI5) { // Mbi-gen dsa2 dbg1 intc
408 Device(MBI6) { // Mbi-gen dsa sas0 intc
423 Device(MBI9) { // Mbi-gen roce intc
/device/google/trout/hal/vehicle/2.0/
DAndroid.bp62 "protoc-gen-grpc-cpp-plugin",
64 …impl/vhal_v2_0/proto -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-c…
78 "protoc-gen-grpc-cpp-plugin",
80 …impl/vhal_v2_0/proto -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-c…
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/
DD03Iort.asl35 /* mbi-gen dsa mbi0 - usb, named component */
66 /* mbi-gen dsa mbi1 - sas1, named component */
97 /* mbi-gen dsa mbi2 - sas2, named component */
128 /* mbi-gen dsa mbi3 - dsa0, srv named component */
159 /* mbi-gen dsa mbi4 - dsa1, dbg0 named component */
190 /* mbi-gen dsa mbi5 - dsa2, dbg1 named component */
221 /* mbi-gen dsa mbi6 - dsa sas0 named component */
252 /* mbi-gen mbi7 - RoCE named component */
/device/generic/goldfish-opengl/
Dcommon.mk210 emugl-gen-wrapper = \
212 $(call emugl-gen-wrapper-generic,$(_emugl_out),$1,$2) \
226 emugl-gen-wrapper-generic = $(eval $(emugl-gen-wrapper-generic-ev))
228 define emugl-gen-wrapper-generic-ev
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dpycodegen.py57 gen = Interactive(source, filename)
59 gen = Module(source, filename)
61 gen = Expression(source, filename)
65 gen.compile()
66 return gen.code
95 gen = ExpressionCodeGenerator(tree)
96 self.code = gen.getCode()
104 gen = InteractiveCodeGenerator(tree)
105 self.code = gen.getCode()
113 gen = ModuleCodeGenerator(tree)
[all …]
/device/generic/goldfish/network/netmgr/
Dmonitor.cpp154 struct rtgenmsg gen; in requestInterfaces() member
159 request.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(request.gen)); in requestInterfaces()
164 request.gen.rtgen_family = AF_PACKET; in requestInterfaces()
/device/google/cuttlefish/tests/hal/
DAndroid.bp7 "libhidl-gen-utils",
/device/google/trout/agl_services_build/yocto-layer/meta-google/recipes-trout/agl-services/
Dgoogle-trout-grpc-utils-native_0.1.bb7 grpc_cpp_plugin:protoc-gen-grpc-cpp-plugin \
/device/generic/goldfish-opengl/tests/ut_rendercontrol_enc/
DAndroid.mk5 $(call emugl-gen-encoder,$(LOCAL_PATH),ut_rendercontrol)

123