Searched refs:file_data (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/ |
A D | imageio_util.c | 74 uint8_t* file_data; in ImgIoUtilReadFile() local 94 file_data = (uint8_t*)malloc(file_size + 1); in ImgIoUtilReadFile() 95 if (file_data == NULL) { in ImgIoUtilReadFile() 101 ok = (fread(file_data, file_size, 1, in) == 1); in ImgIoUtilReadFile() 107 free(file_data); in ImgIoUtilReadFile() 110 file_data[file_size] = '\0'; // convenient 0-terminator in ImgIoUtilReadFile() 111 *data = file_data; in ImgIoUtilReadFile()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/ |
A D | be.c | 23 static char *file_data; variable 551 file_data = (char *)aos_malloc(sb.st_size + 1); in jsengine_eval_file() 552 if (!file_data) { in jsengine_eval_file() 556 file_data[sb.st_size] = 0; in jsengine_eval_file() 559 aos_read(fp, file_data, sb.st_size); in jsengine_eval_file() 561 duk_push_pointer(duk_ctx, (void *)file_data); in jsengine_eval_file() 580 if (file_data) { in jsengine_exit() 581 aos_free(file_data); in jsengine_exit() 582 file_data = NULL; in jsengine_exit()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | makeversionhdr.py | 90 file_data = """\ 106 if existing_data == file_data: 113 f.write(file_data)
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/ |
A D | accuracy_utils_test.cc | 30 string file_data = "a,10\nb,12\n"; in TEST() local 31 TF_ASSERT_OK(WriteStringToFile(Env::Default(), file_name, file_data)); in TEST()
|
/AliOS-Things-master/components/py_engine/ |
A D | py_engine_prepare.py | 110 file_data = """\ 126 if existing_data == file_data: 133 f.write(file_data)
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/httpd/makefsdata/ |
A D | makefsdata.c | 579 void process_file_data(FILE* data_file, u8_t* file_data, size_t file_size) in process_file_data() argument 586 sprintf(&file_buffer_c[off], "0x%02.2x,", file_data[i]); in process_file_data() 604 u16_t hdr_len, u16_t hdr_chksum, const u8_t* file_data, size_t file_size) in write_checksums() argument 626 void* data = (void*)&file_data[src_offset]; in write_checksums() 726 u8_t* file_data; in process_file() local 756 …file_data = get_file_data(filename, &file_size, includeHttpHeader && has_content_len, &is_compress… in process_file() 765 …chksum_count = write_checksums(struct_file, varname, http_hdr_len, http_hdr_chksum, file_data, fil… in process_file() 801 process_file_data(data_file, file_data, file_size); in process_file() 803 free(file_data); in process_file()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | x509_crt.c | 1289 WIN32_FIND_DATAW file_data; in mbedtls_x509_crt_parse_path() local 1307 hFind = FindFirstFileW( szDir, &file_data ); in mbedtls_x509_crt_parse_path() 1316 if( file_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ) in mbedtls_x509_crt_parse_path() 1319 w_ret = WideCharToMultiByte( CP_ACP, 0, file_data.cFileName, in mbedtls_x509_crt_parse_path() 1320 lstrlenW( file_data.cFileName ), in mbedtls_x509_crt_parse_path() 1335 while( FindNextFileW( hFind, &file_data ) != 0 ); in mbedtls_x509_crt_parse_path()
|
Completed in 16 milliseconds