Lines Matching refs:fileName
96 int ReadFile(const char *fileName, char** data, size_t *length) { in ReadFile() argument
102 DBG("ReadFile E fileName=%s", fileName); in ReadFile()
104 f = fopen(fileName, "rb"); in ReadFile()
106 DBG("Could not fopen '%s'", fileName); in ReadFile()
141 const char* fileName = ToCString(fileNameUtf8Value); in CreateFileName() local
144 int fullPathLength = strlen(directory) + strlen(fileName) + 1; in CreateFileName()
147 strncat(fullPath, fileName, fullPathLength); in CreateFileName()
162 char *fileName = CreateFileName(args); in ReadFileToString() local
165 int status = ReadFile(fileName, &buffer); in ReadFileToString()
187 char *fileName = CreateFileName(args); in ReadFileToBuffer() local
191 int status = ReadFile(fileName, &buffer, &length); in ReadFileToBuffer()
222 char *fileName = CreateFileName(args); in Include() local
225 int status = ReadFile(fileName, &buffer); in Include()
227 runJs(v8::Context::GetCurrent(), &try_catch, fileName, buffer); in Include()
286 const char *fileName, const char *code) { in runJs() argument
291 v8::String::New(code), v8::String::New(fileName)); in runJs()