Lines Matching refs:index

549           var index = virtHashCode(allEntries[j].key) % buckets.length;
550 var bucket = buckets[index];
552 buckets[index] = bucket = [];
712 var index = virtHashCode(key) % buckets.length;
713 var bucket = buckets[index];
757 var index = virtHashCode(key) % buckets.length;
758 var bucket = buckets[index];
791 var index = virtHashCode(key) % buckets.length;
792 var bucket = buckets[index];
795 buckets[index] = [{
827 var index = virtHashCode(key) % buckets.length;
828 var bucket = buckets[index];
840 buckets[index] = undef;
1927 var index = 0;
1933 p.vertex(this.vertices[index][0], this.vertices[index][1]);
1934 if ( this.vertices[index]["moveTo"] === true) {
1936 } else if ( this.vertices[index]["moveTo"] === false) {
1940 index++;
1943 p.bezierVertex(this.vertices[index+0][0], this.vertices[index+0][1],
1944 this.vertices[index+1][0], this.vertices[index+1][1],
1945 this.vertices[index+2][0], this.vertices[index+2][1]);
1946 index += 3;
1949 p.curveVertex(this.vertices[index][0], this.vertices[index][1]);
1950 index++;
1961 … p.vertex(this.vertices[index][0], this.vertices[index][1], this.vertices[index][2]);
1962 if (this.vertices[index]["moveTo"] === true) {
1964 } else if (this.vertices[index]["moveTo"] === false) {
1970 … p.bezierVertex(this.vertices[index+0][0], this.vertices[index+0][1], this.vertices[index+0][2],
1971 … this.vertices[index+1][0], this.vertices[index+1][1], this.vertices[index+1][2],
1972 … this.vertices[index+2][0], this.vertices[index+2][1], this.vertices[index+2][2]);
1973 index += 3;
1976 … p.curveVertex(this.vertices[index][0], this.vertices[index][1], this.vertices[index][2]);
1977 index++;
3192 var index = this.fullName.indexOf(':');
3193 if (index >= 0) {
3194 this.name = this.fullName.substring(index + 1);
3361 insertChild: function (child, index) { argument
3371 this.children.splice(index,0,child);
3374 getChild: function (index){ argument
3375 if (typeof index === "number") {
3376 return this.children[index];
3378 else if (index.indexOf('/') !== -1) { // path was given
3379 this.getChildRecursive(index.split("/"), 0);
3385 if (kidName !== null && kidName === index) {
3499 removeChildAtIndex: function(index) { argument
3500 if (this.children.length > index) { //make sure its not outofbounds
3501 this.children.splice(index, 0);
3515 var index = arguments[0].indexOf(':');
3516 var name = arguments[0].substring(index + 1);
3543 var index = arguments[0].indexOf(':');
3544 if ((arguments[1] === null) || (index < 0)) {
3547 this.name = arguments[0].substring(index + 1);
4206 var index = 0;
4213 ary[index] = str.substring(0, pos);
4214 index++;
4221 ary[index] = str;
4276 p.splice = function(array, value, index) { argument
4290 for(var i = 0, j = index; i < value.length; j++,i++) {
4294 array.splice(index, 0, value);
8405 var index = (j * cvs.width + i) * 4;
8406 textureImage.data[index + 0] = imgData.data[index + 0];
8407 textureImage.data[index + 1] = imgData.data[index + 1];
8408 textureImage.data[index + 2] = imgData.data[index + 2];
8409 textureImage.data[index + 3] = 255;
11784 var index = atoms.length; atoms.push(result + item);
11785 result = stack.pop() + '"' + kind + (index + 1) + '"';
11794 return code.replace(/'(\d+)'/g, function(all, index) { argument
11795 var val = strings[index];
11810 result = {left: m1[0], middle: string.substring(m1[0].length, m2.index), right: m2[0]};
11843 var index;
11845 index = strings.length; strings.push(all);
11846 return "'" + index + "'";
11848 index = strings.length; strings.push(regex);
11849 return prefix + "'" + index + "'";
11965 …$][\w$]*\b(?:\s*\.\s*[A-Za-z_$][\w$]*\b)*)\s*("C\d+"(?:\s*"C\d+")*)/g, function(all, type, index) { argument
11966 var args = index.replace(/"C(\d+)"/g, function(all, j) { return atoms[j]; }).
11979 s = s.replace(/"B(\d+)"(\s*(?:[\w$']|"B))/g, function(all, index, next) { argument
11980 var atom = atoms[index];
12012 function(all, indexOrLength, index, atomIndex, equalsPart, rightSide) { argument
12013 if(index) {
12136 result = result.replace(/"[ABC](\d+)"/g, function(all, index) { argument
12137 return expandExpression(atoms[index]);
12161 return expr.replace(/"!(\d+)"/g, function(all, index) { argument
12162 return transforms[index].toString();
12169 s = s.replace(/"H(\d+)"/g, function(all, index) { argument
12170 transforms.push(transformFunction(atoms[index]));
12173 s = s.replace(/"F(\d+)"/g, function(all, index) { argument
12174 transforms.push(transformInlineClass(atoms[index]));
12177 s = s.replace(/"I(\d+)"/g, function(all, index) { argument
12178 transforms.push(transformInlineObject(atoms[index]));
12527 declarations = declarations.replace(/"([DEGH])(\d+)"/g, function(all, type, index) { argument
12528 if(type === 'D') { methods.push(index); }
12529 else if(type === 'E') { classes.push(index); }
12530 else if(type === 'H') { functions.push(index); }
12531 else { cstrs.push(index); }
12900 index = /^\{(\d*?)\}$/.exec(fontName);
12902 sketch.fonts.add(index ? JSON.parse("{" + jsonItems[index[1]] + "}") : fontName);