/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | protobuf.h | 74 - Ruby's "TypedData" abstraction lets a Ruby VALUE hold a pointer to a C 111 VALUE def_to_descriptor; // Hash table of def* -> Ruby descriptor. 124 VALUE klass; 125 VALUE descriptor_pool; 130 VALUE descriptor_pool; // Owns the upb_filedef. 135 VALUE descriptor_pool; // Owns the upb_fielddef. 140 VALUE descriptor_pool; // Owns the upb_oneofdef. 145 VALUE module; // begins as nil 146 VALUE descriptor_pool; // Owns the upb_enumdef. 151 VALUE file_builde [all...] |
H A D | defs.c | 39 static const char* get_str(VALUE str) { in get_str() 44 static VALUE rb_str_maybe_null(const char* s) { in rb_str_maybe_null() 167 static void rewrite_nesting(VALUE msg_ent, google_protobuf_DescriptorProto* msg, in rewrite_nesting() 171 VALUE submsgs = rb_hash_aref(msg_ent, ID2SYM(rb_intern("msgs"))); in rewrite_nesting() 172 VALUE enum_pos = rb_hash_aref(msg_ent, ID2SYM(rb_intern("enums"))); in rewrite_nesting() 191 VALUE submsg_ent = RARRAY_PTR(submsgs)[i]; in rewrite_nesting() 192 VALUE pos = rb_hash_aref(submsg_ent, ID2SYM(rb_intern("pos"))); in rewrite_nesting() 203 VALUE pos = RARRAY_PTR(enum_pos)[i]; in rewrite_nesting() 249 static void rewrite_names(VALUE _file_builder, in rewrite_names() 254 VALUE packag in rewrite_names() [all...] |
H A D | map.c | 66 static VALUE table_key(Map* self, VALUE key, in table_key() 103 static VALUE table_key_to_ruby(Map* self, upb_strview key) { in table_key_to_ruby() 107 VALUE ret = rb_str_new(key.data, key.size); in table_key_to_ruby() 140 VALUE cMap; 142 Map* ruby_to_Map(VALUE _self) { in ruby_to_Map() 174 VALUE Map_alloc(VALUE klass) { in Map_alloc() 181 VALUE Map_set_frame(VALUE ma [all...] |
H A D | repeated_field.c | 42 VALUE cRepeatedField; 44 RepeatedField* ruby_to_RepeatedField(VALUE _self) { in ruby_to_RepeatedField() 54 static int index_position(VALUE _index, RepeatedField* repeated_field) { in index_position() 62 VALUE RepeatedField_subarray(VALUE _self, long beg, long len) { in RepeatedField_subarray() 66 VALUE field_type_class = self->field_type_class; in RepeatedField_subarray() 68 VALUE ary = rb_ary_new2(len); in RepeatedField_subarray() 73 VALUE elem = native_slot_get(field_type, field_type_class, mem); in RepeatedField_subarray() 87 VALUE RepeatedField_each(VALUE _sel [all...] |
H A D | message.c | 60 VALUE Message_alloc(VALUE klass) { in Message_alloc() 61 VALUE descriptor = rb_ivar_get(klass, descriptor_instancevar_interned); in Message_alloc() 64 VALUE ret; in Message_alloc() 134 VALUE ruby_wrapper_type(VALUE type_class, VALUE value) { in ruby_wrapper_type() 136 VALUE hash = rb_hash_new(); in ruby_wrapper_type() 139 VALUE args[1] = {hash}; in ruby_wrapper_type() 146 static int extract_method_call(VALUE method_nam [all...] |
H A D | encode_decode.c | 33 VALUE initialize_rb_class_with_no_args(VALUE klass) { in initialize_rb_class_with_no_args() 41 VALUE noleak_rb_str_cat(VALUE rb_str, const char *str, long len) { in noleak_rb_str_cat() 142 VALUE subklass; 150 VALUE subklass) { in newsubmsghandlerdata() 168 VALUE subklass; 199 return (void*)DEREF(msg, *ofs, VALUE); in startseq_handler() 206 VALUE ary = (VALUE)closur [all...] |
H A D | storage.c | 50 case UPB_TYPE_STRING: return sizeof(VALUE); in native_slot_size() 51 case UPB_TYPE_BYTES: return sizeof(VALUE); in native_slot_size() 52 case UPB_TYPE_MESSAGE: return sizeof(VALUE); in native_slot_size() 62 static bool is_ruby_num(VALUE value) { in is_ruby_num() 68 void native_slot_check_int_range_precision(const char* name, upb_fieldtype_t type, VALUE val) { in native_slot_check_int_range_precision() 94 VALUE native_slot_encode_and_freeze_string(upb_fieldtype_t type, VALUE value) { in native_slot_encode_and_freeze_string() 97 VALUE desired_encoding_value = rb_enc_from_encoding(desired_encoding); in native_slot_encode_and_freeze_string() 117 upb_fieldtype_t type, VALUE type_class, in native_slot_set() 118 void* memory, VALUE valu in native_slot_set() [all...] |
H A D | protobuf.c | 33 VALUE cError; 34 VALUE cParseError; 35 VALUE cTypeError; 36 VALUE c_only_cookie = Qnil; 38 static VALUE cached_empty_string = Qnil; 39 static VALUE cached_empty_bytes = Qnil; 41 static VALUE create_frozen_string(const char* str, size_t size, bool binary) { in create_frozen_string() 42 VALUE str_rb = rb_str_new(str, size); in create_frozen_string() 50 VALUE get_frozen_string(const char* str, size_t size, bool binary) { in get_frozen_string() 97 VALUE googl in Init_protobuf_c() [all...] |
/third_party/cmsis/CMSIS/Core/Include/m-profile/ |
H A D | cmsis_iccarm_m.h | 343 #define __set_FPSCR(VALUE) (__arm_wsr("FPSCR", (VALUE))) 346 #define __set_FPSCR(VALUE) ((void)VALUE) 373 #define __set_BASEPRI(VALUE) (__arm_wsr("BASEPRI", (VALUE))) 374 #define __set_BASEPRI_MAX(VALUE) (__arm_wsr("BASEPRI_MAX", (VALUE))) 382 #define __set_FAULTMASK(VALUE) (__arm_wsr("FAULTMASK", (VALUE))) [all...] |
/third_party/ffmpeg/tools/ |
H A D | gen-rc | 104 VALUE "CompanyName", "FFmpeg Project" 105 VALUE "FileDescription", "$comment" 106 VALUE "FileVersion", AV_STRINGIFY($version) 107 VALUE "InternalName", "$name" 108 VALUE "LegalCopyright", "Copyright (C) 2000-" AV_STRINGIFY(CONFIG_THIS_YEAR) " FFmpeg Project" 109 VALUE "OriginalFilename", "$shortname" BUILDSUF "-" AV_STRINGIFY(${version}_MAJOR) SLIBSUF 110 VALUE "ProductName", "FFmpeg" 111 VALUE "ProductVersion", FFMPEG_VERSION 117 VALUE "Translation", 0x0409, 0x04B0
|
/third_party/ltp/testcases/kernel/syscalls/lgetxattr/ |
H A D | lgetxattr02.c | 36 #define VALUE "this is a test value" macro 43 {"testfile", sizeof(VALUE), ENODATA}, 45 {(char *)-1, sizeof(VALUE), EFAULT} 74 res = lsetxattr("symlink", SECURITY_KEY, VALUE, strlen(VALUE), XATTR_CREATE); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/llistxattr/ |
H A D | llistxattr01.c | 32 #define VALUE "test" macro 33 #define VALUE_SIZE (sizeof(VALUE) - 1) 80 SAFE_LSETXATTR(TESTFILE, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup() 82 SAFE_LSETXATTR(SYMLINK, SECURITY_KEY2, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
|
H A D | llistxattr03.c | 29 #define VALUE "test" macro 30 #define VALUE_SIZE (sizeof(VALUE) - 1) 66 SAFE_LSETXATTR(filename[1], SECURITY_KEY, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
|
H A D | llistxattr02.c | 37 #define VALUE "test" macro 38 #define VALUE_SIZE (sizeof(VALUE) - 1) 84 SAFE_LSETXATTR(SYMLINK, SECURITY_KEY, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
|
/third_party/gn/src/base/strings/ |
H A D | string_number_conversions.cc | 247 template <typename ITERATOR, typename VALUE, int BASE> 251 typedef VALUE value_type; 285 template <typename VALUE, int BASE> 288 VALUE, 291 template <typename VALUE> 292 bool StringToIntImpl(std::string_view input, VALUE* output) { in StringToIntImpl() 293 return IteratorRangeToNumber<StringPieceToNumberTraits<VALUE, 10>>::Invoke( in StringToIntImpl() 297 template <typename VALUE, int BASE> 300 VALUE, 303 template <typename VALUE> [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/malloc/malloc_gtest/ |
H A D | malloc_free_test.cpp | 11 constexpr int VALUE = 5; variable 23 *memoryBlock = VALUE; in HWTEST_F() 25 EXPECT_TRUE(*memoryBlock == VALUE); in HWTEST_F()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/utils/ |
H A D | Debug.h | 44 template <typename VALUE> 45 std::ostream& Write(std::ostream& out, VALUE&& value); 92 template <typename VALUE> 93 std::ostream& Write(std::ostream& out, VALUE&& value) { in Write() 94 return out << std::forward<VALUE>(value); in Write()
|
/third_party/ltp/testcases/kernel/syscalls/flistxattr/ |
H A D | flistxattr03.c | 29 #define VALUE "test" macro 30 #define VALUE_SIZE (sizeof(VALUE) - 1) 64 SAFE_FSETXATTR(fd[1], SECURITY_KEY, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
|
H A D | flistxattr01.c | 31 #define VALUE "test" macro 32 #define VALUE_SIZE (sizeof(VALUE) - 1) 71 SAFE_FSETXATTR(fd, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
|
H A D | flistxattr02.c | 33 #define VALUE "test" macro 34 #define VALUE_SIZE (sizeof(VALUE) - 1) 75 SAFE_FSETXATTR(fd1, SECURITY_KEY, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/listxattr/ |
H A D | listxattr03.c | 28 #define VALUE "test" macro 29 #define VALUE_SIZE (sizeof(VALUE) - 1) 65 SAFE_SETXATTR(filename[1], SECURITY_KEY, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
|
H A D | listxattr01.c | 31 #define VALUE "test" macro 32 #define VALUE_SIZE (sizeof(VALUE) - 1) 70 SAFE_SETXATTR(TESTFILE, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_eventfd_test.cpp | 13 constexpr unsigned int VALUE = 2; variable 24 int eventFd = eventfd(VALUE, EFD_CLOEXEC); in HWTEST_F() 41 int eventFd = eventfd(VALUE, EFD_NONBLOCK | EFD_CLOEXEC); in HWTEST_F()
|
/third_party/cmsis/CMSIS/Core/Include/a-profile/ |
H A D | cmsis_iccarm_a.h | 233 #define __set_FPSCR(VALUE) (__arm_wsr("FPSCR", (VALUE))) 236 #define __set_FPSCR(VALUE) ((void)VALUE) 242 #define __set_CPSR(VALUE) (__arm_wsr("CPSR", (VALUE))) 243 #define __set_mode(VALUE) (__arm_wsr("CPSR_c", (VALUE))) 247 #define __set_FPEXC(VALUE) (__arm_wsr("FPEXC", VALUE)) [all...] |
/third_party/ltp/testcases/kernel/syscalls/removexattr/ |
H A D | removexattr01.c | 41 #define VALUE "test" macro 42 #define VALUE_SIZE (sizeof(VALUE) - 1) 74 n = setxattr("testfile", USER_KEY, VALUE, VALUE_SIZE, XATTR_CREATE); in verify_removexattr()
|