• Home
  • Raw
  • Download

Lines Matching refs:to_child

1174             cJSON *to_child = to->child;  in create_patches()  local
1178 …dex = 0; (from_child != NULL) && (to_child != NULL); (void)(from_child = from_child->next), (void)… in create_patches()
1189 create_patches(patches, new_path, from_child, to_child, case_sensitive); in create_patches()
1207 for (; (to_child != NULL); (void)(to_child = to_child->next), index++) in create_patches()
1209 … compose_patch(patches, (const unsigned char*)"add", path, (const unsigned char*)"-", to_child); in create_patches()
1218 cJSON *to_child = NULL; in create_patches() local
1223 to_child = to->child; in create_patches()
1225 while ((from_child != NULL) || (to_child != NULL)) in create_patches()
1232 else if (to_child == NULL) in create_patches()
1238 …f = compare_strings((unsigned char*)from_child->string, (unsigned char*)to_child->string, case_sen… in create_patches()
1252 create_patches(patches, new_path, from_child, to_child, case_sensitive); in create_patches()
1256 to_child = to_child->next; in create_patches()
1268 …pose_patch(patches, (const unsigned char*)"add", path, (unsigned char*)to_child->string, to_child); in create_patches()
1270 to_child = to_child->next; in create_patches()
1394 cJSON *to_child = NULL; in generate_merge_patch() local
1410 to_child = to->child; in generate_merge_patch()
1416 while (from_child || to_child) in generate_merge_patch()
1421 if (to_child != NULL) in generate_merge_patch()
1423 diff = strcmp(from_child->string, to_child->string); in generate_merge_patch()
1445 cJSON_AddItemToObject(patch, to_child->string, cJSON_Duplicate(to_child, 1)); in generate_merge_patch()
1447 to_child = to_child->next; in generate_merge_patch()
1452 if (!compare_json(from_child, to_child, case_sensitive)) in generate_merge_patch()
1455 …cJSON_AddItemToObject(patch, to_child->string, cJSONUtils_GenerateMergePatch(from_child, to_child)… in generate_merge_patch()
1460 to_child = to_child->next; in generate_merge_patch()