Home
last modified time | relevance | path

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

/hardware/ril/mock-ril/src/cpp/
Djs_support.cpp96 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
[all …]
Djs_support.h30 extern int ReadFile(const char *fileName, char** data, size_t *length = NULL);
43 const char *fileName, const char *code);
Drequests.cpp471 const char *fileName= "/sdcard/data/mock_ril.js"; in testRequests() local
472 int status = ReadFile(fileName, &buffer); in testRequests()
474 runJs(context, &try_catch, fileName, buffer); in testRequests()