Lines Matching refs:i

48                   for (var i=0; i<GCM_DATA.length; i++) {
49 GOOGLE_DATA.push({id:start+i, label:GCM_DATA[i].label,
50 link:GCM_DATA[i].link, type:GCM_DATA[i].type});
169 for (var i = 0; i < upDirs; i++) {
172 for (var i = 0; i < upDirs; i++) {
173 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
1223 function(i) { argument
1366 $links.each(function(i){ // for each link with a translation argument
1551 for (var i=0;i<tl;i++) {
1552 var li = $("<li>"+i+"</li>");
1554 if (i==o.start) li.addClass('active');
1843 var i; //list item iterator
1867 for (i=0; i<gListLength; i++) {
1869 set_item_values(toroot, $li, gMatches[i]);
1870 set_item_selected($li, i == gSelectedIndex);
1881 for (i=0; i<gGoogleListLength; i++) {
1883 set_item_values(toroot, $li, gGoogleMatches[i]);
1884 set_item_selected($li, i == gSelectedIndex);
1902 for (i=0; i<gDocsListLength; i++) {
1903 var sugg = gDocsMatches[i];
1924 set_item_selected($li, i == gSelectedIndex);
2108 for (var i=0; i<DATA.length; i++) {
2109 var s = DATA[i];
2117 for (var i=0; i<gMatches.length; i++) {
2118 var s = gMatches[i];
2123 for (var i=0; i<GOOGLE_DATA.length; i++) {
2124 var s = GOOGLE_DATA[i];
2132 for (var i=0; i<gGoogleMatches.length; i++) {
2133 var s = gGoogleMatches[i];
2147 for (var i=0; i<TRAINING_RESOURCES.length; i++) {
2150 var s = TRAINING_RESOURCES[i];
2181 for (var i=0; i<GUIDE_RESOURCES.length; i++) {
2184 var s = GUIDE_RESOURCES[i];
2213 for (var i=0; i<TOOLS_RESOURCES.length; i++) {
2216 var s = TOOLS_RESOURCES[i];
2245 for (var i=0; i<ABOUT_RESOURCES.length; i++) {
2248 var s = ABOUT_RESOURCES[i];
2277 for (var i=0; i<DESIGN_RESOURCES.length; i++) {
2280 var s = DESIGN_RESOURCES[i];
2309 for (var i=0; i<DISTRIBUTE_RESOURCES.length; i++) {
2312 var s = DISTRIBUTE_RESOURCES[i];
2341 for (var i=0; i<GOOGLE_RESOURCES.length; i++) {
2344 var s = GOOGLE_RESOURCES[i];
2373 for (var i=0; i<SAMPLES_RESOURCES.length; i++) {
2376 var s = SAMPLES_RESOURCES[i];
2437 for (var i=0; i<matches.length; i++) {
2438 matches[i].__resultScore = _resultScoreFn(matches[i]);
2474 for (var i=0; i<s.length; i++)
2475 if (s.charAt(i) == c) ++n;
2508 for (var i=0; i<matches.length; i++) {
2510 if (matches[i].deprecated == "true") {
2511 matches[i].__resultScore = 0;
2513 matches[i].__resultScore = _resultScoreFn(matches[i]);
2535 for (var i=0; i<gMatches.length; i++) {
2536 gMatches[i].__hilabel = gMatches[i].label.replace(
2539 for (var i=0; i<gGoogleMatches.length; i++) {
2540 gGoogleMatches[i].__hilabel = gGoogleMatches[i].label.replace(
2744 for (var i = 0; i < tabHeaders.length; i++) {
2745 $(tabHeaders[i]).attr("id",i).click(function() {
2867 for (var i = maxLevel-1; i >= 0; i--) {
2868 var option = $("<option />").attr("value",""+SINCE_DATA[i]).append(""+SINCE_DATA[i]);
2908 apis.each(function(i) { argument
3044 for (var i in mom.children_data) {
3045 var node_data = mom.children_data[i];
3046 mom.children[i] = new_node(me, mom, node_data[0], node_data[1],
3082 for (var i in nodes) {
3083 var d = nodes[i];
3085 return new Array(i);
3090 return (new Array(i).concat(result));
3132 for (var i in me.breadcrumbs) {
3133 var j = me.breadcrumbs[i];
3225 for (var i in mom.children_data) {
3226 var node_data = mom.children_data[i];
3232 mom.children[i] = new_google_node(me, mom, linkText, node_data[1],
3254 for (var i in data) {
3255 var node_data = data[i];
3286 for (var i in node_data[NODE_CHILDREN]) {
3287 var child_node_data = node_data[NODE_CHILDREN][i];
3400 expandos.each(function(i) { argument
3405 expandos.each(function(i) { argument
3419 toggles.each(function(i) { argument
3424 toggles.each(function(i) { argument
3435 toggles.each(function(i) { argument
3628 for (var i = 0; i < resources.length; ++i) {
3630 .attr('href', cleanUrl(resources[i].url))
3631 .decorateResourceCard(resources[i],plusone);
3661 for (var i = 0; i < numStacks; ++i) {
3662 $stacks[i] = $('<div>').addClass('resource-card-stack')
3670 for (var i = 0; i < sections.length; ++i) {
3671 if (!sections[i].sections || !sections[i].sections.length) {
3676 .attr('href', cleanUrl(sections[i].resource.url))
3677 .decorateResourceCard(sections[i].resource,plusone)[0]
3684 .decorateResourceSection(sections[i],plusone)[0]
3692 for (var i = 0; i < resources.length; ++i) {
3693 var $card = createResourceElement(resources[i], opts);
3703 for (var i = 0; i < cards.length; ++i) {
3717 $stacks[minIndex].append($(cards[i]));
3755 var i = 0, j = 0;
3758 while (i < resources.length) {
3781 var resource = resources[i];
3783 var $card = createResourceElement(resources[i], opts, plusone);
3800 } while (++i < resources.length && stackCount > 0);
3820 for (var i = 0; i < expressions.length; i++) {
3821 var clauses = expressions[i];
3855 if (i > 1) {
3873 var i = results.length, j, temp;
3874 while (--i) {
3875 j = Math.floor(Math.random() * (i + 1));
3876 temp = results[i];
3877 results[i] = results[j];
3917 for (var i = 0; i < clauses.length; i++) {
3919 switch (clauses[i].attr) {
3921 map = IS_RESOURCE_OF_TYPE[clauses[i].value];
3924 map = IS_RESOURCE_IN_LANG[clauses[i].value];
3927 map = IS_RESOURCE_TAGGED[clauses[i].value];
3931 if (!map || (!!clauses[i].negative ? map[resource.index] : !map[resource.index])) {
3932 return clauses[i].negative;
3952 for (var i = 0; i < expressionStrs.length; i++) {
3953 var expr = expressionStrs[i] || '';
4084 for (var i = 0; i < max; ++i) {
4086 var subResource = section.sections[i];