OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CGen
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/ppapi/generators/
idl_c_proto.py
69
class
CGen
(object):
269
name =
CGen
.RemapName.get(typeref.GetName(), None)
344
if node.GetName() in
CGen
.TypeMap:
359
out =
CGen
.TypeMap[ntype][mode] % name
392
if rname in
CGen
.RemapName:
393
rname =
CGen
.RemapName[rname]
658
'Enum':
CGen
.DefineEnum,
659
'Function':
CGen
.DefineMember,
660
'Interface':
CGen
.DefineStruct,
661
'Member':
CGen
.DefineMember
[
all
...]
idl_c_header.py
19
from idl_c_proto import
CGen
, GetNodeComments, CommentLines, Comment
89
cgen
=
CGen
()
121
item =
cgen
.Define(node, releases, prefix=pref, comment=True)
147
cgen
=
CGen
()
155
if
cgen
.GetParamMode(param) != 'in':
171
cgen
=
CGen
()
193
Generator.__init__(self, 'C Header', '
cgen
', 'Generate the C headers.'
[
all
...]
idl_thunk.py
19
from idl_c_proto import
CGen
, GetNodeComments, CommentLines, Comment
240
cgen
=
CGen
()
242
mode =
cgen
.GetParamMode(param)
246
_, pname, _, _ =
cgen
.GetComponents(param, release, 'store')
361
cgen
=
CGen
()
362
rtype, name, arrays, args =
cgen
.GetComponents(member, release, 'return')
375
signature =
cgen
.GetSignature(member, release, 'return', func_as_ptr=False,
377
return '%s\n%s\n}' % (
cgen
.Indent('%s {' % signature, tabs=0)
[
all
...]
idl_gen_pnacl.py
15
from idl_c_proto import
CGen
43
self.
cgen
=
CGen
()
77
ret, name, array, args_spec = self.
cgen
.GetComponents(member,
138
ret, name, array, cspec = self.
cgen
.GetComponents(member,
143
sig = self.
cgen
.Compose(ret2, name, array, cspec2,
167
sig = self.
cgen
.GetSignature(member, iface.release, 'store',
172
ret, name, array, cspec = self.
cgen
.GetComponents(member,
177
temp_fp = self.
cgen
.Compose(ret2, name, array, cspec2,
182
cast = self.
cgen
.Compose(ret2, name, array, cspec2
[
all
...]
idl_gen_wrapper.py
12
from idl_c_proto import
CGen
67
self.
cgen
=
CGen
()
231
struct_name = self.
cgen
.GetStructName(iface, release,
273
sig = self.
cgen
.GetSignature(member, iface.release, 'store',
284
sig = self.
cgen
.GetSignature(member, iface.release, 'store',
342
cast = '(%s)' % self.
cgen
.GetSignature(
363
iface_macro = self.
cgen
.GetInterfaceMacro(iface.node, iface.version)
Completed in 103 milliseconds