Lines Matching refs:line
420 char line[MAXLINE]; in createFromSharedObject() local
449 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
452 if (sscanf(line, EXPORT_VAR_STR "%zu", &varCount) != 1) { in createFromSharedObject()
453 ALOGE("Invalid export var count!: %s", line); in createFromSharedObject()
473 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
476 char *c = strrchr(line, '\n'); in createFromSharedObject()
480 void* addr = dlsym(sharedObj, line); in createFromSharedObject()
483 line, dlerror()); in createFromSharedObject()
488 fieldName[i] = duplicateString(line, sizeof(line)); in createFromSharedObject()
491 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
494 if (sscanf(line, EXPORT_FUNC_STR "%zu", &funcCount) != 1) { in createFromSharedObject()
495 ALOGE("Invalid export func count!: %s", line); in createFromSharedObject()
505 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
508 char *c = strrchr(line, '\n'); in createFromSharedObject()
513 invokeFunctions[i] = (InvokeFunc_t) dlsym(sharedObj, line); in createFromSharedObject()
516 line, dlerror()); in createFromSharedObject()
521 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
524 if (sscanf(line, EXPORT_FOREACH_STR "%zu", &forEachCount) != 1) { in createFromSharedObject()
525 ALOGE("Invalid export forEach count!: %s", line); in createFromSharedObject()
543 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
546 if (sscanf(line, "%u - %" MAKE_STR(MAXLINESTR) "s", in createFromSharedObject()
548 ALOGE("Invalid export forEach!: %s", line); in createFromSharedObject()
568 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
571 if (sscanf(line, EXPORT_REDUCE_STR "%zu", &reduceCount) != 1) { in createFromSharedObject()
572 ALOGE("Invalid export reduce new count!: %s", line); in createFromSharedObject()
593 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
597 if (sscanf(line, "%u - %zu" DELIMNAME DELIMNAME DELIMNAME DELIMNAME DELIMNAME DELIMNAME, in createFromSharedObject()
600 ALOGE("Invalid export reduce new!: %s", line); in createFromSharedObject()
611 ALOGE("Expected reduce and accumulator names!: %s", line); in createFromSharedObject()
615 ALOGE("Did not expect halter name!: %s", line); in createFromSharedObject()
673 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
676 if (sscanf(line, OBJECT_SLOT_STR "%zu", &objectSlotCount) != 1) { in createFromSharedObject()
677 ALOGE("Invalid object slot count!: %s", line); in createFromSharedObject()
683 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
686 if (sscanf(line, "%u", &varNum) != 1) { in createFromSharedObject()
687 ALOGE("Invalid object slot!: %s", line); in createFromSharedObject()
700 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
704 if (sscanf(line, PRAGMA_STR "%zu", &pragmaCount) != 1) { in createFromSharedObject()
705 ALOGE("Invalid pragma count!: %s", line); in createFromSharedObject()
723 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
732 if (sscanf(line, "%" MAKE_STR(MAXLINESTR) "s - %" MAKE_STR(MAXLINESTR) "s", in createFromSharedObject()
736 ALOGE("Invalid pragma value!: %s", line); in createFromSharedObject()
746 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { in createFromSharedObject()
751 if (sscanf(line, THREADABLE_STR "%3s", tmpFlag) != 1) { in createFromSharedObject()
752 ALOGE("Invalid threadable flag!: %s", line); in createFromSharedObject()
764 if (strgets(line, MAXLINE, &rsInfo) != nullptr) { in createFromSharedObject()
765 if (sscanf(line, CHECKSUM_STR "%08x", &checksum) != 1) { in createFromSharedObject()
766 ALOGE("Invalid checksum flag!: %s", line); in createFromSharedObject()
784 if (strgets(line, MAXLINE, &rsInfo) != nullptr) { in createFromSharedObject()
785 if (sscanf(line, VERSIONINFO_STR "%zu", &nLines) != 1) { in createFromSharedObject()
792 if (strgets(line, MAXLINE, &rsInfo) == nullptr) in createFromSharedObject()