Lines Matching refs:parent_pointer
432 unsigned char *parent_pointer = NULL; in detach_path() local
438 parent_pointer = cJSONUtils_strdup(path); in detach_path()
439 if (parent_pointer == NULL) { in detach_path()
443 child_pointer = (unsigned char*)strrchr((char*)parent_pointer, '/'); /* last '/' */ in detach_path()
452 parent = get_item_from_pointer(object, (char*)parent_pointer, case_sensitive); in detach_path()
475 if (parent_pointer != NULL) in detach_path()
477 cJSON_free(parent_pointer); in detach_path()
813 unsigned char *parent_pointer = NULL; in apply_patch() local
962 parent_pointer = cJSONUtils_strdup((unsigned char*)path->valuestring); in apply_patch()
963 if (parent_pointer) { in apply_patch()
964 child_pointer = (unsigned char*)strrchr((char*)parent_pointer, '/'); in apply_patch()
971 parent = get_item_from_pointer(object, (char*)parent_pointer, case_sensitive); in apply_patch()
1030 if (parent_pointer != NULL) in apply_patch()
1032 cJSON_free(parent_pointer); in apply_patch()