Lines Matching defs:fail
467 return 0; /* memory fail */
608 return 0; /* memory fail */
618 return 0; /* memory fail */
624 if (!value) return 0; /* memory fail */
638 int numentries = 0, fail = 0, j = 0;
661 while (child && !fail) {
687 while (child && !fail) {
693 fail = 1;
697 /* If we didn't fail, try to malloc the output string */
698 if (!fail) out = (char *)cJSON_malloc(item->pAllocator, len);
699 /* If that fails, we fail. */
700 if (!out) fail = 1;
703 if (fail) {
756 } /* fail! */
765 return 0; /* memory fail */
777 } /* fail! */
793 int numentries = 0, fail = 0, k;
884 fail = 1;
889 if (!fail) out = (char *)cJSON_malloc(item->pAllocator, len);
890 if (!out) fail = 1;
893 if (fail) {