OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:json
(Results
1 - 25
of
35
) sorted by relevancy
1
2
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/
fossilize-runner.sh
14
export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.x86_64.
json
/xsrc/external/mit/MesaLib/dist/src/amd/registers/
mergedbs.py
24
Helper script to merge register database
JSON
files.
28
Will merge the given
JSON
files and output the result on stdout.
32
import
json
42
regdb.update(RegisterDatabase.from_json(
json
.load(filp)))
canonicalize.py
24
Helper script that was used during the generation of the
JSON
data.
29
(de-duplication of enums and register types, implicitly sorting
JSON
by name)
32
Notes about deduced register types as well as the output
JSON
are printed on
37
import
json
70
regdb = RegisterDatabase.from_json(
json
.load(filp))
regdb.py
24
Python package containing common tools for manipulating register
JSON
.
28
import
json
88
conversion from and to
JSON
while allowing the use of .field notation
106
def from_json(
json
, keys=None):
107
if isinstance(
json
, list):
108
return [Object.from_json(v) for v in
json
]
109
elif isinstance(
json
, dict):
111
for k, v in
json
.items():
119
return
json
759
Use a custom
JSON
encoder which pretty prints, but keeps inner structures compac
[
all
...]
parse_kernel_headers.py
3
import sys, io, re,
json
816
# Generate and canonicalize
json
823
return json_canonicalize(io.StringIO(
json
.dumps(all, indent=1)))
837
print(generate_json(gfx_version, sys.argv[2]), file=open(gfx_version + '.
json
', 'w'))
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
radv_icd.py
23
import
json
30
parser.add_argument('--out', help='Output
json
file.', required=True)
47
json
.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
tu_icd.py
23
import
json
30
parser.add_argument('--out', help='Output
json
file.', required=True)
47
json
.dump(json_data, f, indent = 4, sort_keys=True, separators=(',', ': '))
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
anv_icd.py
23
import
json
48
json
.dump(json_data, f, indent=4, sort_keys=True, separators=(',', ': '))
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/
Makefile
15
.PHONY: help clean html dirhtml pickle
json
htmlhelp qthelp latex changes linkcheck doctest
22
@echo "
json
to make
JSON
files"
48
json
:
49
$(SPHINXBUILD) -b
json
$(ALLSPHINXOPTS) $(BUILDDIR)/
json
51
@echo "Build finished; now you can process the
JSON
files."
make.bat
20
echo.
json
to make
JSON
files
57
if "%1" == "
json
" (
58
%SPHINXBUILD% -b
json
%ALLSPHINXOPTS% %BUILDDIR%/
json
60
echo.Build finished; now you can process the
JSON
files.
/xsrc/external/mit/fontconfig/dist/test/
run-test-conf.sh
47
test_json=$(echo test-$i|sed s'/\.conf/.
json
/')
52
test-issue-286.
json
\
53
test-style-match.
json
\
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
vtn_gather_types_c.py
27
import
json
109
p.add_argument("
json
")
113
spirv_info =
json
.JSONDecoder().decode(open(args.
json
, "r").read())
spirv_info_c.py
27
import
json
66
p.add_argument("
json
")
113
spirv_info =
json
.JSONDecoder().decode(open(pargs.
json
, "r").read())
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
vk_icd_gen.py
24
import
json
50
help='Output
json
file.')
76
json
.dump(json_data, f, **json_params)
78
print(
json
.dumps(json_data, **json_params))
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
spirv_info_c.py
27
import
json
59
p.add_argument("
json
")
88
spirv_info =
json
.JSONDecoder().decode(open(pargs.
json
, "r").read())
vtn_gather_types_c.py
27
import
json
103
p.add_argument("
json
")
107
spirv_info =
json
.JSONDecoder().decode(open(args.
json
, "r").read())
/xsrc/external/mit/fontconfig/dist/src/
cutout.py
3
import
json
19
with open(os.path.join(buildroot, 'meson-info', 'intro-buildoptions.
json
')) as json_file:
20
bopts =
json
.load(json_file)
/xsrc/external/mit/MesaLib/dist/bin/pick/
core.py
25
import
json
61
pick_status_json = pathlib.Path(git_toplevel) / '.pick_status.
json
'
87
"""Commit the .pick_status.
json
file."""
101
cmd = ['--message', f'.pick_status.
json
: {message}']
166
# Append the changes to the .pickstatus.
json
file
378
raw =
json
.load(f)
385
json
.dump([c.to_json() for c in commits], f, indent=4)
/xsrc/external/mit/MesaLib/dist/src/gallium/tools/trace/
diff_state.py
28
import
json
134
self._write(
json
.dumps(node, allow_nan=True))
285
# Unfortunately
JSON
standard does not include comments, but this is a quite
305
'''Strip (non-standard)
JSON
comments.'''
324
return
json
.loads(data, strict=False, object_hook = object_hook)
326
return
json
.load(stream, strict=False, object_hook = object_hook)
331
description="Diff
JSON
format state dump files")
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
Android.nir.gen.mk
99
$(intermediates)/spirv/spirv_info.c: $(LOCAL_PATH)/spirv/spirv_info_c.py $(LOCAL_PATH)/spirv/spirv.core.grammar.
json
103
$(intermediates)/spirv/vtn_gather_types.c:: $(LOCAL_PATH)/spirv/vtn_gather_types_c.py $(LOCAL_PATH)/spirv/spirv.core.grammar.
json
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tools/trace/
diff_state.py
28
import
json
135
self._write(
json
.dumps(node, allow_nan=True))
288
# Unfortunately
JSON
standard does not include comments, but this is a quite
308
'''Strip (non-standard)
JSON
comments.'''
327
return
json
.loads(data, strict=False, object_hook = object_hook)
329
return
json
.load(stream, strict=False, object_hook = object_hook)
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/piglit/
piglit-runner.sh
15
export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.${VK_CPU:-`uname -m`}.
json
run.sh
41
export VK_ICD_FILENAMES="$INSTALL/share/vulkan/icd.d/${VK_DRIVER}_icd.x86_64.
json
"
130
export VK_ICD_FILENAMES="$INSTALL/share/vulkan/icd.d/lvp_icd.x86_64.
json
"
224
./piglit summary console "$RESULTS"/results.
json
.bz2 \
262
"$RESULTS"/summary "$RESULTS"/results.
json
.bz2
/xsrc/external/mit/MesaLib/dist/src/amd/common/
gfx10_format_table.py
27
import
json
256
db = RegisterDatabase.from_json(
json
.load(filp))
sid_tables.py
30
import
json
354
db = RegisterDatabase.from_json(
json
.load(filp))
359
except
json
.JSONDecodeError as e:
Completed in 14 milliseconds
1
2
Indexes created Sat Aug 15 00:25:12 UTC 2026