Home | History | Annotate | Download | only in codesighs

Lines Matching refs:retval

210     const char* retval = inString;
212 while('\0' != *retval && isspace(*retval))
214 retval++;
217 return retval;
226 const char* retval = inString;
228 while('\0' != *retval && !isspace(*retval))
230 retval++;
233 return retval;
258 const char* retval = NULL;
273 retval = inString;
276 return retval;
285 const char* retval = NULL;
305 retval = inString + length + 1;
310 return retval;
323 int retval = 0;
356 retval = __LINE__;
357 ERROR_REPORT(retval, inLine, "Cannot scan for section length.");
362 retval = __LINE__;
363 ERROR_REPORT(retval, inLine, "Cannot parse section line.");
411 retval = __LINE__;
412 ERROR_REPORT(retval, dup, "Unable to grow object array.");
418 retval = __LINE__;
419 ERROR_REPORT(retval, dupMe, "Unable to copy string.");
525 retval = __LINE__;
526 ERROR_REPORT(retval, inLine, "Unable to grow for new section.");
532 retval = __LINE__;
533 ERROR_REPORT(retval, typeArg, "Unable to duplicate type.");
538 retval = __LINE__;
539 ERROR_REPORT(retval, inLine, "Unable to determine section type.");
628 retval = __LINE__;
629 ERROR_REPORT(retval, inLine, "Unable to duplicate symbol name.");
634 retval = __LINE__;
635 ERROR_REPORT(retval, inLine, "Unable to grow symbol array for section.");
640 retval = __LINE__;
641 ERROR_REPORT(retval, inLine, "Unable to convert offset to a number.");
648 retval = __LINE__;
649 ERROR_REPORT(retval, inLine, "Unable to determine section index.");
654 retval = __LINE__;
655 ERROR_REPORT(retval, inLine, "No match for section prefix.");
661 retval = __LINE__;
662 ERROR_REPORT(retval, inLine, "Unable to scan for section.");
666 return retval;
706 int retval = 0;
710 retval = 1;
714 retval = -1;
717 return retval;
728 int retval = 0;
737 for(objectLoop = 0; 0 == retval && objectLoop < inContainer->mObjectCount; objectLoop++)
739 for(sectionLoop = 0; 0 == retval && sectionLoop < inContainer->mObjects[objectLoop].mSectionCount; sectionLoop++)
754 for(objectLoop = 0; 0 == retval && objectLoop < inContainer->mObjectCount; objectLoop++)
756 for(sectionLoop = 0; 0 == retval && sectionLoop < inContainer->mObjects[objectLoop].mSectionCount; sectionLoop++)
758 for(symbolLoop = 0; 0 == retval && symbolLoop < inContainer->mObjects[objectLoop].mSections[sectionLoop].mSymbolCount; symbolLoop++)
772 return retval;
782 int retval = 0;
788 for(objectLoop = 0; 0 == retval && objectLoop < inContainer->mObjectCount; objectLoop++)
790 for(sectionLoop = 0; 0 == retval && sectionLoop < inContainer->mObjects[objectLoop].mSectionCount; sectionLoop++)
792 for(symbolLoop = 0; 0 == retval && symbolLoop < inContainer->mObjects[objectLoop].mSections[sectionLoop].mSymbolCount; symbolLoop++)
803 retval = __LINE__;
804 ERROR_REPORT(retval, inOptions->mOutputName, "Unable to write to file.");
810 return retval;
820 int retval = 0;
829 while(0 == retval && NULL != fgets(lineBuffer, sizeof(lineBuffer), inOptions->mInput))
836 retval = processLine(inOptions, &container, lineBuffer);
842 if(0 == retval)
844 retval = calcContainer(inOptions, &container);
850 if(0 == retval)
852 retval = reportContainer(inOptions, &container);
860 return retval;
869 int retval = 0;
888 retval = __LINE__;
889 ERROR_REPORT(retval, "stdin/stdout", "Unable to strdup.");
895 for(loop = 1; loop < inArgc && 0 == retval; loop++)
900 for(switchLoop = 0; switchLoop < switchCount && 0 == retval; switchLoop++)
938 retval = __LINE__;
939 ERROR_REPORT(retval, inArgv[loop], "Unknown command line switch.");
944 retval = __LINE__;
945 ERROR_REPORT(retval, inArgv[loop], "Command line switch requires a value.");
964 retval = __LINE__;
965 ERROR_REPORT(retval, current->mValue, "Unable to open input file.");
972 retval = __LINE__;
973 ERROR_REPORT(retval, current->mValue, "Unable to strdup.");
989 retval = __LINE__;
990 ERROR_REPORT(retval, current->mValue, "Unable to open output file.");
997 retval = __LINE__;
998 ERROR_REPORT(retval, current->mValue, "Unable to strdup.");
1008 retval = __LINE__;
1009 ERROR_REPORT(retval, current->mLongName, "No handler for command line switch.");
1014 return retval;
1074 int retval = 0;
1077 retval = initOptions(&options, inArgc, inArgv);
1082 else if(0 == retval)
1084 retval = dump2symdb(&options);
1088 return retval;