Home
last modified time | relevance | path

Searched refs:fread (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/system/embdrv/lc3/tools/
Dwave.c99 if (fread(&file, sizeof(file), 1, fp) != 1 in wave_read_header()
104 if (fread(&format, sizeof(format), 1, fp) != 1 in wave_read_header()
112 if (fread(&data, sizeof(data), 1, fp) != 1 in wave_read_header()
131 return fread(buffer, nch * samplesize, count, fp); in wave_read_pcm()
Dlc3bin.c50 if (fread(&hdr, sizeof(hdr), 1, fp) != 1 in lc3bin_read_header()
71 if (fread(&nbytes, sizeof(nbytes), 1, fp) < 1 in lc3bin_read_data()
74 || fread(buffer, nbytes, 1, fp) < 1) in lc3bin_read_data()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_db_storage.cc87 if (fread(&cache_ver, sizeof(uint16_t), 1, fd) != 1) { in bta_gattc_load_db()
97 if (fread(&num_attr, sizeof(uint16_t), 1, fd) != 1) { in bta_gattc_load_db()
106 if (fread(attr.data(), sizeof(StoredAttribute), num_attr, fd) != num_attr) { in bta_gattc_load_db()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dplatformtest.cpp104 TEST_F(Platform, fread) { in TEST_F() argument
107 ASSERT_EQ(length_, fread(temp_, 1, length_, fp)); in TEST_F()
Dperftest.h88 ASSERT_EQ(length_, fread(json_, 1, length_, fp)); in SetUp()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dfilereadstream.h64 readCount_ = fread(buffer_, 1, bufferSize_, fp_); in Read()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Djsoncheckertest.cpp45 size_t readLength = fread(json, 1, length, fp); in ReadFile()
Dfilestreamtest.cpp48 size_t readLength = fread(json_, 1, length_, fp); in SetUp()
Dprettywritertest.cpp155 size_t readLength = fread(json, 1, size, fp); in TEST()
Dencodedstreamtest.cpp73 size_t readLength = fread(buffer, 1, *outLength, fp); in ReadFile()
/packages/modules/Bluetooth/system/gd/dumpsys/bundler/
Dtest.cc84 fread(buf, 1, 15, fp); in TEST_F()
/packages/services/Car/cpp/evs/apps/default/
DTexWrapper.cpp73 fread(header, 1, kSigSize, inputFile); in createTextureFromPng()
/packages/services/Car/cpp/evs/support_library/
DTexWrapper.cpp77 fread(header, 1, kSigSize, inputFile); in createTextureFromPng()
/packages/modules/adb/daemon/
Dauth.cpp196 bool okay = (fread(token, token_size, 1, fp) == 1); in adbd_auth_generate_token()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp295 actual = fread(buffer, sizeof(char), sizeof(buffer), fh); in loadFromFile()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp303 eret = fread(ret, sizeof(ImageTypeBase), IMAGE_TYPE_NUM_CHANNELS*width*height, imgin); in readBinaryPPM()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md197 size_t readLength = fread(buffer, 1, filesize, fp);
/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc3002 (void)fread(p_c->data(), 1, OCTET16_LEN, fp); in btif_dm_proc_rmt_oob()
3003 (void)fread(p_r->data(), 1, OCTET16_LEN, fp); in btif_dm_proc_rmt_oob()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp400 sint32 bytesRead = fread(buffIn, 1, ADOBE_RGB_SIZE, inFile); in injectAdobeRGBCS()