Lines Matching refs:new_path
1173 …unsigned char *new_path = (unsigned char*)cJSON_malloc(strlen((const char*)path) + 20 + sizeof("/"… in create_patches() local
1183 cJSON_free(new_path); in create_patches()
1186 …sprintf((char*)new_path, "%s/%lu", path, (unsigned long)index); /* path of the current array eleme… in create_patches()
1187 create_patches(patches, new_path, from_child, to_child, case_sensitive); in create_patches()
1198 cJSON_free(new_path); in create_patches()
1201 sprintf((char*)new_path, "%lu", (unsigned long)index); in create_patches()
1202 compose_patch(patches, (const unsigned char*)"remove", path, new_path, NULL); in create_patches()
1209 cJSON_free(new_path); in create_patches()
1244 …unsigned char *new_path = (unsigned char*)cJSON_malloc(path_length + from_child_name_length + size… in create_patches() local
1246 sprintf((char*)new_path, "%s/", path); in create_patches()
1247 … encode_string_as_pointer(new_path + path_length + 1, (unsigned char*)from_child->string); in create_patches()
1250 create_patches(patches, new_path, from_child, to_child, case_sensitive); in create_patches()
1251 cJSON_free(new_path); in create_patches()