Home
last modified time | relevance | path

Searched full:jsonpath (Results 1 – 25 of 126) sorted by relevance

123456

/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/protoparser/
DPluginArgumentParserTest.java30 String jsonPath = "/tmp/grpc_service_config.json"; in parseJsonPath_onlyOnePresent() local
32 jsonPath, in parseJsonPath_onlyOnePresent()
33 PluginArgumentParser.parseJsonConfigPath(createGrpcServiceConfig(jsonPath)).get()); in parseJsonPath_onlyOnePresent()
53 String jsonPath = "/tmp/foo_grpc_service_config.json"; in parseJsonPath_similarFileAppearsFirst() local
62 createGrpcServiceConfig(jsonPath), in parseJsonPath_similarFileAppearsFirst()
64 assertEquals(jsonPath, PluginArgumentParser.parseJsonConfigPath(rawArgument).get()); in parseJsonPath_similarFileAppearsFirst()
69 String jsonPath = "/tmp/foo_grpc_service_config.json"; in parseJsonPath_argumentHasSpaces() local
78 createGrpcServiceConfig(jsonPath), in parseJsonPath_argumentHasSpaces()
80 assertEquals(jsonPath, PluginArgumentParser.parseJsonConfigPath(rawArgument).get()); in parseJsonPath_argumentHasSpaces()
85 String jsonPath = "/tmp/foobar_grpc_service_config.json"; in parseJsonPath_restAreEmpty() local
[all …]
DServiceConfigParserTest.java38 Path jsonPath = Paths.get(JSON_DIRECTORY, jsonFilename); in parseServiceConfig_basic() local
39 Optional<ServiceConfig> configOpt = ServiceConfigParser.parseFile(jsonPath.toString()); in parseServiceConfig_basic()
65 Path jsonPath = Paths.get(JSON_DIRECTORY, jsonFilename); in parseServiceConfig_showcase() local
66 Optional<ServiceConfig> configOpt = ServiceConfigParser.parseFile(jsonPath.toString()); in parseServiceConfig_showcase()
84 Path jsonPath = Paths.get(JSON_DIRECTORY, jsonFilename); in parseBadServiceConfig_missingFile() local
85 Optional<ServiceConfig> configOpt = ServiceConfigParser.parseFile(jsonPath.toString()); in parseBadServiceConfig_missingFile()
92 Path jsonPath = Paths.get(JSON_DIRECTORY, jsonFilename); in parseBadServiceConfig_malformedJson() local
93 Optional<ServiceConfig> configOpt = ServiceConfigParser.parseFile(jsonPath.toString()); in parseBadServiceConfig_malformedJson()
100 Path jsonPath = Paths.get(JSON_DIRECTORY, jsonFilename); in parseBadServiceConfig_badProtoFields() local
101 Optional<ServiceConfig> configOpt = ServiceConfigParser.parseFile(jsonPath.toString()); in parseBadServiceConfig_badProtoFields()
/external/cronet/third_party/boringssl/src/util/convert_wycheproof/
Dconvert_wycheproof.go123 func convertWycheproof(f io.Writer, jsonPath string) error {
124 jsonData, err := os.ReadFile(jsonPath)
140 `, jsonPath, w.Algorithm, w.GeneratorVersion); err != nil {
274 for _, jsonPath := range defaultInputs {
275 if !strings.HasSuffix(jsonPath, ".json") {
276 panic(jsonPath)
279 txtPath := jsonPath[:len(jsonPath)-len(".json")] + ".txt"
287 if err := convertWycheproof(out, jsonPath); err != nil {
288 fmt.Fprintf(os.Stderr, "Error converting %s: %s\n", jsonPath, err)
/external/boringssl/src/util/convert_wycheproof/
Dconvert_wycheproof.go123 func convertWycheproof(f io.Writer, jsonPath string) error {
124 jsonData, err := os.ReadFile(jsonPath)
140 `, jsonPath, w.Algorithm, w.GeneratorVersion); err != nil {
274 for _, jsonPath := range defaultInputs {
275 if !strings.HasSuffix(jsonPath, ".json") {
276 panic(jsonPath)
279 txtPath := jsonPath[:len(jsonPath)-len(".json")] + ".txt"
287 if err := convertWycheproof(out, jsonPath); err != nil {
288 fmt.Fprintf(os.Stderr, "Error converting %s: %s\n", jsonPath, err)
/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/common/
DRetrySettingsComposerTest.java77 Path jsonPath = Paths.get(TestProtoLoader.instance().getTestFilesDirectory(), jsonFilename); in paramDefinitionsBlock_noConfigsFound() local
78 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in paramDefinitionsBlock_noConfigsFound()
105 Path jsonPath = Paths.get(TestProtoLoader.instance().getTestFilesDirectory(), jsonFilename); in paramDefinitionsBlock_basic() local
106 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in paramDefinitionsBlock_basic()
155 Path jsonPath = Paths.get(TestProtoLoader.instance().getTestFilesDirectory(), jsonFilename); in codesDefinitionsBlock_noConfigsFound() local
156 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in codesDefinitionsBlock_noConfigsFound()
191 Path jsonPath = Paths.get(TestProtoLoader.instance().getTestFilesDirectory(), jsonFilename); in codesDefinitionsBlock_basic() local
192 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in codesDefinitionsBlock_basic()
230 Path jsonPath = Paths.get(TestProtoLoader.instance().getTestFilesDirectory(), jsonFilename); in simpleBuilderExpr_basic() local
231 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in simpleBuilderExpr_basic()
[all …]
DTestProtoLoader.java91 Path jsonPath = Paths.get(testFilesDirectory, jsonFilename); in parseDeprecatedService() local
92 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parseDeprecatedService()
119 Path jsonPath = Paths.get(testFilesDirectory, jsonFilename); in parseBookshopService() local
120 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parseBookshopService()
154 Path jsonPath = Paths.get(testFilesDirectory, jsonFilename); in parseShowcaseEcho() local
155 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parseShowcaseEcho()
289 Path jsonPath = Paths.get(getTestFilesDirectory(), jsonFilename); in parsePubSubPublisher() local
290 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parsePubSubPublisher()
344 Path jsonPath = Paths.get(getTestFilesDirectory(), jsonFilename); in parseLogging() local
345 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parseLogging()
DBatchingDescriptorComposerTest.java90 Path jsonPath = Paths.get(TestProtoLoader.instance().getTestFilesDirectory(), jsonFilename); in batchingDescriptor_hasSubresponseField() local
91 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in batchingDescriptor_hasSubresponseField()
152 Path jsonPath = Paths.get(TestProtoLoader.instance().getTestFilesDirectory(), jsonFilename); in batchingDescriptor_noSubresponseField() local
153 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in batchingDescriptor_noSubresponseField()
/external/swiftshader/tests/regres/testlist/
Dtestlist.go129 func Load(root, jsonPath string) (Lists, error) {
135 jsonPath, err = filepath.Abs(jsonPath)
137 return nil, fmt.Errorf("failed to get absolute path of '%s': %w", jsonPath, err)
140 i, err := ioutil.ReadFile(jsonPath)
142 return nil, fmt.Errorf("failed to read test list from '%s': %w", jsonPath, err)
151 return nil, fmt.Errorf("failed to parse '%s': %w", jsonPath, err)
154 dir := filepath.Dir(jsonPath)
/external/python/google-api-python-client/docs/dyn/
Ddeploymentmanager_alpha.types.html129 …&quot;field&quot;: &quot;A String&quot;, # JsonPath expression on the resource that if non empty, …
133 …&quot;failCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the requ…
134 …&quot;finishCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the re…
135 …&quot;pollingLink&quot;: &quot;A String&quot;, # JsonPath expression that evaluates to string, it …
136 …&quot;targetLink&quot;: &quot;A String&quot;, # JsonPath expression, after polling is completed, i…
145 &quot;value&quot;: &quot;A String&quot;, # A jsonPath expression to select an element.
174 …&quot;field&quot;: &quot;A String&quot;, # JsonPath expression on the resource that if non empty, …
178 …&quot;failCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the requ…
179 …&quot;finishCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the re…
180 …&quot;pollingLink&quot;: &quot;A String&quot;, # JsonPath expression that evaluates to string, it …
[all …]
Ddeploymentmanager_v2beta.types.html125 …&quot;field&quot;: &quot;A String&quot;, # JsonPath expression on the resource that if non empty, …
129 …&quot;failCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the requ…
130 …&quot;finishCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the re…
131 …&quot;pollingLink&quot;: &quot;A String&quot;, # JsonPath expression that evaluates to string, it …
132 …&quot;targetLink&quot;: &quot;A String&quot;, # JsonPath expression, after polling is completed, i…
141 … &quot;value&quot;: &quot;A String&quot;, # A jsonPath expression to select an element.
170 …&quot;field&quot;: &quot;A String&quot;, # JsonPath expression on the resource that if non empty, …
174 …&quot;failCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the requ…
175 …&quot;finishCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the re…
176 …&quot;pollingLink&quot;: &quot;A String&quot;, # JsonPath expression that evaluates to string, it …
[all …]
Ddeploymentmanager_alpha.typeProviders.html211 …&quot;field&quot;: &quot;A String&quot;, # JsonPath expression on the resource that if non empty, …
215 …&quot;failCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the requ…
216 …&quot;finishCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the re…
217 …&quot;pollingLink&quot;: &quot;A String&quot;, # JsonPath expression that evaluates to string, it …
218 …&quot;targetLink&quot;: &quot;A String&quot;, # JsonPath expression, after polling is completed, i…
227 &quot;value&quot;: &quot;A String&quot;, # A jsonPath expression to select an element.
314 …&quot;field&quot;: &quot;A String&quot;, # JsonPath expression on the resource that if non empty, …
318 …&quot;failCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the requ…
319 …&quot;finishCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the re…
320 …&quot;pollingLink&quot;: &quot;A String&quot;, # JsonPath expression that evaluates to string, it …
[all …]
Ddeploymentmanager_v2beta.typeProviders.html204 …&quot;field&quot;: &quot;A String&quot;, # JsonPath expression on the resource that if non empty, …
208 …&quot;failCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the requ…
209 …&quot;finishCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the re…
210 …&quot;pollingLink&quot;: &quot;A String&quot;, # JsonPath expression that evaluates to string, it …
211 …&quot;targetLink&quot;: &quot;A String&quot;, # JsonPath expression, after polling is completed, i…
220 &quot;value&quot;: &quot;A String&quot;, # A jsonPath expression to select an element.
307 …&quot;field&quot;: &quot;A String&quot;, # JsonPath expression on the resource that if non empty, …
311 …&quot;failCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the requ…
312 …&quot;finishCondition&quot;: &quot;A String&quot;, # JsonPath expression that determines if the re…
313 …&quot;pollingLink&quot;: &quot;A String&quot;, # JsonPath expression that evaluates to string, it …
[all …]
/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/model/
DGapicServiceConfigTest.java50 Path jsonPath = Paths.get(TESTDATA_DIRECTORY, jsonFilename); in serviceConfig_noConfigsFound() local
51 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in serviceConfig_noConfigsFound()
78 Path jsonPath = Paths.get(TESTDATA_DIRECTORY, jsonFilename); in serviceConfig_basic() local
79 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in serviceConfig_basic()
132 Path jsonPath = Paths.get(TESTDATA_DIRECTORY, jsonFilename); in serviceConfig_withBatchingSettings() local
148 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in serviceConfig_withBatchingSettings()
205 Path jsonPath = Paths.get(TESTDATA_DIRECTORY, jsonFilename); in serviceConfig_withLroRetrySettings() local
221 Optional<GapicServiceConfig> serviceConfigOpt = ServiceConfigParser.parse(jsonPath.toString()); in serviceConfig_withLroRetrySettings()
/external/skia/infra/bots/task_drivers/common/
Dgoldctl_steps.go213 jsonPath := file.Name()
214 pngPath := strings.TrimSuffix(jsonPath, ".json") + ".png"
215 testName := strings.TrimSuffix(jsonPath, ".json")
220 …if err := td.Do(ctx, td.Props(fmt.Sprintf("Ignoring %q: file %q not found", jsonPath, pngPath)), f…
233 bytes, err := os.ReadFile(filepath.Join(outputsDir, jsonPath))
242 …if err := td.Do(ctx, td.Props(fmt.Sprintf("Ignoring %q; JSON parsing error: %s", jsonPath, err)), …
250 …if err := td.Do(ctx, td.Props(fmt.Sprintf(`Ignoring %q: field "md5" not found`, jsonPath)), func(c…
/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/rest/
DRestTestProtoLoader.java71 Path jsonPath = Paths.get(getTestFilesDirectory(), jsonFilename); in parseCompliance() local
72 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parseCompliance()
109 Path jsonPath = Paths.get(getTestFilesDirectory(), jsonFilename); in parseEcho() local
110 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parseEcho()
/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpcrest/
DGrpcRestTestProtoLoader.java81 Path jsonPath = Paths.get(getTestFilesDirectory(), jsonFilename); in parseShowcaseEcho() local
82 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parseShowcaseEcho()
113 Path jsonPath = Paths.get(getTestFilesDirectory(), jsonFilename); in parseShowcaseWicked() local
114 Optional<GapicServiceConfig> configOpt = ServiceConfigParser.parse(jsonPath.toString()); in parseShowcaseWicked()
/external/google-cloud-java/java-monitoring/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/
Duptime.proto328 // Selects JSONPath matching. See `JsonPathMatcher` for details on when
329 // the match succeeds. JSONPath matching is only supported for HTTP/HTTPS
333 // Selects JSONPath matching. See `JsonPathMatcher` for details on when
335 // JSONPath is only supported for HTTP/HTTPS checks.
339 // Information needed to perform a JSONPath content match.
343 // Options to perform JSONPath content matching.
345 // No JSONPath matcher type specified (not valid).
359 // JSONPath within the response output pointing to the expected
363 // The type of JSONPath match that will be applied to the JSON output
/external/google-auth-library-java/.github/
Dgenerated-files-bot.yml4 jsonpath: '$.generatedFiles[*]'
7 jsonpath: '$.generatedFiles[*]'
/external/sdk-platform-java/java-common-protos/.github/
Dgenerated-files-bot.yml4 jsonpath: '$.generatedFiles[*]'
7 jsonpath: '$.generatedFiles[*]'
/external/google-cloud-java/owl-bot-postprocessor/synthtool/gcp/templates/java_library/.github/
Dgenerated-files-bot.yml4 jsonpath: '$.generatedFiles[*]'
7 jsonpath: '$.generatedFiles[*]'
/external/googleapis/google/monitoring/v3/
Duptime.proto391 // Selects JSONPath matching. See `JsonPathMatcher` for details on when
392 // the match succeeds. JSONPath matching is only supported for HTTP/HTTPS
396 // Selects JSONPath matching. See `JsonPathMatcher` for details on when
398 // JSONPath is only supported for HTTP/HTTPS checks.
402 // Information needed to perform a JSONPath content match.
406 // Options to perform JSONPath content matching.
408 // No JSONPath matcher type specified (not valid).
422 // JSONPath within the response output pointing to the expected
426 // The type of JSONPath match that will be applied to the JSON output
/external/shaderc/spirv-headers/tools/buildHeaders/
Dmain.cpp38 std::string jsonPath; variable
108 jsonPath = std::string(argv[0]); in ProcessArguments()
122 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
Dmain.cpp38 std::string jsonPath; variable
111 jsonPath = std::string(argv[0]); in ProcessArguments()
125 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
Dmain.cpp38 std::string jsonPath; variable
111 jsonPath = std::string(argv[0]); in ProcessArguments()
125 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
/external/angle/third_party/spirv-headers/src/tools/buildHeaders/
Dmain.cpp38 std::string jsonPath; variable
111 jsonPath = std::string(argv[0]); in ProcessArguments()
125 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()

123456