Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 143) sorted by relevance

123456

/system/core/adb/
Dsockets.cpp68 asocket *s; in find_local_socket() local
85 insert_local_socket(asocket* s, asocket* list) in insert_local_socket()
93 void install_local_socket(asocket* s) { in install_local_socket()
106 void remove_socket(asocket *s) in remove_socket()
121 asocket *s; in close_all_sockets() local
135 static int local_socket_enqueue(asocket *s, apacket *p) in local_socket_enqueue()
188 static void local_socket_ready(asocket *s) in local_socket_ready()
196 static void local_socket_destroy(asocket *s) in local_socket_destroy()
223 static void local_socket_close(asocket* s) { in local_socket_close()
262 asocket* s = reinterpret_cast<asocket*>(_s); in local_socket_event_func() local
[all …]
Dfile_sync_service.cpp80 static int do_stat(int s, const char *path) in do_stat()
100 static int do_list(int s, const char *path) in do_list()
154 static int fail_message(int s, const char *reason) in fail_message()
171 static int fail_errno(int s) in fail_errno()
176 static int handle_send_file(int s, char *path, uid_t uid, in handle_send_file()
273 static int handle_send_link(int s, char *path, char *buffer) in handle_send_link()
325 static int do_send(int s, char *path, char *buffer) in do_send()
374 static int do_recv(int s, const char *path, char *buffer) in do_recv()
Djdwp_service.cpp474 int s; in jdwp_control_init() local
530 jdwp_control_event( int s, unsigned events, void* _control ) in jdwp_control_event()
537 int s = -1; in jdwp_control_event() local
577 jdwp_socket_close( asocket* s ) in jdwp_socket_close()
591 jdwp_socket_enqueue( asocket* s, apacket* p ) in jdwp_socket_enqueue()
601 jdwp_socket_ready( asocket* s ) in jdwp_socket_ready()
623 JdwpSocket* s = reinterpret_cast<JdwpSocket*>(calloc(sizeof(*s), 1)); in create_jdwp_service_socket() local
672 jdwp_tracker_close( asocket* s ) in jdwp_tracker_close()
691 jdwp_tracker_ready( asocket* s ) in jdwp_tracker_ready()
704 jdwp_tracker_enqueue( asocket* s, apacket* p ) in jdwp_tracker_enqueue()
Dadb_io_test.cpp111 std::string s; in TEST() local
128 std::string s; in TEST() local
151 std::string s; in TEST() local
164 std::string s; in TEST() local
Dadb_utils.cpp33 bool getcwd(std::string* s) { in getcwd()
45 std::string escape_arg(const std::string& s) { in escape_arg()
/system/core/libsparse/
Dsparse.c32 struct sparse_file *s = calloc(sizeof(struct sparse_file), 1); in sparse_file_new() local
49 void sparse_file_destroy(struct sparse_file *s) in sparse_file_destroy()
55 int sparse_file_add_data(struct sparse_file *s, in sparse_file_add_data()
61 int sparse_file_add_fill(struct sparse_file *s, in sparse_file_add_fill()
67 int sparse_file_add_file(struct sparse_file *s, in sparse_file_add_file()
75 int sparse_file_add_fd(struct sparse_file *s, in sparse_file_add_fd()
81 unsigned int sparse_count_chunks(struct sparse_file *s) in sparse_count_chunks()
132 static int write_all_blocks(struct sparse_file *s, struct output_file *out) in write_all_blocks()
161 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, in sparse_file_write()
181 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, in sparse_file_callback()
[all …]
Dsparse_read.c55 char *s = ""; in verbose_error() local
100 static int process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, in process_raw_chunk()
138 static int process_fill_chunk(struct sparse_file *s, unsigned int chunk_size, in process_fill_chunk()
179 static int process_skip_chunk(struct sparse_file *s, unsigned int chunk_size, in process_skip_chunk()
222 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, in process_chunk()
274 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) in sparse_file_read_sparse()
356 static int sparse_file_read_normal(struct sparse_file *s, int fd) in sparse_file_read_normal()
406 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) in sparse_file_read()
424 struct sparse_file *s; in sparse_file_import() local
477 struct sparse_file *s; in sparse_file_import_auto() local
/system/core/base/
Dfile_test.cpp30 std::string s("hello"); in TEST() local
38 std::string s("hello"); in TEST() local
50 std::string s; in TEST() local
66 std::string s; in TEST() local
78 std::string s; in TEST() local
103 std::string s; in TEST() local
Dstrings.cpp31 std::vector<std::string> Split(const std::string& s, in Split()
48 std::string Trim(const std::string& s) { in Trim()
102 bool StartsWith(const std::string& s, const char* prefix) { in StartsWith()
106 bool EndsWith(const std::string& s, const char* suffix) { in EndsWith()
Dstringprintf_test.cpp30 std::string s("a"); in TEST() local
45 std::string s(android::base::StringPrintf("%s", buf)); in TestN() local
/system/core/libpixelflinger/codeflinger/
Dload_store.cpp27 void GGLAssembler::store(const pointer_t& addr, const pixel_t& s, uint32_t flags) in store()
61 void GGLAssembler::load(const pointer_t& addr, const pixel_t& s, uint32_t flags) in load()
105 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) in extract()
142 void GGLAssembler::extract(integer_t& d, const pixel_t& s, int component) in extract()
150 void GGLAssembler::extract(component_t& d, const pixel_t& s, int component) in extract()
161 void GGLAssembler::expand(integer_t& d, const component_t& s, int dbits) in expand()
171 void GGLAssembler::expand(component_t& d, const component_t& s, int dbits) in expand()
183 int s = src.reg; in expand() local
229 pixel_t& d, int component, component_t s, const reg_t& dither) in downshift()
/system/core/include/utils/
DRefBase.h484 void move_references(sp<TYPE>* d, sp<TYPE> const* s, size_t n) { in move_references()
488 sp<TYPE> const* s; in move_references() local
504 void move_references(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_references()
508 wp<TYPE> const* s; in move_references() local
531 void move_forward_type(sp<TYPE>* d, sp<TYPE> const* s, size_t n) { in move_forward_type()
536 void move_backward_type(sp<TYPE>* d, sp<TYPE> const* s, size_t n) { in move_backward_type()
541 void move_forward_type(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_forward_type()
546 void move_backward_type(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_backward_type()
/system/bt/main/
Dbte_logmsg.c62 #define LOGI0(t,s) __android_log_write(ANDROID_LOG_INFO, t, s) argument
63 #define LOGD0(t,s) __android_log_write(ANDROID_LOG_DEBUG, t, s) argument
64 #define LOGW0(t,s) __android_log_write(ANDROID_LOG_WARN, t, s) argument
65 #define LOGE0(t,s) __android_log_write(ANDROID_LOG_ERROR, t, s) argument
/system/core/libpixelflinger/
Dbuffer.cpp73 static void pick_read_write(surface_t* s) in pick_read_write()
87 surface_t& s = c->state.texture[i].surface; in ggl_pick_texture() local
102 surface_t& s = c->state.buffers.color; in ggl_pick_cb() local
111 void read_pixel(const surface_t* s, context_t* c, in read_pixel()
133 void readRGB565(const surface_t* s, context_t* /*c*/, in readRGB565()
147 void readABGR8888(const surface_t* s, context_t* /*c*/, in readABGR8888()
162 void write_pixel(const surface_t* s, context_t* c, in write_pixel()
228 static uint32_t logic_op(int op, uint32_t s, uint32_t d) in logic_op()
/system/extras/tests/net_test/
Dcsocket.py109 def Bind(s, to): argument
115 def Connect(s, to): argument
122 def Sendmsg(s, to, data, control, flags): argument
/system/core/init/
Dutil_test.cpp23 std::string s("hello"); in TEST() local
31 std::string s("hello"); in TEST() local
Dueventd_parser.cpp56 static int lookup_keyword(const char *s) in lookup_keyword()
87 struct ueventd_subsystem *s; in ueventd_subsystem_find_by_name() local
104 ueventd_subsystem* s = ueventd_subsystem_find_by_name(args[1]); in parse_subsystem() local
125 struct ueventd_subsystem *s = (ueventd_subsystem*) state->context; in parse_line_subsystem() local
/system/core/toolbox/
Ddf.c30 static void df(char *s, int always) { in df()
52 char s[2000]; in df_main() local
Dls.c198 struct stat s; in show_total_size() local
227 static int listfile_size(const char *path, const char *filename, struct stat *s, in listfile_size()
259 static int listfile_long(const char *path, struct stat *s, int flags) in listfile_long()
334 static int listfile_maclabel(const char *path, struct stat *s) in listfile_maclabel()
397 struct stat s; in listfile() local
466 struct stat s; in listdir() local
512 struct stat s; in listpath() local
/system/bt/osi/src/
Dcompat.c70 const char *s = src; in strlcpy() local
105 const char *s = src; in strlcat() local
/system/core/libcutils/
Dsocket_local_server.c55 int socket_local_server_bind(int s, const char *name, int namespaceId)
100 int s; local
/system/extras/tests/sdcard/
Dsysutil.cpp103 ssize_t s; in readStringFromFile() local
167 ssize_t s = write(fd, start, size); in writeStringToFile() local
453 ssize_t s = write(writefd, start, size); in writePidAndWaitForReply() local
484 ssize_t s; in writePidAndWaitForReply() local
539 ssize_t s; in waitForChildrenAndSignal() local
579 ssize_t s = write(writefd, &dummy, size); in waitForChildrenAndSignal() local
/system/bt/btif/src/
Dbtif_sock_util.c68 #define asrt(s) if(!(s)) BTIF_TRACE_ERROR("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, … argument
73 int s = len; in sock_send_all() local
167 #define PRINT(s) __android_log_write(ANDROID_LOG_DEBUG, NULL, s) argument
/system/core/cpio/
Dmkbootfs.c57 static void fix_stat(const char *path, struct stat *s) in fix_stat()
89 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) in _eject()
141 struct stat s; in _eject_trailer() local
232 struct stat s; in _archive() local
/system/core/libnetutils/
Dpacket.c45 int s; in open_raw_socket() local
90 int send_packet(int s, int if_index, struct dhcp_msg *msg, int size, in send_packet()
157 int receive_packet(int s, struct dhcp_msg *msg) in receive_packet()

123456