Home
last modified time | relevance | path

Searched full:want (Results 1 – 25 of 12140) sorted by relevance

12345678910>>...486

/external/toybox/tests/
Ddd.test20 testing "if=(file)" "dd if=input $opt" "I WANT\n" "I WANT\n" ""
21 testing "of=(file)" "dd of=file $opt && cat file" "I WANT\n" "" "I WANT\n"
23 "I WANT\n" "I WANT\n" ""
25 cat foo && rm -f foo" "I WANT\n" "I WANT\n" ""
26 testing "(stdout)" "dd $opt" "I WANT\n" "" "I WANT\n"
29 stat -c \"%s\" outFile && rm -f outFile" "9291431936\n" "I WANT\n" ""
31 "dd if=input of=/dev/null $opt && echo 'yes'" "yes\n" "I WANT\n" ""
43 testing "if=softlink" "dd if=softlink $opt" "I WANT\n" "I WANT\n" ""
48 [ -f file -a -L softlink ] && cat softlink" "I WANT\n" "I WANT\n" ""
52 [ -f input ] && cat input && echo 'yes'" "yes\n" "I WANT\n" ""
[all …]
/external/golang-protobuf/internal/encoding/json/
Ddecode_test.go49 want json.Kind member
53 if got := tok.Kind(); got != x.want {
54 return fmt.Sprintf("Token.Kind(): got %v, want %v", got, x.want)
65 return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Name)
69 return fmt.Sprintf("Token.Name(): got %v, want %v", got, x.val)
80 return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Bool)
84 return fmt.Sprintf("Token.Bool(): got %v, want %v", got, x.val)
95 return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.String)
99 return fmt.Sprintf("Token.ParsedString(): got %v, want %v", got, x.val)
110 return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
[all …]
/external/golang-protobuf/reflect/protoreflect/
Dvalue_test.go24 want interface{}
28 {in: ValueOf(true), want: true},
29 {in: ValueOf(int32(math.MaxInt32)), want: int32(math.MaxInt32)},
30 {in: ValueOf(int64(math.MaxInt64)), want: int64(math.MaxInt64)},
31 {in: ValueOf(uint32(math.MaxUint32)), want: uint32(math.MaxUint32)},
32 {in: ValueOf(uint64(math.MaxUint64)), want: uint64(math.MaxUint64)},
33 {in: ValueOf(float32(math.MaxFloat32)), want: float32(math.MaxFloat32)},
34 {in: ValueOf(float64(math.MaxFloat64)), want: float64(math.MaxFloat64)},
35 {in: ValueOf(string("hello")), want: string("hello")},
36 {in: ValueOf([]byte("hello")), want: []byte("hello")},
[all …]
/external/golang-protobuf/testing/prototest/
Dmessage.go74 t.Errorf("Marshal() = %v, want nil\n%v", err, prototext.Format(m2))
81 t.Errorf("Unmarshal() = %v, want nil\n%v", err, prototext.Format(m2))
90 want := reflect.TypeOf(m)
91 if got := reflect.TypeOf(m.ProtoReflect().Interface()); got != want {
92 … mismatch: reflect.TypeOf(m) != reflect.TypeOf(m.ProtoReflect().Interface()): %v != %v", got, want)
94 if got := reflect.TypeOf(m.ProtoReflect().New().Interface()); got != want {
95 …tch: reflect.TypeOf(m) != reflect.TypeOf(m.ProtoReflect().New().Interface()): %v != %v", got, want)
97 if got := reflect.TypeOf(m.ProtoReflect().Type().Zero().Interface()); got != want {
98 …lect.TypeOf(m) != reflect.TypeOf(m.ProtoReflect().Type().Zero().Interface()): %v != %v", got, want)
125 checkEnumDesc := func(idx int, gotExpr, wantExpr string, got, want protoreflect.EnumDescriptor) {
[all …]
/external/licenseclassifier/
Dclassifier_test.go117 if got, want := m.Name, tt.wantLicense; got != want {
118 t.Errorf("NearestMatch(%q) = %q, want %q", tt.description, got, want)
120 if got, want := m.Confidence, tt.wantConfidence; got < want {
121 t.Errorf("NearestMatch(%q) = %v, want %v", tt.description, got, want)
130 want stringclassifier.Matches
135 want: stringclassifier.Matches{
151 want: stringclassifier.Matches{
165 want: stringclassifier.Matches{
179 want: stringclassifier.Matches{
198 if len(m) != len(tt.want) {
[all …]
/external/golang-protobuf/internal/impl/
Dlegacy_file_test.go59 var tests []struct{ got, want protoreflect.Descriptor }
62 tests = append(tests, []struct{ got, want protoreflect.Descriptor }{{
64 want: fileDescP2_20160225.Enums().ByName("SiblingEnum"),
67 want: fileDescP2_20160225.Messages().ByName("Message").Enums().ByName("ChildEnum"),
70 want: fileDescP2_20160225.Messages().ByName("SiblingMessage"),
73 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("ChildMessage"),
76 want: fileDescP2_20160225.Messages().ByName("Message"),
79 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("NamedGroup"),
82 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("OptionalGroup"),
85 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("RequiredGroup"),
[all …]
/external/licenseclassifier/stringclassifier/internal/pq/
Dpriority_test.go23 t.Fatalf("pq.Len() = %d want 0", n)
28 for i, want := range []string{"C++", "Go", "Java"} {
31 t.Fatalf("pq.Len() = %d want %d", n, wantLen)
33 if s := pq.Min().(string); s != want {
34 t.Fatalf("pq.Min() = %q want %q", s, want)
37 t.Fatalf("pq.Len() = %d want %d", n, wantLen)
39 if s := pq.Pop().(string); s != want {
40 t.Fatalf("pq.Pop() = %q want %q", s, want)
43 t.Fatalf("pq.Len() = %d want %d", n, wantLen-1)
47 t.Fatalf("pq.Len() = %d want 0", n)
[all …]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
DQuickDraw_Graphics_Suite.py20 want = 'carc' variable in arc
24 want = 'fixd' variable in _Prop_arc_angle
28 want = 'qdrt' variable in _Prop_bounds
32 want = 'qdrt' variable in _Prop_definition_rect
36 want = 'cRGB' variable in _Prop_fill_color
40 want = 'cpix' variable in _Prop_fill_pattern
44 want = 'cRGB' variable in _Prop_pen_color
48 want = 'cpix' variable in _Prop_pen_pattern
52 want = 'shor' variable in _Prop_pen_width
56 want = 'fixd' variable in _Prop_start_angle
[all …]
DType_Names_Suite.py20 want = 'EPS ' variable in PostScript_picture
24 want = 'QDpt' variable in point
28 want = 'TEXT' variable in string
36 want = 'TIFF' variable in TIFF_picture
40 want = 'aete' variable in application_dictionary
44 want = 'aeut' variable in system_dictionary
48 want = 'clrt' variable in color_table
52 want = 'cmen' variable in menu_item
56 want = 'cmnu' variable in menu
60 want = 'comp' variable in double_integer
[all …]
DAppleScript_Suite.py745 want = '****' variable in anything
749 want = 'PICT' variable in pictures
755 want = 'STXT' variable in styled_text
761 want = 'TEXT' variable in strings
767 want = 'alis' variable in alias
771 want = 'TEXT' variable in _Prop_POSIX_path
777 want = 'apr ' variable in April
781 want = 'aug ' variable in August
785 want = 'bool' variable in booleans
791 want = 'cRGB' variable in RGB_colors
[all …]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/CodeWarrior/
DMetrowerks_Shell_Suite.py795 want = 'BRKW' variable in Browser_Coloring
799 want = 'bool' variable in _Prop_Browser_Keywords
803 want = 'cRGB' variable in _Prop_Classes_Color
807 want = 'cRGB' variable in _Prop_Constants_Color
811 want = 'cRGB' variable in _Prop_Enums_Color
815 want = 'cRGB' variable in _Prop_Functions_Color
819 want = 'cRGB' variable in _Prop_Globals_Color
823 want = 'cRGB' variable in _Prop_Macros_Color
827 want = 'bool' variable in _Prop_Template_Commands_in_Menu
831 want = 'cRGB' variable in _Prop_Templates_Color
[all …]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/
DType_Definitions.py20 want = 'alst' variable in alias_list
24 want = 'clbl' variable in label
28 want = 'cRGB' variable in _Prop_color
32 want = 'long' variable in _Prop_index
36 want = 'utxt' variable in _Prop_name
40 want = 'cprf' variable in preferences
44 want = 'earr' variable in _Prop_button_view_arrangement
48 want = 'long' variable in _Prop_button_view_icon_size
52 want = 'bool' variable in _Prop_calculates_folder_sizes
56 want = 'shor' variable in _Prop_delay_before_springing
[all …]
DWindow_classes.py20 want = 'brow' variable in Finder_window
24 want = 'cwin' variable in _Prop__3c_Inheritance_3e_
28 want = 'ecvw' variable in _Prop_current_view
32 want = 'icop' variable in _Prop_icon_view_options
36 want = 'lvop' variable in _Prop_list_view_options
40 want = 'obj ' variable in _Prop_target
46 want = 'cwin' variable in window
50 want = 'qdrt' variable in _Prop_bounds
54 want = 'bool' variable in _Prop_closeable
58 want = 'bool' variable in _Prop_collapsed
[all …]
/external/go-cmp/cmp/internal/value/
Dname_test.go20 want string
23 want: "bool",
26 want: "int",
29 want: "float64",
32 want: "string",
35 want: "$PackagePath.Named",
38 want: "chan $PackagePath.Named",
41 want: "<-chan $PackagePath.Named",
44 want: "chan<- $PackagePath.Named",
47 want: "func()",
[all …]
/external/licenseclassifier/stringclassifier/searchset/
Dsearchset_test.go38 want *SearchSet
44 want: &SearchSet{
55 want: &SearchSet{
69 if got := New(tt.text, tt.granularity); !reflect.DeepEqual(got, tt.want) {
70 t.Errorf("New(%q) = %+v, want %+v", tt.description, got, tt.want)
77 want := []string{
82 if len(s.nodes) != len(want) {
83 t.Errorf("Number of nodes %v, want %v", len(s.nodes), len(want))
88 if got := s.nodes[i].String(); got != want[i] {
89 t.Errorf("Nodes = got:\n%s\nwant:\n%s", got, want[i])
[all …]
/external/python/cpython2/Mac/Demo/applescript/Disk_Copy/
DStandard_Suite.py89 want = 'capp' variable in application
93 want = 'vers' variable in version
97 want = 'TEXT' variable in name
101 want = 'TEXT' variable in comment
105 want = 'vers' variable in driver_version
109 want = 'bool' variable in nonejectable_mode
113 want = 'bool' variable in save_log_file
117 want = 'bool' variable in use_speech
121 want = 'bool' variable in smart_Save_As
125 want = 'bool' variable in checksum_verification
[all …]
/external/go-cmp/cmp/internal/diff/
Ddiff_test.go21 want string // '|' separated list of possible outputs
25 want: "",
29 want: ".",
33 want: ".X|X.",
37 want: "MX",
41 want: "XM",
45 want: ".Y|Y.",
49 want: "Y.",
53 want: "X.",
57 want: "XXXXXXXXXX..........",
[all …]
/external/golang-protobuf/internal/encoding/text/
Ddecode_test.go76 return fmt.Sprintf("Token.String() got %q want %q for token: %v", got, s.val, tok.RawString())
98 return fmt.Sprintf("Token.Enum() got %q want %q for token: %v", got, e.val, tok.RawString())
120 return fmt.Sprintf("Token.Bool() got %v want %v for token: %v", got, b.val, tok.RawString())
142 return fmt.Sprintf("Token.Uint64() got %v want %v for token: %v", got, n.val, tok.RawString())
164 return fmt.Sprintf("Token.Uint32() got %v want %v for token: %v", got, n.val, tok.RawString())
186 return fmt.Sprintf("Token.Int64() got %v want %v for token: %v", got, n.val, tok.RawString())
208 return fmt.Sprintf("Token.Int32() got %v want %v for token: %v", got, n.val, tok.RawString())
230 return fmt.Sprintf("Token.Float64() got %v want %v for token: %v", got, n.val, tok.RawString())
252 return fmt.Sprintf("Token.Float32() got %v want %v for token: %v", got, n.val, tok.RawString())
268 // want is a list of expected Tokens returned from calling Decoder.Read.
[all …]
/external/licenseclassifier/stringclassifier/
Dclassifier_test.go148 if got, want := m.Name, tt.name; got != want {
149 t.Errorf("NearestMatch(%q) = %q, want %q", tt.description, got, want)
151 if got, want := m.Confidence, tt.minConf; got < want {
152 … t.Errorf("NearestMatch(%q) returned confidence %v, want minimum of %v", tt.description, got, want)
154 if got, want := m.Confidence, tt.maxConf; got > want {
155 t.Errorf("NearestMatch(%q) = %v, want maxiumum of %v", tt.description, got, want)
186 want []result
192 want: []result{
205 want: []result{
218 want: []result{
[all …]
/external/toolchain-utils/go/patch/go-1.10.2/
Dgo5.patch7 want := "fatal error: all goroutines are asleep - deadlock!\n"
8 if !strings.HasPrefix(output, want) {
9 t.Fatalf("output does not start with %q:\n%s", want, output)
36 want := "no goroutines (main called runtime.Goexit) - deadlock!"
37 if !strings.Contains(output, want) {
38 t.Fatalf("output:\n%s\n\nwant output containing: %s", output, want)
45 if !strings.HasPrefix(output, want) {
46 t.Fatalf("output does not start with %q:\n%s", want, output)
54 want := "no goroutines (main called runtime.Goexit) - deadlock!"
55 if !strings.Contains(output, want) {
[all …]
/external/tensorflow/tensorflow/go/
Doperation_test.go48 if got, want := op.Name(), "my_placeholder"; got != want {
49 t.Errorf("Got '%s', want '%s'", got, want)
51 if got, want := op.Type(), "Placeholder"; got != want {
52 t.Errorf("Got '%s', want '%s'", got, want)
78 if got, want := n, 2; got != want {
79 t.Errorf("Got %d, want %d", got, want)
81 if got, want := op.NumOutputs(), 2; got != want {
82 t.Errorf("Got %d, want %d", got, want)
141 if got, want := c.DataType(), test.dtype; got != want {
142 t.Errorf("Got DataType %v, want %v", got, want)
[all …]
/external/licenseclassifier/stringclassifier/internal/sets/
Dintset_test.go23 want := len(unique)
26 if got != want {
27 t.Errorf("NewIntSet(%v) want length %v, got %v", unique, want, got)
32 want := true
35 if got != want {
36 t.Errorf("Contains(%v) want %v, got %v", s, want, got)
44 want := unique[i]
45 if got != want {
46 t.Errorf("Sorted(%d) want %v, got %v", i, want, got)
63 want := 0
[all …]
/external/licenseclassifier/internal/sets/
Dstringset_test.go23 want := len(unique)
26 if got != want {
27 t.Errorf("NewStringSet(%v) want length %v, got %v", unique, want, got)
32 want := true
35 if got != want {
36 t.Errorf("Contains(%v) want %v, got %v", s, want, got)
44 want := unique[i]
46 if got != want {
47 t.Errorf("Sorted(%d) want %v, got %v", i, want, got)
54 want := 0
[all …]
/external/golang-protobuf/encoding/protojson/
Dencode_test.go40 want string
46 want: "{}",
50 want: "{}",
54 want: "{}",
74 want: `{
106 want: `{
136 want: `{
156 want: `{
170 want: `{
178 want: `{
[all …]
/external/golang-protobuf/proto/
Dencode_test.go29 for _, want := range test.decodeTo {
30 t.Run(fmt.Sprintf("%s (%T)", test.desc, want), func(t *testing.T) {
34 wire, err := opts.Marshal(want)
36 t.Fatalf("Marshal error: %v\nMessage:\n%v", err, prototext.Format(want))
39 size := proto.Size(want)
41 …l disagree: Size(m)=%v; len(Marshal(m))=%v\nMessage:\n%v", size, len(wire), prototext.Format(want))
44 got := want.ProtoReflect().New().Interface()
49 t.Errorf("Unmarshal error: %v\nMessage:\n%v", err, prototext.Format(want))
52 if !proto.Equal(got, want) && got.ProtoReflect().IsValid() && want.ProtoReflect().IsValid() {
53 …al returned unexpected result; got:\n%v\nwant:\n%v", prototext.Format(got), prototext.Format(want))
[all …]

12345678910>>...486