Searched refs:guard (Results 1 - 25 of 50) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/compiler/isaspec/
H A Ddecode.py217 #ifndef _${guard}_
218 #define _${guard}_
258 #endif /* _${guard}_ */
285 #ifndef _${guard}_
286 #define _${guard}_
290 #endif /* _${guard}_ */
302 guard = os.path.basename(glue_h).upper().replace("-", "_").replace(".", "_") variable
303 f.write(Template(glue).render(guard=guard, isa=os.path.basename(dst_h)))
309 guard variable
[all...]
/xsrc/external/mit/xgc/dist/
H A Dylwrap40 # guard FILE
42 # The CPP macro used to guard inclusion of FILE.
43 guard () function
132 # guard in its implementation file.
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/xsrc/external/mit/xkbcomp/dist/
H A Dylwrap40 # guard FILE
42 # The CPP macro used to guard inclusion of FILE.
43 guard () function
132 # guard in its implementation file.
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_entrypoints_gen.py40 #ifndef ${guard}
41 #define ${guard}
61 % if e.guard is not None:
62 #ifdef ${e.guard}
67 % if e.guard is not None:
68 #endif // ${e.guard}
73 % if e.guard is not None:
74 #ifdef ${e.guard}
79 % if e.guard is not None:
80 #endif // ${e.guard}
[all...]
H A Dvk_dispatch_table_gen.py80 % if e.guard is not None:
81 #ifdef ${e.guard}
93 % if e.guard is not None:
113 % if e.guard is not None:
114 #ifdef ${e.guard}
117 % if e.guard is not None:
255 % if e.guard is not None:
256 #ifdef ${e.guard}
264 % if e.guard is not None:
605 % if e.guard i
[all...]
H A Dvk_cmd_queue_gen.py67 % if c.guard is not None:
68 #ifdef ${c.guard}
71 % if c.guard is not None:
72 #endif // ${c.guard}
83 % if c.guard is not None:
84 #ifdef ${c.guard}
91 % if c.guard is not None:
92 #endif // ${c.guard}
104 % if c.guard is not None:
105 #ifdef ${c.guard}
[all...]
H A Dgen_enum_to_str.py70 % if enum.guard:
71 #ifdef ${enum.guard}
87 % if enum.guard:
143 % if enum.guard:
144 #ifdef ${enum.guard}
147 % if enum.guard:
188 % if enum.guard:
189 #ifdef ${enum.guard}
192 % if enum.guard:
202 % if enum.guard
[all...]
/xsrc/external/mit/twm/dist/
H A Dylwrap40 # guard FILE
42 # The CPP macro used to guard inclusion of FILE.
43 guard () function
132 # guard in its implementation file.
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_fp16_conv.c69 half_rounded(nir_builder *b, nir_ssa_def *value, nir_ssa_def *guard, nir_ssa_def *sticky, argument
74 return nir_iadd(b, value, nir_iand(b, guard, nir_ior(b, sticky, value)));
78 nir_ior(b, guard, sticky)));
82 nir_ior(b, guard, sticky)));
140 nir_ssa_def *guard = nir_iand(b, nir_ushr(b, abs, nir_imm_int(b, 12)), one); local in function:float_to_half_impl
142 nir_ssa_def *normal_fp16 = half_rounded(b, value, guard, sticky, sign, mode);
151 guard = nir_iand(b, nir_ushr(b, masked, i), one);
153 nir_ssa_def *denormal_fp16 = half_rounded(b, value, guard, sticky, sign, mode);
/xsrc/external/mit/xkbevd/dist/
H A Dylwrap40 # guard FILE
42 # The CPP macro used to guard inclusion of FILE.
43 guard () function
130 # guard in its implementation file.
150 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/xsrc/external/mit/xorg-server/dist/
H A Dylwrap40 # guard FILE
42 # The CPP macro used to guard inclusion of FILE.
43 guard () function
130 # guard in its implementation file.
150 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_entrypoints_gen.py55 % if e.guard is not None:
56 #ifdef ${e.guard}
73 % if e.guard is not None:
74 #ifdef ${e.guard}
79 % if e.guard is not None:
80 #endif // ${e.guard}
161 % if e.guard is not None:
162 #ifdef ${e.guard}
165 % if e.guard is not None:
166 #endif // ${e.guard}
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_entrypoints_gen.py55 % if e.guard is not None:
56 #ifdef ${e.guard}
73 % if e.guard is not None:
74 #ifdef ${e.guard}
79 % if e.guard is not None:
80 #endif // ${e.guard}
161 % if e.guard is not None:
162 #ifdef ${e.guard}
165 % if e.guard is not None:
166 #endif // ${e.guard}
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_entrypoints_gen.py58 % if e.guard is not None:
59 #ifdef ${e.guard}
77 % if e.guard is not None:
78 #ifdef ${e.guard}
100 % if e.guard is not None:
101 #ifdef ${e.guard}
104 % if e.guard is not None:
105 #endif // ${e.guard}
113 % if e.guard is not None:
114 #ifdef ${e.guard}
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_extensions.py72 guard = False variable in class:Extension
75 properties=False, features=False, conditions=None, guard=False,
84 self.guard = guard
H A Dzink_device_info.py33 # Extension(name, alias="", required=False, properties=False, features=False, conditions=None, guard=False)
60 # - guard: adds a #if defined(`extension_name`)/#endif guard around the code generated for this Extension.
170 guard=True),
236 # - guard(ext) : surrounds the body with an if-def guard according to
237 # `ext.extension_name()` if `ext.guard` is True.
240 %if ext.guard:
244 %if ext.guard:
250 <%def name="guard(ex
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/registers/
H A Dmakeregheader.py132 def __init__(self, regdb, guard=None):
133 self.guard = guard
298 if self.guard:
299 print('#ifndef {self.guard}'.format(**locals()), file=filp)
300 print('#define {self.guard}\n'.format(**locals()), file=filp)
355 if self.guard:
356 print('\n#endif // {self.guard}'.format(**locals()), file=filp)
365 parser.add_argument('--guard', type=str, help='Name of the #include guard')
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/
H A Dheadergen2.c59 char *guard; member in struct:fout
371 fprintf (f.file, "#ifndef %s\n", f.guard);
372 fprintf (f.file, "#define %s\n", f.guard);
458 f.guard = strdup(pretty);
459 for (j = 0; j < strlen(f.guard); j++)
460 if (isalnum(f.guard[j]))
461 f.guard[j] = toupper(f.guard[j]);
463 f.guard[j] = '_';
503 fprintf (fouts[i].file, "\n#endif /* %s */\n", fouts[i].guard);
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/util/
H A Dgen_enum_to_str.py68 % if enum.guard:
69 #ifdef ${enum.guard}
93 % if enum.guard:
177 % if enum.guard:
178 #ifdef ${enum.guard}
181 % if enum.guard:
271 self.guard = None
308 self.guard = g
/xsrc/external/mit/MesaLib/dist/src/freedreno/registers/
H A Dgen_header.py461 guard = str.replace(os.path.basename(xml_file), '.', '_').upper() + '_STRUCTS'
464 guard = str.replace(os.path.basename(xml_file), '.', '_').upper()
466 print("#ifndef %s\n#define %s\n" % (guard, guard))
479 print("\n#endif /* %s */" % guard)
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D9.2.3.rst70 - i965: Also guard 3DSTATE_DRAWING_RECTANGLE with a flush in blorp.
H A D13.0.6.rst117 - i965: move brw_define.h ifndef guard to the top
230 - glx/dri3: guard in_current_context against a disappeared drawable
231 - glx: guard swap-interval functions against destroyed drawables
H A D10.5.6.rst115 - clover: Add a mutex to guard queue::queued_events
H A D17.1.9.rst82 - util: improve compiler guard
/xsrc/external/mit/MesaLib.old/dist/src/intel/genxml/
H A Dgen_bits_header.py65 #ifndef ${guard}
66 #define ${guard}
132 #endif /* ${guard} */""", output_encoding='utf-8')
309 p.add_argument('--cpp-guard', type=str,
345 f.write(TEMPLATE.render(containers=containers, guard=pargs.cpp_guard))

Completed in 15 milliseconds

12