Home
last modified time | relevance | path

Searched full:paths (Results 1 – 25 of 2829) sorted by relevance

12345678910>>...114

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DFieldMaskTreeTest.cs47 RepeatedField<string> paths = tree.ToFieldMask().Paths; in AddFieldPath()
48 Assert.AreEqual(0, paths.Count); in AddFieldPath()
51 paths = tree.ToFieldMask().Paths; in AddFieldPath()
52 Assert.AreEqual(1, paths.Count); in AddFieldPath()
53 Assert.Contains("", paths); in AddFieldPath()
57 paths = tree.ToFieldMask().Paths; in AddFieldPath()
58 Assert.AreEqual(2, paths.Count); in AddFieldPath()
59 Assert.Contains("foo", paths); in AddFieldPath()
63 paths = tree.ToFieldMask().Paths; in AddFieldPath()
64 Assert.AreEqual(2, paths.Count); in AddFieldPath()
[all …]
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/
Dnode-modules-paths.js6 var nodeModulesPaths = require('../lib/node-modules-paths');
8 var verifyDirs = function verifyDirs(t, start, dirs, moduleDirectories, paths) { argument
10 if (paths) {
11 for (var k = 0; k < paths.length; ++k) {
12 moduleDirs.push(path.basename(paths[k]));
38 test('node-modules-paths', function (t) {
57 t.test('with paths=array option', function (t) {
59 var paths = ['a', 'b'];
60 var dirs = nodeModulesPaths(start, { paths: paths }); property
62 verifyDirs(t, start, dirs, null, paths);
[all …]
/third_party/node/deps/npm/node_modules/env-paths/
Dreadme.md1 # env-paths [![Build Status](https://travis-ci.org/sindresorhus/env-paths.svg?branch=master)](https…
3 > Get paths for storing things like data, config, cache, etc
5 Uses the correct OS-specific paths. Most developers get this wrong.
11 $ npm install env-paths
18 const envPaths = require('env-paths');
20 const paths = envPaths('MyApp');
22 paths.data;
25 paths.config
32 ### paths = envPaths(name, [options])
38 Name of your project. Used to generate the paths.
[all …]
Dpackage.json2 "_from": "env-paths@^2.2.0",
3 "_id": "env-paths@2.2.0",
6 "_location": "/env-paths",
11 "raw": "env-paths@^2.2.0",
12 "name": "env-paths",
13 "escapedName": "env-paths",
21 "_resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz",
23 "_spec": "env-paths@^2.2.0",
31 "url": "https://github.com/sindresorhus/env-paths/issues"
35 "description": "Get paths for storing things like data, config, cache, etc",
[all …]
Dindex.d.ts13 export interface Paths { interface
43 Get paths for storing things like data, config, cache, etc.
45 @param name - Name of your project. Used to generate the paths.
46 @returns The paths to use for your project on current OS.
50 import envPaths = require('env-paths');
52 const paths = envPaths('MyApp');
54 paths.data;
57 paths.config
61 (name: string, options?: envPaths.Options): envPaths.Paths;
64 // declare function envPaths(name: string, options?: envPaths.Options): envPaths.Paths;
/third_party/node/test/fixtures/
Drequire-resolve.js15 // Verify that existing paths are removed.
17 require.resolve('bar', { paths: [] }) property
31 require.resolve('three', { paths: [nestedIndex] }) property
36 require.resolve('bar', { paths: [nestedIndex] }), property
41 // Verify that the default paths can be used and modified.
43 const paths = require.resolve.paths('bar'); constant
45 assert.strictEqual(paths[0], nodeModules);
47 require.resolve('bar', { paths }), field
51 paths.unshift(nestedNodeModules);
53 require.resolve('bar', { paths }), field
[all …]
/third_party/pulseaudio/src/modules/alsa/mixer/profile-sets/
Ddefault.conf52 ; paths-input = ... # A list of mixer paths to use. Every path in this list…
54 ; paths-output = ...
115 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones a…
116 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-d…
124 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones a…
125 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-d…
133 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones a…
134 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-d…
140 paths-output = analog-output analog-output-lineout analog-output-speaker
147 paths-output = analog-output analog-output-lineout analog-output-speaker
[all …]
Dforce-speaker-and-int-mic.conf26 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headp…
27 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic-always analog-…
33 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headp…
34 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic-always analog-…
40 paths-output = analog-output analog-output-lineout analog-output-speaker-always
47 paths-output = analog-output analog-output-lineout analog-output-speaker-always
54 paths-output = analog-output analog-output-lineout analog-output-speaker-always
61 paths-output = analog-output analog-output-lineout analog-output-speaker-always
68 paths-output = analog-output analog-output-lineout analog-output-speaker-always
76 paths-output = analog-output analog-output-lineout analog-output-speaker-always
[all …]
Dforce-speaker.conf25 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headp…
26 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-d…
32 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headp…
33 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-d…
39 paths-output = analog-output analog-output-lineout analog-output-speaker-always
46 paths-output = analog-output analog-output-lineout analog-output-speaker-always
53 paths-output = analog-output analog-output-lineout analog-output-speaker-always
60 paths-output = analog-output analog-output-lineout analog-output-speaker-always
67 paths-output = analog-output analog-output-lineout analog-output-speaker-always
75 paths-output = analog-output analog-output-lineout analog-output-speaker-always
[all …]
/third_party/protobuf/php/src/Google/Protobuf/
DFieldMask.php12 * `FieldMask` represents a set of symbolic field paths, for example:
13 * paths: "f.a"
14 * paths: "f.b.d"
45 * paths string.
67 * Note that a repeated field is only allowed in the last position of a `paths`
86 * paths: "f.b"
95 * paths: "f.b.d"
125 * In JSON, a field mask is encoded as a single string where paths are
139 * paths: "user.display_name"
140 * paths: "photo"
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs47 var mask = new FieldMask { Paths = { input } }; in ToString_Invalid()
57 var mask = new FieldMask { Paths = { "x", "foo__bar", @"x\y" } }; in ToString_Invalid_Precise()
59 … "{ \"@warning\": \"Invalid FieldMask\", \"paths\": [ \"x\", \"foo__bar\", \"x\\\\y\" ] }", in ToString_Invalid_Precise()
86 // Repeated fields cannot have sub-paths. in IsValid()
89 // Non-message fields cannot have sub-paths. in IsValid()
101 mask.Paths.AddRange(input); in ToString()
113 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromString()
116 Assert.AreEqual(expectedOutput[i], mask.Paths[i]); in FromString()
123 // Check whether the field paths are valid if a class parameter is provided. in FromString_Validated()
135 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromFieldNumbers()
[all …]
/third_party/node/tools/node_modules/babel-eslint/node_modules/@babel/traverse/lib/path/
Dfamily.js45 function addCompletionRecords(path, paths) { argument
46 if (path) return paths.concat(path.getCompletionRecords());
47 return paths;
51 let paths = [];
54 paths = addCompletionRecords(this.get("consequent"), paths);
55 paths = addCompletionRecords(this.get("alternate"), paths);
57 paths = addCompletionRecords(this.get("body"), paths);
59 paths = addCompletionRecords(this.get("body").pop(), paths);
63 paths = addCompletionRecords(this.get("block"), paths);
64 paths = addCompletionRecords(this.get("handler"), paths);
[all …]
/third_party/boost/tools/boost_install/
Dboost-install-dirs.jam16 local paths = [ package.paths Boost ] ;
17 .includedir = [ $(paths).includedir ] ;
29 local paths = [ package.paths Boost ] ;
30 .bindir = [ $(paths).bindir ] ;
42 local paths = [ package.paths Boost ] ;
43 .libdir = [ $(paths).libdir ] ;
57 local paths = [ package.paths Boost ] ;
58 .cmakedir = [ $(paths).get cmakedir ] ;
/third_party/protobuf/src/google/protobuf/util/internal/
Dfield_mask_utility.cc109 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, in DecodeCompactFieldMaskPaths() argument
112 int length = paths.length(); in DecodeCompactFieldMaskPaths()
127 if (paths[i] == '\\') { in DecodeCompactFieldMaskPaths()
131 if (paths[i] != '\"') { in DecodeCompactFieldMaskPaths()
135 if (i >= length - 1 || paths[i + 1] != ']') { in DecodeCompactFieldMaskPaths()
139 "Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
147 if (i < length - 1 && paths[i + 1] != '.' && paths[i + 1] != ',' && in DecodeCompactFieldMaskPaths()
148 paths[i + 1] != ')' && paths[i + 1] != '(') { in DecodeCompactFieldMaskPaths()
152 "Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
160 if (paths[i] == '[') { in DecodeCompactFieldMaskPaths()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DFieldMaskPartial.cs49 /// Converts a field mask specified by paths to a string.
56 /// <param name="paths">Paths in the field mask</param>
59 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() argument
61 var firstInvalid = paths.FirstOrDefault(p => !IsPathValid(p)); in ToJson()
66 var query = paths.Select(JsonFormatter.ToJsonName); in ToJson()
69 … JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToJsonName))); in ToJson()
78 writer.Write("{ \"@warning\": \"Invalid FieldMask\", \"paths\": "); in ToJson()
79 JsonFormatter.Default.WriteList(writer, (IList)paths); in ToJson()
103 return ToJson(Paths, true); in ToDiagnosticString()
115 /// Parses from a string to a FieldMask and validates all field paths.
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Danimated_icons_private_test.dart98 paths: movingBar.paths,
120 paths: movingBar.paths,
142 paths: movingBar.paths,
164 paths: movingBar.paths,
177 paths: movingBar.paths,
193 paths: movingBar.paths,
215 paths: bow.paths,
235 paths: bow.paths,
255 paths: bow.paths,
264 paths: bow.paths,
[all …]
/third_party/node/tools/node_modules/babel-eslint/node_modules/resolve/lib/
Dnode-modules-paths.js12 var paths = [absoluteStart];
14 while (parsed.dir !== paths[paths.length - 1]) {
15 paths.push(parsed.dir);
19 return paths.reduce(function (dirs, aPath) {
31 if (opts && typeof opts.paths === 'function') {
32 return opts.paths(
41 return opts && opts.paths ? dirs.concat(opts.paths) : dirs;
/third_party/flutter/skia/tools/lua/
Dpaths_agg.lua17 io.write("Number of clipped paths: ", clipPaths, "\n");
18 io.write("Number of drawn paths: ", drawPaths, "\n");
19 io.write("Number of clipped software paths: ", swClipPaths, "\n");
20 io.write("Number of drawn software paths: ", swDrawPaths, "\n");
25 io.write("Number of SKPs that draw paths: ", skpsWithPath, "\n")
26 io.write("Number of SKPs that draw SW paths: ", skpsWithSWPath, "\n")
34 io.write("Percentage of paths needing software: ", (100*(totalSWPaths / totalPaths)), "\n")
40 io.write("Percentage of SKPs that draw paths: ", (100*(skpsWithPath / skpsTotal)), "\n")
41 io.write("Percentage of SKPs that draw SW paths: ", (100*(skpsWithSWPath / skpsTotal)), "\n")
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/lib/
Dnode-modules-paths.js12 var paths = [absoluteStart];
14 while (parsed.dir !== paths[paths.length - 1]) {
15 paths.push(parsed.dir);
19 return paths.reduce(function (dirs, aPath) {
31 if (opts && typeof opts.paths === 'function') {
32 return opts.paths(
41 return opts && opts.paths ? dirs.concat(opts.paths) : dirs;
/third_party/boost/tools/build/src/tools/features/
Ddll-feature.jam14 <<Why are the `dll-path` and `hardcode-dll-paths` properties useful?>>
25 [[bbv2.builtin.features.hardcode-dll-paths]]`hardcode-dll-paths`::
31 `<hardcode-dll-paths>true`, the generated binary will contain the list of all
32 the paths to the used shared libraries. As the result, the executable can be
33 run without changing system paths to shared libraries or installing the
34 libraries to system paths. This is very convenient during development. Please
36 the paths are unconditionally hardcoded by the linker, and it is not possible
41 feature.feature hardcode-dll-paths
45 # An internal feature that holds the paths of all dependency shared libraries.
46 # On Windows, it is needed so that we can add all those paths to PATH when
/third_party/boost/tools/build/test/
Ddll_path.py9 # <hardcode-dll-paths>true.
16 # uses library "a". When "main" is built with <hardcode-dll-paths>true, paths
41 class dll-paths-list-generator : generator
50 local dll-paths ;
57 dll-paths += [ $(p).get <dll-path> ] ;
61 [ $(property-set).add-raw $(dll-paths:G=<dll-path>) ] :
65 generators.register [ new dll-paths-list-generator ] ;
70 local paths = [ feature.get-values <dll-path> : $(properties) ] ;
71 paths = [ sequence.insertion-sort $(paths) ] ;
73 print.text $(paths) ;
[all …]
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskUtil.java69 // Ignore empty paths. in toString()
91 * Parses from a string to a FieldMask and validates all field paths.
101 * Constructs a FieldMask for a list of field paths in a certain type.
106 public static FieldMask fromStringList(Class<? extends Message> type, Iterable<String> paths) { in fromStringList() argument
107 return fromStringList(Internal.getDefaultInstance(type).getDescriptorForType(), paths); in fromStringList()
111 * Constructs a FieldMask for a list of field paths in a certain type.
115 public static FieldMask fromStringList(Descriptor descriptor, Iterable<String> paths) { in fromStringList() argument
116 return fromStringList(Optional.of(descriptor), paths); in fromStringList()
120 * Constructs a FieldMask for a list of field paths in a certain type. Does not validate the given
121 * paths.
[all …]
/third_party/flutter/skia/gm/
Dpathmaskcache.cpp77 SkTArray<SkPath> paths; in onDraw() local
78 paths.push_back(); in onDraw()
79 paths.back().moveTo(0.f, 0.f); in onDraw()
80 paths.back().lineTo(98.f, 100.f); in onDraw()
81 paths.back().lineTo(100.f, 100.f); in onDraw()
82 paths.back().conicTo(150.f, 50.f, 100.f, 0.f, 0.6f); in onDraw()
83 paths.back().conicTo(148.f, 50.f, 100.f, 100.f, 0.6f); in onDraw()
84 paths.back().conicTo(50.f, 30.f, 0.f, 100.f, 0.9f); in onDraw()
86 paths.push_back(); in onDraw()
87 paths.back().addCircle(30.f, 30.f, 30.f); in onDraw()
[all …]
/third_party/node/benchmark/path/
Drelative-win32.js6 paths: [ property
16 function main({ n, paths }) { field
18 const delimIdx = paths.indexOf('|');
20 to = paths.slice(delimIdx + 1);
21 paths = paths.slice(0, delimIdx);
27 win32.relative(`${paths}${i}`, `${to}${i}`);
29 win32.relative(paths, to);
Drelative-posix.js6 paths: [ property
18 function main({ n, paths }) { field
20 const delimIdx = paths.indexOf('|');
22 to = paths.slice(delimIdx + 1);
23 paths = paths.slice(0, delimIdx);
29 posix.relative(`${paths}${i}`, `${to}${i}`);
31 posix.relative(paths, to);

12345678910>>...114