Lines Matching refs:hash
136 VALUE hash = rb_hash_new();
137 rb_hash_aset(hash, rb_str_new2("value"), value);
139 VALUE args[1] = {hash};
402 const upb_fielddef* f, VALUE hash) {
403 VALUE args[1] = { hash };
419 "Expected string or symbols as hash keys when initializing proto from hash.");
497 rb_raise(rb_eArgError, "Expected hash arguments.");
572 * Message.hash => hash_value
574 * Returns a hash value that represents this message's field values.
613 VALUE hash = rb_hash_new();
660 rb_hash_aset(hash, msg_key, msg_value);
662 return hash;
749 rb_define_method(klass, "hash", Message_hash, 0);