Home
last modified time | relevance | path

Searched +defs:val +defs:buf (Results 176 – 200 of 2374) sorted by relevance

12345678910>>...95

/aosp_15_r20/system/memory/lmkd/
Dlmkd.cpp593 long long val = strtoll(str, &endptr, 10); in parse_int64() local
626 static ssize_t read_all(int fd, char *buf, size_t max_len) in read_all()
658 static char *new_buf, *buf = NULL; in reread_file() local
746 static ssize_t ctrl_data_read(int dsock_idx, char* buf, size_t bufsz, struct ucred* sender_cred) { in ctrl_data_read()
788 static int ctrl_data_write(int dsock_idx, char* buf, size_t bufsz) { in ctrl_data_write()
1038 static bool read_proc_status(int pid, char *buf, size_t buf_sz) { in read_proc_status()
1059 static bool parse_status_tag(char *buf, const char *tag, int64_t *out) { in parse_status_tag()
1105 static char *proc_get_name(int pid, char *buf, size_t buf_size) { in proc_get_name()
1133 char val[20]; in register_oom_adj_proc() local
1214 char buf[LINE_MAX]; in register_oom_adj_proc() local
[all …]
/aosp_15_r20/external/vboot_reference/futility/
H A Dcmd_gbb_utility.c125 static void opt_has_arg(const char *name, int val) in opt_has_arg()
170 uint32_t val[] = { 0, 0, 0, 0 }; in create_gbb() local
190 uint8_t *buf = (uint8_t *) calloc(1, size); in create_gbb() local
229 uint8_t *buf = NULL; in read_entire_file() local
373 static int parse_flag_value(const char *s, vb2_gbb_flags_t *val) in parse_flag_value()
682 vb2_gbb_flags_t val; in do_gbb() local
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/1/libcore/ojluni/src/main/java/java/io/
DObjectOutputStream.java700 public void write(int val) throws IOException { in write()
711 public void write(byte[] buf) throws IOException { in write()
723 public void write(byte[] buf, int off, int len) throws IOException { in write()
775 public void writeBoolean(boolean val) throws IOException { in writeBoolean()
786 public void writeByte(int val) throws IOException { in writeByte()
797 public void writeShort(int val) throws IOException { in writeShort()
808 public void writeChar(int val) throws IOException { in writeChar()
819 public void writeInt(int val) throws IOException { in writeInt()
830 public void writeLong(long val) throws IOException { in writeLong()
841 public void writeFloat(float val) throws IOException { in writeFloat()
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/java/io/
H A DObjectOutputStream.java700 public void write(int val) throws IOException { in write()
711 public void write(byte[] buf) throws IOException { in write()
723 public void write(byte[] buf, int off, int len) throws IOException { in write()
775 public void writeBoolean(boolean val) throws IOException { in writeBoolean()
786 public void writeByte(int val) throws IOException { in writeByte()
797 public void writeShort(int val) throws IOException { in writeShort()
808 public void writeChar(int val) throws IOException { in writeChar()
819 public void writeInt(int val) throws IOException { in writeInt()
830 public void writeLong(long val) throws IOException { in writeLong()
841 public void writeFloat(float val) throws IOException { in writeFloat()
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/io/
DObjectOutputStream.java700 public void write(int val) throws IOException { in write()
711 public void write(byte[] buf) throws IOException { in write()
723 public void write(byte[] buf, int off, int len) throws IOException { in write()
775 public void writeBoolean(boolean val) throws IOException { in writeBoolean()
786 public void writeByte(int val) throws IOException { in writeByte()
797 public void writeShort(int val) throws IOException { in writeShort()
808 public void writeChar(int val) throws IOException { in writeChar()
819 public void writeInt(int val) throws IOException { in writeInt()
830 public void writeLong(long val) throws IOException { in writeLong()
841 public void writeFloat(float val) throws IOException { in writeFloat()
[all …]
/aosp_15_r20/external/igt-gpu-tools/tests/
H A Dperf_pmu.c117 static uint64_t pmu_read_multi(int fd, unsigned int num, uint64_t *val) in pmu_read_multi()
119 uint64_t buf[2 + num]; in pmu_read_multi() local
274 uint64_t val; in single() local
319 uint64_t val, ts[2]; in busy_start() local
354 uint64_t val, val2, ts[2]; in busy_double_start() local
415 static void log_busy(unsigned int num_engines, uint64_t *val) in log_busy()
417 char buf[1024]; in log_busy() local
441 uint64_t val[num_engines]; in busy_check_all() local
504 uint64_t val[num_engines]; in most_busy_check_all() local
561 uint64_t val[num_engines]; in all_busy_check_all() local
[all …]
/aosp_15_r20/external/bcc/libbpf-tools/
H A Dsyscount.c88 long val; in get_int() local
125 static const char *agg_col(struct data_ext_t *val, char *buf, size_t size) in agg_col()
158 char buf[2 * TASK_COMM_LEN]; in print_latency() local
171 char buf[2 * TASK_COMM_LEN]; in print_count() local
232 struct data_t val; in read_vals() local
/aosp_15_r20/external/icu/icu4j/tools/build/src/main/java/com/ibm/icu/dev/tool/docs/
H A DCheckAPI.java129 int val = (info >> (typ*2)) & 0x3; in get() local
133 private void setType(int typ, int val) { in setType()
139 private void setType(int typ, String val) { in setType()
180 StringBuffer buf = new StringBuffer(); in write() local
208 int val = getVal(CAT); in write() local
345 StringBuffer buf = new StringBuffer(); in read() local
916 char[] buf = new char[256]; in readToken() local
964 … void set(int val) { if (res != -1) throw new RuntimeException("bad doc: " + doc); res = val; } in tagStatus()
/aosp_15_r20/external/ltp/metadata/
H A Dmetaparse.c57 char buf[4096]; in multiline_comment() local
140 static char *next_token2(FILE *f, char *buf, size_t buf_len, struct data_node *doc) in next_token2()
217 static char buf[4096]; in next_token() local
239 char buf[256], *fname; in open_include() local
381 char buf[2][2048] = {}; in look_for_array_size() local
550 static void macro_get_string(FILE *f, char *buf, char *buf_end) in macro_get_string()
576 static void macro_get_val(FILE *f, char *buf, size_t buf_len) in macro_get_val()
617 char val[256]; in parse_macro() local
738 long val; in convert_str2int() local
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/
Drls.upb.h48 …ookup_v1_RouteLookupRequest* grpc_lookup_v1_RouteLookupRequest_parse(const char* buf, size_t size,… in grpc_lookup_v1_RouteLookupRequest_parse()
56 …kup_v1_RouteLookupRequest* grpc_lookup_v1_RouteLookupRequest_parse_ex(const char* buf, size_t size, in grpc_lookup_v1_RouteLookupRequest_parse_ex()
98 …ey_map_get(const grpc_lookup_v1_RouteLookupRequest* msg, upb_StringView key, upb_StringView* val) { in grpc_lookup_v1_RouteLookupRequest_key_map_get()
143 …ap_set(grpc_lookup_v1_RouteLookupRequest* msg, upb_StringView key, upb_StringView val, upb_Arena* … in grpc_lookup_v1_RouteLookupRequest_key_map_set()
192 …kup_v1_RouteLookupResponse* grpc_lookup_v1_RouteLookupResponse_parse(const char* buf, size_t size,… in grpc_lookup_v1_RouteLookupResponse_parse()
200 …p_v1_RouteLookupResponse* grpc_lookup_v1_RouteLookupResponse_parse_ex(const char* buf, size_t size, in grpc_lookup_v1_RouteLookupResponse_parse_ex()
290 …ookupResponse_add_targets(grpc_lookup_v1_RouteLookupResponse* msg, upb_StringView val, upb_Arena* … in grpc_lookup_v1_RouteLookupResponse_add_targets()
/aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/src/proto/grpc/gcp/
H A Dhandshaker.upb.h57 UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse(const char* buf, size_t size, upb_Arena* aren… in grpc_gcp_Endpoint_parse()
66 UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse_ex(const char* buf, size_t size, in grpc_gcp_Endpoint_parse_ex()
143 UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse(const char* buf, size_t size, upb_Arena* aren… in grpc_gcp_Identity_parse()
152 UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse_ex(const char* buf, size_t size, in grpc_gcp_Identity_parse_ex()
225 …cp_Identity_attributes_get(const grpc_gcp_Identity* msg, upb_StringView key, upb_StringView* val) { in grpc_gcp_Identity_attributes_get()
260 …dentity_attributes_set(grpc_gcp_Identity* msg, upb_StringView key, upb_StringView val, upb_Arena* … in grpc_gcp_Identity_attributes_set()
302 UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse(const char* buf in grpc_gcp_StartClientHandshakeReq_parse()
311 …cp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse_ex(const char* buf, size_t size, in grpc_gcp_StartClientHandshakeReq_parse_ex()
550 …q_add_application_protocols(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView val, upb_Arena* … in grpc_gcp_StartClientHandshakeReq_add_application_protocols()
578 …akeReq_add_record_protocols(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView val, upb_Arena* … in grpc_gcp_StartClientHandshakeReq_add_record_protocols()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/upb-generated/src/proto/grpc/gcp/
Dhandshaker.upb.h74 UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse(const char* buf, size_t size, upb_Arena* aren… in grpc_gcp_Endpoint_parse()
82 UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse_ex(const char* buf, size_t size, in grpc_gcp_Endpoint_parse_ex()
156 UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse(const char* buf, size_t size, upb_Arena* aren… in grpc_gcp_Identity_parse()
164 UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse_ex(const char* buf, size_t size, in grpc_gcp_Identity_parse_ex()
234 …cp_Identity_attributes_get(const grpc_gcp_Identity* msg, upb_StringView key, upb_StringView* val) { in grpc_gcp_Identity_attributes_get()
261 …dentity_attributes_set(grpc_gcp_Identity* msg, upb_StringView key, upb_StringView val, upb_Arena* … in grpc_gcp_Identity_attributes_set()
302 UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse(const char* buf in grpc_gcp_StartClientHandshakeReq_parse()
310 …cp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse_ex(const char* buf, size_t size, in grpc_gcp_StartClientHandshakeReq_parse_ex()
556 …q_add_application_protocols(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView val, upb_Arena* … in grpc_gcp_StartClientHandshakeReq_add_application_protocols()
580 …akeReq_add_record_protocols(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView val, upb_Arena* … in grpc_gcp_StartClientHandshakeReq_add_record_protocols()
[all …]
/aosp_15_r20/external/lzma/C/Util/7z/
H A D7zMain.c67 #define MY_UTF8_HEAD(n, val) ((Byte)(MY_UTF8_START(n) + (val >> (6 * (n))))) argument
68 #define MY_UTF8_CHAR(n, val) ((Byte)(0x80 + (((val) >> (6 * (n))) & 0x3F))) argument
75 UInt32 val; in Utf16_To_Utf8_Calc() local
110 UInt32 val; in Utf16_To_Utf8() local
165 static SRes Utf16_To_Char(CBuf *buf, const UInt16 *s in Utf16_To_Char()
252 CBuf buf; in PrintString() local
408 CBuf buf; in Set_File_FILETIME() local
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/sdp/
H A Dpdu.cc48 bool ValidContinuationState(const ByteBuffer& buf, BufferView* out) { in ValidContinuationState()
92 size_t ReadAttributeIDList(const ByteBuffer& buf, in ReadAttributeIDList()
175 void Request::SetContinuationState(const ByteBuffer& buf) { in SetContinuationState()
185 bool Request::ParseContinuationState(const ByteBuffer& buf) { in ParseContinuationState()
201 fit::result<Error<>> ErrorResponse::Parse(const ByteBuffer& buf) { in Parse()
306 auto buf = BuildNewPdu(kServiceSearchRequest, tid, size); in GetPDU() local
339 fit::result<Error<>> ServiceSearchResponse::Parse(const ByteBuffer& buf) { in Parse()
473 auto buf = BuildNewPdu(kServiceSearchResponse, tid, size); in GetPDU() local
584 auto buf = in GetPDU() local
628 fit::result<Error<>> ServiceAttributeResponse::Parse(const ByteBuffer& buf) { in Parse()
[all …]
/aosp_15_r20/external/arm-trusted-firmware/drivers/ufs/
H A Dufs.c56 int ufshc_dme_get(unsigned int attr, unsigned int idx, unsigned int *val) in ufshc_dme_get()
97 int ufshc_dme_set(unsigned int attr, unsigned int idx, unsigned int val) in ufshc_dme_set()
262 int lba, uintptr_t buf, size_t length) in ufs_prepare_cmd()
366 uintptr_t buf, size_t length) in ufs_prepare_query()
555 uintptr_t buf, size_t size) in ufs_query()
635 void ufs_read_desc(int idn, int index, uintptr_t buf, size_t size) in ufs_read_desc()
640 void ufs_write_desc(int idn, int index, uintptr_t buf, size_t size) in ufs_write_desc()
651 uintptr_t buf; in ufs_read_capacity() local
696 size_t ufs_read_blocks(int lun, int lba, uintptr_t buf, size_t size) in ufs_read_blocks()
720 size_t ufs_write_blocks(int lun, int lba, const uintptr_t buf, size_t size) in ufs_write_blocks()
/aosp_15_r20/external/wpa_supplicant_8/src/common/
H A Ddpp.c66 const u8 * dpp_get_attr(const u8 *buf, size_t len, u16 req_id, u16 *ret_len) in dpp_get_attr()
89 static const u8 * dpp_get_attr_next(const u8 *prev, const u8 *buf, size_t len, in dpp_get_attr_next()
117 int dpp_check_attrs(const u8 *buf, size_t len) in dpp_check_attrs()
191 unsigned char val = *info++; in dpp_uri_valid_info() local
353 int val; in dpp_parse_uri_supported_curves() local
379 char buf[100], *pos; in dpp_parse_uri_host() local
717 u8 val = bi->supported_curves; in dpp_gen_uri() local
733 char buf[100]; in dpp_gen_uri() local
920 void dpp_write_adv_proto(struct wpabuf *buf) in dpp_write_adv_proto()
934 void dpp_write_gas_query(struct wpabuf *buf, struct wpabuf *query) in dpp_write_gas_query()
[all …]
/aosp_15_r20/external/trace-cmd/tracecmd/
H A Dtrace-dump.c138 char buf[DUMP_SIZE]; in read_dump_string() local
155 unsigned long long val; in read_file_number() local
156 char buf[8]; in read_file_number() local
196 char buf[DUMP_SIZE]; in dump_initial_format() local
271 char buf[DUMP_SIZE]; in dump_header_page() local
292 char buf[DUMP_SIZE]; in dump_header_event() local
356 char buf[DUMP_SIZE]; in dump_events_format() local
554 int val; in dump_option_int() local
563 long long val; in dump_option_xlong() local
679 char *buf, *p; in dump_option_guest() local
/aosp_15_r20/external/trusty/arm-trusted-firmware/drivers/ufs/
Dufs.c195 int ufshc_dme_get(unsigned int attr, unsigned int idx, unsigned int *val) in ufshc_dme_get()
228 int ufshc_dme_set(unsigned int attr, unsigned int idx, unsigned int val) in ufshc_dme_set()
423 int lba, uintptr_t buf, size_t length) in ufs_prepare_cmd()
528 uintptr_t buf, size_t length) in ufs_prepare_query()
658 static void ufs_send_cmd(utp_utrd_t *utrd, uint8_t cmd_op, uint8_t lun, int lba, uintptr_t buf, in ufs_send_cmd()
731 uintptr_t buf, size_t size) in ufs_query()
813 void ufs_read_desc(int idn, int index, uintptr_t buf, size_t size) in ufs_read_desc()
818 void ufs_write_desc(int idn, int index, uintptr_t buf, size_t size) in ufs_write_desc()
829 uintptr_t buf; in ufs_read_capacity() local
868 size_t ufs_read_blocks(int lun, int lba, uintptr_t buf, size_t size) in ufs_read_blocks()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/upb-generated/validate/
Dvalidate.upb.h103 UPB_INLINE validate_FieldRules* validate_FieldRules_parse(const char* buf, size_t size, upb_Arena* … in validate_FieldRules_parse()
111 UPB_INLINE validate_FieldRules* validate_FieldRules_parse_ex(const char* buf, size_t size, in validate_FieldRules_parse_ex()
762 UPB_INLINE validate_FloatRules* validate_FloatRules_parse(const char* buf, size_t size, upb_Arena* … in validate_FloatRules_parse()
770 UPB_INLINE validate_FloatRules* validate_FloatRules_parse_ex(const char* buf, size_t size, in validate_FloatRules_parse_ex()
992 UPB_INLINE bool validate_FloatRules_add_in(validate_FloatRules* msg, float val, upb_Arena* arena) { in validate_FloatRules_add_in()
1016 UPB_INLINE bool validate_FloatRules_add_not_in(validate_FloatRules* msg, float val, upb_Arena* aren… in validate_FloatRules_add_not_in()
1035 UPB_INLINE validate_DoubleRules* validate_DoubleRules_parse(const char* buf, size_t size, upb_Arena… in validate_DoubleRules_parse()
1043 UPB_INLINE validate_DoubleRules* validate_DoubleRules_parse_ex(const char* buf, size_t size, in validate_DoubleRules_parse_ex()
1265 UPB_INLINE bool validate_DoubleRules_add_in(validate_DoubleRules* msg, double val, upb_Arena* arena… in validate_DoubleRules_add_in()
1289 UPB_INLINE bool validate_DoubleRules_add_not_in(validate_DoubleRules* msg, double val, upb_Arena* a… in validate_DoubleRules_add_not_in()
[all …]
/aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/validate/
H A Dvalidate.upb.h68 UPB_INLINE validate_FieldRules* validate_FieldRules_parse(const char* buf, size_t size, upb_Arena* … in validate_FieldRules_parse()
77 UPB_INLINE validate_FieldRules* validate_FieldRules_parse_ex(const char* buf, size_t size, in validate_FieldRules_parse_ex()
751 UPB_INLINE validate_FloatRules* validate_FloatRules_parse(const char* buf, size_t size, upb_Arena* … in validate_FloatRules_parse()
760 UPB_INLINE validate_FloatRules* validate_FloatRules_parse_ex(const char* buf, size_t size, in validate_FloatRules_parse_ex()
979 UPB_INLINE bool validate_FloatRules_add_in(validate_FloatRules* msg, float val, upb_Arena* arena) { in validate_FloatRules_add_in()
1007 UPB_INLINE bool validate_FloatRules_add_not_in(validate_FloatRules* msg, float val, upb_Arena* aren… in validate_FloatRules_add_not_in()
1029 UPB_INLINE validate_DoubleRules* validate_DoubleRules_parse(const char* buf, size_t size, upb_Arena… in validate_DoubleRules_parse()
1038 UPB_INLINE validate_DoubleRules* validate_DoubleRules_parse_ex(const char* buf, size_t size, in validate_DoubleRules_parse_ex()
1257 UPB_INLINE bool validate_DoubleRules_add_in(validate_DoubleRules* msg, double val, upb_Arena* arena… in validate_DoubleRules_add_in()
1285 UPB_INLINE bool validate_DoubleRules_add_not_in(validate_DoubleRules* msg, double val, upb_Arena* a… in validate_DoubleRules_add_not_in()
[all …]
/aosp_15_r20/external/ot-br-posix/src/dbus/common/
H A Ddbus_message_helper.cpp48 dbus_bool_t val; in DBusMessageExtract() local
63 uint8_t val; in DBusMessageExtract() local
73 const char *buf; in DBusMessageExtract() local
122 dbus_bool_t val = aValue ? 1 : 0; in DBusMessageEncode() local
139 const char *buf = aValue.c_str(); in DBusMessageEncode() local
/aosp_15_r20/external/igt-gpu-tools/lib/
H A Digt_debugfs.c91 char buf[strlen(path) + 4]; in is_mountpoint() local
305 int igt_debugfs_simple_read(int dir, const char *filename, char *buf, int size) in igt_debugfs_simple_read()
328 void __igt_debugfs_read(int fd, const char *filename, char *buf, int size) in __igt_debugfs_read()
468 char *buf = malloc((field_width+1) * crc->n_words); in igt_crc_to_string_extended() local
557 char buf[16]; in igt_hpd_storm_set_threshold() local
586 const char *buf = "reset"; in igt_hpd_storm_reset() local
614 char buf[32] = {0}, detected_str[4]; in igt_hpd_storm_detected() local
655 char buf[128]; in pipe_crc_new() local
738 const char *buf; in pipe_crc_init_from_string() local
759 char buf[MAX_LINE_LEN + 1]; in read_crc() local
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/
H A Dtensor_to_hash_bucket_op_gpu.cu.cc31 __device__ __forceinline__ void FillDigits(T val, int num_digits, int* i, in FillDigits()
32 char* buf) { in FillDigits()
49 __device__ __forceinline__ int IntegerToString(T val, char* buf) { in IntegerToString()
/aosp_15_r20/device/linaro/dragonboard/shared/utils/rmtfs/
Dsharedmem.c34 unsigned long long val; in parse_hex_sysattr() local
35 const char *buf; in parse_hex_sysattr() local
209 char val[PAGE_SIZE]; in rmtfs_mem_open_rfsa() local
354 ssize_t rmtfs_mem_read(struct rmtfs_mem *rmem, unsigned long phys_address, void *buf, ssize_t len) in rmtfs_mem_read()
373 ssize_t rmtfs_mem_write(struct rmtfs_mem *rmem, unsigned long phys_address, const void *buf, ssize_… in rmtfs_mem_write()
/aosp_15_r20/external/selinux/policycoreutils/secon/
H A Dsecon.c347 static int my_getXcon_raw(pid_t pid, char **con, const char *val) in my_getXcon_raw()
349 char buf[4096]; in my_getXcon_raw() local
409 char buf[4096] = ""; in get_scon() local
543 int val = 30; in disp__color_to_ansi() local
594 static void disp__con_val(const char *name, const char *val, in disp__con_val()
704 const char *val = NULL; in disp_con() local
724 const char *val = NULL; in disp_con() local

12345678910>>...95