Lines Matching defs:entries
145 var entries = [];
152 entries.push([entry.key, valueToObject(includeInstance, valueWrapper)]);
154 entries.push([entry.key, entry.value]);
157 return entries;
167 * @param {!Array<!Array<!Object>>} entries
174 jspb.Map.fromObject = function(entries, valueCtor, valueFromObject) {
176 for (var i = 0; i < entries.length; i++) {
177 var key = entries[i][0];
178 var value = valueFromObject(entries[i][1]);
257 * This is redundant compared to the plain entries() method, but we provide this
264 var entries = [];
269 entries.push([entry.key, entry.value]);
271 return entries;
280 jspb.Map.prototype.entries = function() {
281 var entries = [];
286 entries.push([entry.key, this.wrapEntry_(entry)]);
288 return new jspb.Map.ArrayIteratorIterable_(entries);
325 * Iterates over entries in the map, calling a function on each.
464 * The default value for the type of map keys. Accepting map entries with
469 * The default value for the type of map values. Accepting map entries with