/third_party/protobuf/objectivec/Tests/ |
H A D | unittest_runtime_proto3.proto | 36 FOO = 0; 125 FOO = 0;
|
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | php-upb.c | 11 * #include "upb/foobar.h" 7745 /* Regular messages: {"@type": "...","foo": 1, "bar": 2} */ in jsonenc_any()
|
H A D | php-upb.h | 10 * #include "upb/foobar.h"
|
H A D | message.c | 117 * isset($message->foobar); 118 * property_exists($message->foobar); 154 * unset($message->foobar); 188 * $x = $message->foobar; 229 * $message->foobar = $x;
|
H A D | names.h | 36 // Translates a protobuf symbol name (eg. foo.bar.Baz) into a PHP class name 37 // (eg. \Foo\Bar\Baz).
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | reflection_test.py | 171 bb=message_module.TestAllTypes.FOO), 186 bb=message_module.TestAllTypes.FOO), 199 TypeError, message_module.TestAllTypes, optional_int32='foo') 207 TypeError, message_module.TestAllTypes, repeated_int32=['foo']) 317 proto.optional_string = 'foo' 323 (proto.DESCRIPTOR.fields_by_name['optional_string' ], 'foo') ], 330 (proto.DESCRIPTOR.fields_by_name['optional_string' ], 'foo'), 340 proto.repeated_string.extend(['foo', 'bar']) 351 ['foo', 'bar', 'baz', '0', '1']) ], 383 self.assertRaises(TypeError, setattr, proto, 'optional_int32', 'foo') [all...] |
H A D | python_message.py | 99 myproto.foo_field = 23 1272 the top-level message, e.g. "foo.bar[5].baz". 1490 foo.bar.baz.qux = 23 1491 assert foo.HasField('bar')
|
H A D | service_reflection_test.py | 48 class FooUnitTest(unittest.TestCase): class 75 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 76 self.assertEqual('Method Foo not implemented.', 94 def Foo(self, rpc_controller, request, done): member in FooUnitTest.testService.MyServiceImpl 95 self.foo_called = True 101 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 103 self.assertEqual(True, srvc.foo_called) 135 stub.Foo(rpc_controlle [all...] |
H A D | proto_builder_test.py | 54 ('foo', descriptor_pb2.FieldDescriptorProto.TYPE_INT64), 65 proto.foo = 12345 76 proto.foo = 12345 79 'foo: 12345\nbar: "asdf"\n', text_format.MessageToString(proto))
|
H A D | test_proto3_optional.proto | 45 FOO = 1;
|
H A D | packed_field_test.proto | 37 FOO = 0;
|
H A D | test_bad_identifiers.proto | 46 optional string message = 100 [default = "foo"];
|
/third_party/protobuf/ruby/ |
H A D | README.md | 42 mymessage.field3 = SubMessage.new(:foo => 100)
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | upb.c | 11 * #include "upb/foobar.h"
|
H A D | upb.h | 10 * #include "upb/foobar.h" 5406 * sink->StartString(FOO_FIELD_START_STRING, ...) 5408 * sink->StartString(FOO_FIELD, ...)
|
H A D | message.c | 242 // Method calls like 'has_foo?' are not allowed if field "foo" does not have in extract_method_call() 270 * message instance 'msg' with field 'foo', the following code is valid: 272 * msg.foo = 42 273 * puts msg.foo
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_unittest.cc | 221 WriteString(output, "foobar"); in WriteStuff() 238 ReadString(input, "foo"); in ReadStuff()
|
H A D | tokenizer_unittest.cc | 235 {"\"foo\"", Tokenizer::TYPE_STRING}, 347 {"foo 1 1.2 + 'bar'", 349 {Tokenizer::TYPE_IDENTIFIER, "foo", 0, 0, 3}, 368 {"foo bar\nrab oof", 370 {Tokenizer::TYPE_IDENTIFIER, "foo", 0, 0, 3}, 378 {"foo\tbar \tbaz", 380 {Tokenizer::TYPE_IDENTIFIER, "foo", 0, 0, 3}, 387 {"\"foo\tbar\" baz", 389 {Tokenizer::TYPE_STRING, "\"foo\tbar\"", 0, 0, 12}, 395 {"foo // Thi [all...] |
/third_party/python/Lib/test/ |
H A D | test_compile.py | 330 l = lambda: "foo" 455 ['<deffunc>', """def foo():\n pass\nfoo()\n"""], 829 def foo(): 834 def foo(): 839 def foo(x): 844 def foo(x): 851 func = namespace['foo'] 1356 code = compile(code, "<foo>", "single") 1413 compile(code, "<foo>", "single") 1420 compile(code, "<foo>", "singl [all...] |
H A D | test_coroutines.py | 83 """def foo(): 89 """async def foo(): 93 """async def foo(): 97 """async def foo(a=await something()): 101 """async def foo(a:await something()): 105 """async def foo(): 110 """async def foo(): 115 """async def foo(): 121 """async def foo(): 128 """async def foo() 529 async def foo(): global() function 546 async def foo(): global() function 555 async def foo(): global() function 563 async def foo(): global() function 596 async def foo(): global() function 621 async def foo(): global() function 635 def foo(): global() function 651 async def foo(): global() function 659 async def foo(): global() function 695 async def foo(): global() function 876 def foo(): global() function 903 async def foo(): global() function 910 async def foo(): global() function 963 async def foo(): global() function 969 async def foo(): global() function 975 async def foo(): global() function 985 async def foo(): global() function 995 async def foo(): global() function 1008 async def foo(): global() function 1019 async def foo(): global() function 1028 async def foo(): return await Awaitable() global() function 1042 async def foo(): global() function 1051 async def foo2(): global() function 1064 async def foo(): global() function 1076 async def foo(): global() function 1079 async def foo2(): global() function 1093 async def foo(): global() function 1107 async def foo(): global() function 1200 async def foo(): global() function 1214 async def foo(): global() function 1228 async def foo(): global() function 1244 async def foo(): global() function 1259 async def foo(): global() function 1296 async def foo(): global() function 1316 async def foo(): global() function 1344 async def foo(): global() function 1356 async def foo(): global() function 1370 async def foo(): global() function 1384 async def foo(): global() function 1407 async def foo(): global() function 1427 async def foo(): global() function 1453 async def foo(): global() function 1475 async def foo(): global() function 1493 async def foo(): global() function 1580 async def foo(): global() function 1599 async def foo(): global() function 1622 async def foo(): global() function 1731 async def foo(): global() function 1745 async def foo(): global() function 1792 async def foo(): global() function 1815 async def foo(): global() function 2437 async def foo(): global() function 2452 async def foo(): global() function [all...] |
H A D | test_contextlib.py | 148 self.assertFalse(ctx.__exit__(TypeError, TypeError("foo"), None)) 160 RuntimeError, ctx.__exit__, TypeError, TypeError("foo"), None 250 @attribs(foo='bar') 258 self.assertEqual(baz.foo, 'bar') 474 with self.assertRaisesRegex(NameError, 'foo'): 476 raise NameError('foo') 483 raise NameError('foo') 506 raise NameError('foo') 508 with self.assertRaisesRegex(NameError, 'foo'):
|
H A D | test_compileall.py | 301 fullpath = ["test", "foo"] 367 prependdir = "/foo" 383 prependdir = "/foo" 404 stripdir="/foo", prependdir="/bar") 497 self.pkgdir = os.path.join(self.directory, 'foo') 717 pkgdir2 = os.path.join(self.directory, 'foo2') 821 pkgdir = os.path.join(self.directory, 'foo{}'.format(suffix)) 846 prependdir = "/foo"
|
H A D | test_copy.py | 33 def __init__(self, foo): 34 self.foo = foo 36 return C(self.foo) 40 self.assertEqual(y.foo, x.foo) 44 def __new__(cls, foo): 46 obj.foo = foo 49 return (C, (obj.foo,)) 794 def foo(x, y): return x+y global() function 801 def foo(x, y): return x+y global() function 895 class Foo(object): global() class [all...] |
H A D | test_contextlib_async.py | 193 self.assertFalse(await ctx.__aexit__(TypeError, TypeError("foo"), None)) 206 await ctx.__aexit__(TypeError, TypeError('foo'), None) 316 @attribs(foo='bar') 325 self.assertEqual(baz.foo, 'bar') 411 raise NameError('foo') 414 with self.assertRaisesRegex(NameError, 'foo'):
|
H A D | test_context.py | 109 kwargs['spam'] = 'foo' 116 self.assertEqual(ctx.run(f), (('bar',), {'spam': 'foo'})) 117 self.assertEqual(ctx.run(f, 1), ((1, 'bar'), {'spam': 'foo'})) 121 (('bar',), {'a': 2, 'spam': 'foo'})) 125 ((11, 'bar'), {'a': 2, 'spam': 'foo'})) 130 ((11, 'bar'), {'spam': 'foo'}))
|