Lines Matching refs:i
59 int i; in ParsePatchArgs() local
60 for (i = 0; i < *num_patches; ++i) { in ParsePatchArgs()
61 char* colon = strchr(argv[i], ':'); in ParsePatchArgs()
67 if (ParseSha1(argv[i], digest) != 0) { in ParsePatchArgs()
68 printf("failed to parse sha1 \"%s\"\n", argv[i]); in ParsePatchArgs()
72 (*sha1s)[i] = argv[i]; in ParsePatchArgs()
74 (*patches)[i] = NULL; in ParsePatchArgs()
80 (*patches)[i] = malloc(sizeof(Value)); in ParsePatchArgs()
81 (*patches)[i]->type = VAL_BLOB; in ParsePatchArgs()
82 (*patches)[i]->size = fc.size; in ParsePatchArgs()
83 (*patches)[i]->data = (char*)fc.data; in ParsePatchArgs()
90 for (i = 0; i < *num_patches; ++i) { in ParsePatchArgs()
91 Value* p = (*patches)[i]; in ParsePatchArgs()
140 int i; in PatchMode() local
141 for (i = 0; i < num_patches; ++i) { in PatchMode()
142 Value* p = patches[i]; in PatchMode()