Home
last modified time | relevance | path

Searched refs:newitem (Results 1 – 3 of 3) sorted by relevance

/petsc/src/mat/tests/
H A DcJSON.c1744 CJSON_PUBLIC(cJSON_bool) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem) in cJSON_InsertItemInArray() argument
1751 if (after_inserted == NULL) return add_item_to_array(array, newitem); in cJSON_InsertItemInArray()
1753 newitem->next = after_inserted; in cJSON_InsertItemInArray()
1754 newitem->prev = after_inserted->prev; in cJSON_InsertItemInArray()
1755 after_inserted->prev = newitem; in cJSON_InsertItemInArray()
1757 array->child = newitem; in cJSON_InsertItemInArray()
1759 newitem->prev->next = newitem; in cJSON_InsertItemInArray()
1792 CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem) in cJSON_ReplaceItemInArray() argument
1796 return cJSON_ReplaceItemViaPointer(array, get_array_item(array, (size_t)which), newitem); in cJSON_ReplaceItemInArray()
1813 …SON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInObject(cJSON *object, const char *string, cJSON *newitem) in cJSON_ReplaceItemInObject() argument
[all …]
H A DcJSON.h238 CJSON_PUBLIC(cJSON_bool) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem); /* Shift…
240 CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem);
241 …ON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInObject(cJSON *object, const char *string, cJSON *newitem);
242 …ON_bool) cJSON_ReplaceItemInObjectCaseSensitive(cJSON *object, const char *string, cJSON *newitem);
/petsc/src/sys/classes/viewer/interface/
H A Dviewreg.c70 int newitem; in PetscOptionsHelpPrintedCheck() local
85 kh_put(HTPrinted, hp->printed, both, &newitem); in PetscOptionsHelpPrintedCheck()
86 if (!newitem) PetscCall(PetscSegBufferUnuse(hp->strings, lboth)); in PetscOptionsHelpPrintedCheck()
87 *found = newitem ? PETSC_FALSE : PETSC_TRUE; in PetscOptionsHelpPrintedCheck()