Searched refs:newitem (Results 1 – 3 of 3) sorted by relevance
1116 void cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem) { in cJSON_InsertItemInArray() argument1121 cJSON_AddItemToArray(array, newitem); in cJSON_InsertItemInArray()1124 newitem->next = c; in cJSON_InsertItemInArray()1125 newitem->prev = c->prev; in cJSON_InsertItemInArray()1126 c->prev = newitem; in cJSON_InsertItemInArray()1128 array->child = newitem; in cJSON_InsertItemInArray()1130 newitem->prev->next = newitem; in cJSON_InsertItemInArray()1132 void cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem) { in cJSON_ReplaceItemInArray() argument1138 newitem->next = c->next; in cJSON_ReplaceItemInArray()1139 newitem->prev = c->prev; in cJSON_ReplaceItemInArray()[all …]
143 cJSON *newitem); /* Shifts pre-existing items to the right. */144 extern void cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem);146 cJSON *newitem);
308 newitem = {}310 newitem[key] = unpack_item(value)312 newitem = [None] * len(item.value)314 newitem[i] = unpack_item(item.value[i])316 newitem = tuple(newitem)318 newitem = item.value319 return newitem