Lines Matching defs:val
93 void loader_free_getenv(char *val, const struct loader_instance *inst) {
95 // the val and inst pointers to get rid of compiler warnings.
96 (void)val;
141 wchar_t *val = (wchar_t *)loader_stack_alloc(val_size * sizeof(wchar_t));
142 if (GetEnvironmentVariableW(name_utf16, val, val_size) != val_size - 1) {
146 int val_utf8_size = WideCharToMultiByte(CP_UTF8, 0, val, -1, NULL, 0, NULL, NULL);
154 if (WideCharToMultiByte(CP_UTF8, 0, val, -1, val_utf8, val_utf8_size, NULL, NULL) != val_utf8_size) {
174 void loader_free_getenv(char *val, const struct loader_instance *inst) { loader_instance_heap_free(inst, (void *)val); }
187 void loader_free_getenv(char *val, const struct loader_instance *inst) {
189 (void)val;