Lines Matching refs:new_path
1175 …unsigned char *new_path = (unsigned char*)cJSON_malloc(strlen((const char*)path) + 20 + sizeof("/"… in create_patches() local
1185 cJSON_free(new_path); in create_patches()
1188 …sprintf((char*)new_path, "%s/%lu", path, (unsigned long)index); /* path of the current array eleme… in create_patches()
1189 create_patches(patches, new_path, from_child, to_child, case_sensitive); in create_patches()
1200 cJSON_free(new_path); in create_patches()
1203 sprintf((char*)new_path, "%lu", (unsigned long)index); in create_patches()
1204 compose_patch(patches, (const unsigned char*)"remove", path, new_path, NULL); in create_patches()
1211 cJSON_free(new_path); in create_patches()
1246 …unsigned char *new_path = (unsigned char*)cJSON_malloc(path_length + from_child_name_length + size… in create_patches() local
1248 sprintf((char*)new_path, "%s/", path); in create_patches()
1249 … encode_string_as_pointer(new_path + path_length + 1, (unsigned char*)from_child->string); in create_patches()
1252 create_patches(patches, new_path, from_child, to_child, case_sensitive); in create_patches()
1253 cJSON_free(new_path); in create_patches()