Home | History | Annotate | Download | only in ExecutionEngine

Lines Matching refs:result

46   SourceInfo *result = new SourceInfo();
48 if (!result) {
52 result->type = SourceKind::Buffer;
53 result->buffer.resName = resName;
54 result->buffer.bitcode = bitcode;
55 result->buffer.bitcodeSize = bitcodeSize;
56 result->flags = flags;
59 result->flags |= BCC_SKIP_DEP_SHA1;
66 if (result->flags & BCC_SKIP_DEP_SHA1) {
67 memset(result->sha1, '\0', 20);
69 calcSHA1(result->sha1, bitcode, bitcodeSize);
72 return result;
78 SourceInfo *result = new SourceInfo();
80 if (!result) {
84 result->type = SourceKind::File;
85 result->file.path = path;
86 result->flags = flags;
88 memset(result->sha1, '\0', 20);
90 if (!(result->flags & BCC_SKIP_DEP_SHA1)) {
91 calcFileSHA1(result->sha1, path);
94 return result;
100 SourceInfo *result = new SourceInfo();
102 if (!result) {
106 result->type = SourceKind::Module;
107 result->module = module;
108 result->flags = flags;
111 result->flags |= BCC_SKIP_DEP_SHA1;
118 memset(result->sha1, '\0', 20);
120 return result;