Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 25 of 78) sorted by relevance

1234

/GUIX-v6.2.1/test/example_internal/screenshot_to_bitmap/screenshot_to_bitmap_monochrome/
Ddemo_guix_screenshot_to_bitmap_monochrome.c217 static int extract_path(char* pathname, char* path) in extract_path() argument
219 int len = string_length_get(pathname, MAX_STRING_LENGTH) - 1; in extract_path()
223 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
225 memcpy(path, pathname, len + 1); in extract_path()
249 GX_CHAR pathname[MAX_STRING_LENGTH]; in generate_screen_shot() local
253 len = extract_path(__FILE__, pathname); in generate_screen_shot()
254 memcpy(pathname + len, bmp_file, sizeof(bmp_file)); in generate_screen_shot()
255 fp = fopen(pathname, "wb"); in generate_screen_shot()
258 printf("Cannot open file: %s\n", pathname); in generate_screen_shot()
264 memcpy(pathname + len, bmp_file_aligned, sizeof(bmp_file_aligned)); in generate_screen_shot()
[all …]
/GUIX-v6.2.1/test/example_internal/screenshot_to_bitmap/screenshot_to_bitmap_4bpp/
Ddemo_guix_screenshot_to_bitmap_4bpp.c250 static int extract_path(char* pathname, char* path) in extract_path() argument
252 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
256 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
258 memcpy(path, pathname, len + 1); in extract_path()
283 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in generate_screen_shot() local
287 len = extract_path(__FILE__, pathname); in generate_screen_shot()
288 memcpy(pathname + len, bmp_file, sizeof(bmp_file)); in generate_screen_shot()
289 fp = fopen(pathname, "wb"); in generate_screen_shot()
292 printf("Cannot open file: %s\n", pathname); in generate_screen_shot()
298 memcpy(pathname + len, bmp_file_aligned, sizeof(bmp_file_aligned)); in generate_screen_shot()
[all …]
/GUIX-v6.2.1/test/example_internal/screenshot_to_bitmap/screenshot_to_bitmap_16bpp/
Ddemo_guix_screenshot_to_bitmap_16bpp.c246 static int extract_path(char* pathname, char* path) in extract_path() argument
248 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
252 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
254 memcpy(path, pathname, len + 1); in extract_path()
278 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in generate_screen_shot() local
282 len = extract_path(__FILE__, pathname); in generate_screen_shot()
283 memcpy(pathname + len, bmp_file, sizeof(bmp_file)); in generate_screen_shot()
284 fp = fopen(pathname, "wb"); in generate_screen_shot()
287 printf("Cannot open file: %s\n", pathname); in generate_screen_shot()
293 memcpy(pathname + len, scroll_wheel_bmp_file, sizeof(scroll_wheel_bmp_file)); in generate_screen_shot()
[all …]
/GUIX-v6.2.1/test/example_internal/screenshot_to_bitmap/screenshot_to_bitmap_32bpp/
Ddemo_guix_screenshot_to_bitmap_32bpp.c245 static int extract_path(char* pathname, char* path) in extract_path() argument
247 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
251 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
253 memcpy(path, pathname, len + 1); in extract_path()
278 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in generate_screen_shot() local
282 len = extract_path(__FILE__, pathname); in generate_screen_shot()
283 memcpy(pathname + len, bmp_file, sizeof(bmp_file)); in generate_screen_shot()
284 fp = fopen(pathname, "wb"); in generate_screen_shot()
287 printf("Cannot open file: %s\n", pathname); in generate_screen_shot()
293 memcpy(pathname + len, scroll_wheel_bmp_file, sizeof(scroll_wheel_bmp_file)); in generate_screen_shot()
[all …]
/GUIX-v6.2.1/test/example_internal/screenshot_to_bitmap/screenshot_to_bitmap_332rgb/
Ddemo_guix_screenshot_to_bitmap_332rgb.c245 static int extract_path(char* pathname, char* path) in extract_path() argument
247 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
251 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
253 memcpy(path, pathname, len + 1); in extract_path()
276 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in generate_screen_shot() local
280 len = extract_path(__FILE__, pathname); in generate_screen_shot()
281 memcpy(pathname + len, bmp_file, sizeof(bmp_file)); in generate_screen_shot()
282 fp = fopen(pathname, "wb"); in generate_screen_shot()
285 printf("Cannot open file: %s\n", pathname); in generate_screen_shot()
291 memcpy(pathname + len, scroll_wheel_bmp_file, sizeof(scroll_wheel_bmp_file)); in generate_screen_shot()
[all …]
/GUIX-v6.2.1/test/example_internal/screenshot_to_bitmap/screenshot_to_bitmap_8bit_palette/
Ddemo_guix_screenshot_to_bitmap_8bit_palette.c246 static int extract_path(char* pathname, char* path) in extract_path() argument
248 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
252 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
254 memcpy(path, pathname, len + 1); in extract_path()
278 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in generate_screen_shot() local
282 len = extract_path(__FILE__, pathname); in generate_screen_shot()
283 memcpy(pathname + len, bmp_file, sizeof(bmp_file)); in generate_screen_shot()
284 fp = fopen(pathname, "wb"); in generate_screen_shot()
287 printf("Cannot open file: %s\n", pathname); in generate_screen_shot()
293 memcpy(pathname + len, scroll_wheel_bmp_file, sizeof(scroll_wheel_bmp_file)); in generate_screen_shot()
[all …]
/GUIX-v6.2.1/test/example_internal/screenshot_to_bitmap/screenshot_to_bitmap_1555xrgb/
Ddemo_guix_screenshot_to_bitmap_1555xrgb.c246 static int extract_path(char* pathname, char* path) in extract_path() argument
248 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
252 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
254 memcpy(path, pathname, len + 1); in extract_path()
278 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in generate_screen_shot() local
282 len = extract_path(__FILE__, pathname); in generate_screen_shot()
283 memcpy(pathname + len, bmp_file, sizeof(bmp_file)); in generate_screen_shot()
284 fp = fopen(pathname, "wb"); in generate_screen_shot()
287 printf("Cannot open file: %s\n", pathname); in generate_screen_shot()
293 memcpy(pathname + len, scroll_wheel_bmp_file, sizeof(scroll_wheel_bmp_file)); in generate_screen_shot()
[all …]
/GUIX-v6.2.1/test/example_internal/screenshot_to_bitmap/screenshot_to_bitmap_4444argb/
Ddemo_guix_screenshot_to_bitmap_4444argb.c245 static int extract_path(char* pathname, char* path) in extract_path() argument
247 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
251 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
253 memcpy(path, pathname, len + 1); in extract_path()
277 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in generate_screen_shot() local
281 len = extract_path(__FILE__, pathname); in generate_screen_shot()
283 memcpy(pathname + len, bmp_file, sizeof(bmp_file)); in generate_screen_shot()
284 fp = fopen(pathname, "wb"); in generate_screen_shot()
287 printf("Cannot open file: %s\n", pathname); in generate_screen_shot()
294 memcpy(pathname + len, scroll_wheel_bmp_file, sizeof(scroll_wheel_bmp_file)); in generate_screen_shot()
[all …]
/GUIX-v6.2.1/test/example_internal/multi_themes_16bpp/
Ddemo_guix_multi_themes_16bpp.c166 static int extract_path(char *pathname, char *path) in extract_path() argument
168 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
172 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
174 memcpy(path, pathname, len + 1); in extract_path()
192 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
195 len = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
197 memcpy(pathname + len, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
198 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
202 printf("Cannot open file: %s\n", pathname); in load_binary_resource_data_to_ram()
220 memcpy(pathname + len, Japanese_pathname, sizeof(Japanese_pathname)); in load_binary_resource_data_to_ram()
[all …]
/GUIX-v6.2.1/test/example_internal/multi_themes_16bpp_synergy/
Ddemo_guix_multi_themes_16bpp_synergy.c23 UINT load_binres_theme(GX_UBYTE *pathname, INT theme_id);
161 static int extract_path(char* pathname, char* path) in extract_path() argument
163 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
167 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
169 memcpy(path, pathname, len + 1); in extract_path()
186 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
189 pathlen = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
190 memcpy(pathname + pathlen, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
192 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
196 printf("Cannot open file: %s\n", pathname); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/test/example_internal/multi_themes_8bpp_palette/
Ddemo_guix_multi_themes_8bpp_palette.c23 UINT load_binres_theme(GX_UBYTE *pathname, INT theme_id);
160 static int extract_path(char* pathname, char* path) in extract_path() argument
162 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
166 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
168 memcpy(path, pathname, len + 1); in extract_path()
185 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
188 pathlen = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
189 memcpy(pathname + pathlen, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
191 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
195 printf("Cannot open file: %s\n", pathname); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/test/example_internal/kerning_glyph_in_string_table/
Ddemo_kerning_glyph_in_string_table.c134 static int extract_path(char* pathname, char* path) in extract_path() argument
136 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
140 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
142 memcpy(path, pathname, len + 1); in extract_path()
159 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
162 pathlen = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
163 memcpy(pathname + pathlen, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
165 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
169 printf("Cannot open file: %s\n", pathname); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/test/example_internal/bidi_text_line_break_static/
Ddemo_guix_bidi_text_line_break_static.c80 static int extract_path(char* pathname, char* path) in extract_path() argument
82 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
86 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
88 memcpy(path, pathname, len + 1); in extract_path()
105 char pathname[MAX_PATH_LENGTH + 1]; in load_theme_2() local
108 len = extract_path(__FILE__, pathname); in load_theme_2()
110 memcpy(pathname + len, binres_pathname, sizeof(binres_pathname)); in load_theme_2()
112 p_file = fopen(pathname, "rb"); in load_theme_2()
/GUIX-v6.2.1/test/example_internal/multi_themes_32bpp/
Ddemo_guix_multi_themes_32bpp.c173 static int extract_path(char* pathname, char* path) in extract_path() argument
175 int len =string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
179 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
181 memcpy(path, pathname, len + 1); in extract_path()
198 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
201 pathlen = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
202 memcpy(pathname + pathlen, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
204 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
208 printf("Cannot open file: %s\n", pathname); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/test/example_internal/standalone_binres_load_8bpp/
Ddemo_guix_standalone_binres_load_8bpp.c26 VOID* load_binary_resource_data_to_ram(GX_CHAR* pathname);
84 VOID get_absolute_name(GX_CHAR* filename, GX_CHAR *pathname) in get_absolute_name() argument
88 memcpy(pathname, __FILE__, len + 1); in get_absolute_name()
90 GX_CHAR *ptr = strrchr(pathname, '\\'); in get_absolute_name()
94 ptr = strrchr(pathname, '/'); in get_absolute_name()
98 strcat(pathname, filename); in get_absolute_name()
112 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
114 get_absolute_name(filename, pathname); in load_binary_resource_data_to_ram()
116 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/test/example_internal/binres_theme_static_language/
Ddemo_guix_binres_theme_static_language.c170 static int extract_path(char* pathname, char* path) in extract_path() argument
172 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
176 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
178 memcpy(path, pathname, len + 1); in extract_path()
211 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
214 len = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
216 memcpy(pathname + len, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
218 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/test/example_internal/bidi_text_draw_32bpp/
Ddemo_bidi_text_draw_32bpp.c62 void PopulateMLTexts(GX_CHAR *pathname) in PopulateMLTexts() argument
66 FILE *pFile = fopen(pathname, "r"); in PopulateMLTexts()
152 static int extract_path(char* pathname, char* path) in extract_path() argument
154 int len = string_length_get(pathname, 255) - 1; in extract_path()
158 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
160 memcpy(path, pathname, len + 1); in extract_path()
184 char pathname[255]; in load_binary_resource_data_to_ram() local
187 pathlen = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
189 memcpy(pathname + pathlen, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
190 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
[all …]
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_binres_theme_load_8bpp.c76 UINT test_load_binres_to_ram(char *pathname) in test_load_binres_to_ram() argument
82 p_file = fopen(pathname, "rb"); in test_load_binres_to_ram()
86 printf("Cannot open file: %s\n", pathname); in test_load_binres_to_ram()
117 char pathname[255]; in control_thread_entry() local
123 gx_validation_extract_path(__FILE__, pathname, &pathlen); in control_thread_entry()
127 sprintf(pathname + pathlen, "%s", test->bin_file_path); in control_thread_entry()
128 test_load_binres_to_ram(pathname); in control_thread_entry()
Dvalidation_guix_binres_theme_load.c99 UINT test_load_binres_to_ram(char *pathname) in test_load_binres_to_ram() argument
105 p_file = fopen(pathname, "rb"); in test_load_binres_to_ram()
109 printf("Cannot open file: %s\n", pathname); in test_load_binres_to_ram()
162 char pathname[255]; in control_thread_entry() local
167 gx_validation_extract_path(__FILE__, pathname, &pathlen); in control_thread_entry()
171 sprintf(pathname + pathlen, "%s", test->bin_file_path); in control_thread_entry()
172 test_load_binres_to_ram(pathname); in control_thread_entry()
Dvalidation_guix_binres_theme_load_synergy.c76 UINT test_load_binres_to_ram(char *pathname) in test_load_binres_to_ram() argument
82 p_file = fopen(pathname, "rb"); in test_load_binres_to_ram()
86 printf("Cannot open file: %s\n", pathname); in test_load_binres_to_ram()
139 char pathname[255]; in control_thread_entry() local
144 gx_validation_extract_path(__FILE__, pathname, &pathlen); in control_thread_entry()
148 sprintf(pathname + pathlen, "%s", test->bin_file_path); in control_thread_entry()
149 test_load_binres_to_ram(pathname); in control_thread_entry()
/GUIX-v6.2.1/test/example_internal/standalone_binres_load_extended_unicode_32bpp/
Ddemo_guix_standalone_binres_load_extended_unicode_32bpp.c22 VOID* load_binary_resource_data_to_ram(GX_CHAR* pathname);
90 VOID get_absolute_name(GX_CHAR* filename, GX_CHAR *pathname) in get_absolute_name() argument
94 memcpy(pathname, __FILE__, len + 1); in get_absolute_name()
96 GX_CHAR* ptr = strrchr(pathname, '\\'); in get_absolute_name()
100 ptr = strrchr(pathname, '/'); in get_absolute_name()
104 strcat(pathname, filename); in get_absolute_name()
117 GX_CHAR pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
119 get_absolute_name(filename, pathname); in load_binary_resource_data_to_ram()
121 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/test/example_internal/kerning_glyph_draw_32bpp_screen/
Ddemo_kerning_glyph_draw_32bpp_screen.c205 static int extract_path(char* pathname, char* path) in extract_path() argument
207 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
211 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
213 memcpy(path, pathname, len + 1); in extract_path()
231 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
234 pathlen = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
235 memcpy(pathname + pathlen, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
237 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
241 printf("Cannot open file: %s\n", pathname); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/guix_studio/
Dstudiox_util.cpp236 info.pathname = path; in SaveToPathInfo()
241 if (!ConvertToProjectRelativePath(info.pathname)) in SaveToPathInfo()
248 if (!MakeRelativePath(GetSamplesDir(), info.pathname)) in SaveToPathInfo()
296 CString pathname; in MakeAbsolutePathname() local
301 pathname = info.pathname; in MakeAbsolutePathname()
305 pathname = ConcatPathNames(gOpenProjectDir, info.pathname); in MakeAbsolutePathname()
309 pathname = ConcatPathNames(GetSamplesDir(), info.pathname); in MakeAbsolutePathname()
312 return pathname; in MakeAbsolutePathname()
343 BOOL CheckOutputFileSecurity(CString &pathname, BOOL binary_mode) in CheckOutputFileSecurity() argument
345 int length = pathname.GetLength(); in CheckOutputFileSecurity()
[all …]
/GUIX-v6.2.1/test/example_internal/all_widgets_24xrgb_rotated_ccw_binary/
Ddemo_guix_all_widgets_24xrgb_rotated_ccw_binary.c282 static int extract_path(char* pathname, char* path) in extract_path() argument
284 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
288 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
290 memcpy(path, pathname, len + 1); in extract_path()
308 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
311 len = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
313 memcpy(pathname + len, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
314 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
318 printf("Cannot open file: %s\n", pathname); in load_binary_resource_data_to_ram()
/GUIX-v6.2.1/test/example_internal/all_widgets_24xrgb_rotated_cw_binary/
Ddemo_guix_all_widgets_24xrgb_rotated_cw_binary.c282 static int extract_path(char* pathname, char* path) in extract_path() argument
284 int len = string_length_get(pathname, MAX_PATH_LENGTH) - 1; in extract_path()
288 if ((pathname[len] == '/') || pathname[len] == '\\') in extract_path()
290 memcpy(path, pathname, len + 1); in extract_path()
308 char pathname[MAX_PATH_LENGTH + 1]; in load_binary_resource_data_to_ram() local
311 len = extract_path(__FILE__, pathname); in load_binary_resource_data_to_ram()
313 memcpy(pathname + len, binres_pathname, sizeof(binres_pathname)); in load_binary_resource_data_to_ram()
314 p_file = fopen(pathname, "rb"); in load_binary_resource_data_to_ram()
318 printf("Cannot open file: %s\n", pathname); in load_binary_resource_data_to_ram()

1234