/hardware/google/apf/v7/ |
D | apf_dns.h | 19 u32* const ofs)) { in FUNC() argument 20 u32 first_unread_offset = *ofs; in FUNC() 27 if (*ofs >= udp_len) return error_packet; in FUNC() 28 v = udp[(*ofs)++]; in FUNC() 32 if (*ofs >= udp_len) return error_packet; in FUNC() 33 w = udp[(*ofs)++]; in FUNC() 34 if (*ofs > first_unread_offset) first_unread_offset = *ofs; in FUNC() 36 … if (new_ofs >= *ofs) return error_packet; /* RFC 1035 4.1.4 allows only backward pointers */ in FUNC() 37 *ofs = new_ofs; in FUNC() 42 if (*ofs + label_size > udp_len) return error_packet; in FUNC() [all …]
|
D | apf_interpreter.c | 406 u32* const ofs)) { in FUNC() argument 407 u32 first_unread_offset = *ofs; in FUNC() 414 if (*ofs >= udp_len) return error_packet; in FUNC() 415 v = udp[(*ofs)++]; in FUNC() 419 if (*ofs >= udp_len) return error_packet; in FUNC() 420 w = udp[(*ofs)++]; in FUNC() 421 if (*ofs > first_unread_offset) first_unread_offset = *ofs; in FUNC() 423 … if (new_ofs >= *ofs) return error_packet; /* RFC 1035 4.1.4 allows only backward pointers */ in FUNC() 424 *ofs = new_ofs; in FUNC() 429 if (*ofs + label_size > udp_len) return error_packet; in FUNC() [all …]
|
D | apf_interpreter_source.c | 121 static u8 read_packet_u8(apf_context* ctx, u32 ofs) { in read_packet_u8() argument 122 return ctx->packet[ofs]; in read_packet_u8()
|
/hardware/google/apf/ |
D | apf_dns.h | 19 u32* const ofs)) { in FUNC() argument 20 u32 first_unread_offset = *ofs; in FUNC() 27 if (*ofs >= udp_len) return error_packet; in FUNC() 28 v = udp[(*ofs)++]; in FUNC() 32 if (*ofs >= udp_len) return error_packet; in FUNC() 33 w = udp[(*ofs)++]; in FUNC() 34 if (*ofs > first_unread_offset) first_unread_offset = *ofs; in FUNC() 36 … if (new_ofs >= *ofs) return error_packet; /* RFC 1035 4.1.4 allows only backward pointers */ in FUNC() 37 *ofs = new_ofs; in FUNC() 42 if (*ofs + label_size > udp_len) return error_packet; in FUNC() [all …]
|
D | apf_dns_test.cc | 29 u32 ofs = 12; in TEST() local 30 …needle_match, needle_match + sizeof(needle_match), udp_payload, sizeof(udp_payload), &ofs), match); in TEST() 31 EXPECT_EQ(ofs, 29); in TEST() 38 ofs = 12; in TEST() 39 …ar, needle_match_star + sizeof(needle_match_star), udp_payload, sizeof(udp_payload), &ofs), match); in TEST() 40 EXPECT_EQ(ofs, 29); in TEST() 47 ofs = 12; in TEST() 48 …omatch, needle_nomatch + sizeof(needle_nomatch), udp_payload, sizeof(udp_payload), &ofs), nomatch); in TEST() 49 EXPECT_EQ(ofs, 29); in TEST() 56 ofs = 12; in TEST() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_mm.c | 45 debug_printf(" Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size, in u_mmDumpMemInfo() 59 debug_printf(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size, in u_mmDumpMemInfo() 70 u_mmInit(int ofs, int size) in u_mmInit() argument 98 block->ofs = ofs; in u_mmInit() 114 if (startofs > p->ofs) { in SliceBlock() 118 newblock->ofs = startofs; in SliceBlock() 119 newblock->size = p->size - (startofs - p->ofs); in SliceBlock() 142 newblock->ofs = startofs + size; in SliceBlock() 197 startofs = (p->ofs + mask) & ~mask; in u_mmAllocMem() 202 if (endofs <= (p->ofs+p->size)) in u_mmAllocMem() [all …]
|
D | u_mm.h | 41 int ofs,size; member 52 extern struct mem_block *u_mmInit(int ofs, int size);
|
/hardware/google/apf/devtools/ |
D | apf_interpreter.c | 406 u32* const ofs)) { in FUNC() argument 407 u32 first_unread_offset = *ofs; in FUNC() 414 if (*ofs >= udp_len) return error_packet; in FUNC() 415 v = udp[(*ofs)++]; in FUNC() 419 if (*ofs >= udp_len) return error_packet; in FUNC() 420 w = udp[(*ofs)++]; in FUNC() 421 if (*ofs > first_unread_offset) first_unread_offset = *ofs; in FUNC() 423 … if (new_ofs >= *ofs) return error_packet; /* RFC 1035 4.1.4 allows only backward pointers */ in FUNC() 424 *ofs = new_ofs; in FUNC() 429 if (*ofs + label_size > udp_len) return error_packet; in FUNC() [all …]
|
/hardware/google/apf/v6/ |
D | apf_interpreter.c | 404 u32* const ofs)) { in FUNC() argument 405 u32 first_unread_offset = *ofs; in FUNC() 412 if (*ofs >= udp_len) return error_packet; in FUNC() 413 v = udp[(*ofs)++]; in FUNC() 417 if (*ofs >= udp_len) return error_packet; in FUNC() 418 w = udp[(*ofs)++]; in FUNC() 419 if (*ofs > first_unread_offset) first_unread_offset = *ofs; in FUNC() 421 … if (new_ofs >= *ofs) return error_packet; /* RFC 1035 4.1.4 allows only backward pointers */ in FUNC() 422 *ofs = new_ofs; in FUNC() 427 if (*ofs + label_size > udp_len) return error_packet; in FUNC() [all …]
|
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/ |
D | ExynosPrimaryDisplay.cpp | 779 std::ofstream ofs(gamma_node); in SetCurrentPanelGammaSource() local 780 if (!ofs.is_open()) { in SetCurrentPanelGammaSource() 784 ofs.write(gamma_data.c_str(), gamma_data.size()); in SetCurrentPanelGammaSource() 785 ofs.close(); in SetCurrentPanelGammaSource() 1211 std::ofstream ofs(path); in setDisplayIdleTimerEnabled() local 1212 if (!ofs.is_open()) { in setDisplayIdleTimerEnabled() 1216 ofs << enabled; in setDisplayIdleTimerEnabled() 1217 ofs.close(); in setDisplayIdleTimerEnabled() 1245 std::ofstream ofs(path); in setDisplayIdleDelayNanos() local 1246 if (!ofs.is_open()) { in setDisplayIdleDelayNanos() [all …]
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_compute_variance.cpp | 66 ptrdiff_t ofs = -static_cast<ptrdiff_t>(step * stride); in brent_kung_prefix_sum() local 71 *da = *da + da[ofs]; in brent_kung_prefix_sum() 90 ptrdiff_t ofs = -static_cast<ptrdiff_t>(step * stride); in brent_kung_prefix_sum() local 95 *da = *da + da[ofs]; in brent_kung_prefix_sum()
|
D | astcenc_weight_align.cpp | 129 vfloat ofs = angle * mult; in compute_angular_offsets() local 130 storea(ofs, offsets + i); in compute_angular_offsets()
|
D | tinyexr.h | 5448 int ofs = filename_len - 1; in mz_zip_reader_locate_file() local 5450 if ((pFilename[ofs] == '/') || (pFilename[ofs] == '\\') || in mz_zip_reader_locate_file() 5451 (pFilename[ofs] == ':')) in mz_zip_reader_locate_file() 5453 } while (--ofs >= 0); in mz_zip_reader_locate_file() 5454 ofs++; in mz_zip_reader_locate_file() 5455 pFilename += ofs; in mz_zip_reader_locate_file() 5456 filename_len -= ofs; in mz_zip_reader_locate_file() 5862 static size_t mz_zip_file_write_callback(void *pOpaque, mz_uint64 ofs, in mz_zip_file_write_callback() argument 5864 (void)ofs; in mz_zip_file_write_callback()
|
/hardware/google/camera/common/sensor_listener/tests/ |
D | goog_gyro_test.cc | 222 std::ofstream ofs(output_filename); in LogGyroDataToFile() local 224 ofs << gyro_timestamp_ns[i] << " " << azimuth[i] << " " << roll[i] << " " in LogGyroDataToFile()
|
D | goog_sensor_sync_test.cc | 284 std::ofstream ofs(output_filename); in LogDataToFile() local 286 ofs << "vsync: " << vsync_timestamps_[i] in LogDataToFile()
|
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/ |
D | ExynosDisplayDrmInterface.cpp | 68 std::ofstream ofs(path); in writeIntToKernelFile() local 70 if (!ofs.is_open()) { in writeIntToKernelFile() 75 ofs << value << std::endl; in writeIntToKernelFile() 3032 std::ofstream ofs(kDpHotplugErrorCodeSysfsPath); in resetHotplugErrorCode() local 3033 if (ofs.is_open()) ofs << "0"; in resetHotplugErrorCode()
|
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | ExynosDisplay.cpp | 6795 std::ofstream ofs(path); in setAllowWakeup() local 6796 if (ofs.is_open()) { in setAllowWakeup() 6797 ofs << enabled; in setAllowWakeup() 6798 if (ofs.fail()) { in setAllowWakeup()
|