Home
last modified time | relevance | path

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

12345678910

/system/core/adb/
Dsockets.cpp61 asocket* s; in find_local_socket() local
78 static void insert_local_socket(asocket* s, asocket* list) { in insert_local_socket()
85 void install_local_socket(asocket* s) { in install_local_socket()
98 void remove_socket(asocket* s) { in remove_socket()
110 asocket* s; in close_all_sockets() local
125 static int local_socket_enqueue(asocket* s, apacket* p) { in local_socket_enqueue()
179 static void local_socket_ready(asocket* s) { in local_socket_ready()
186 static void local_socket_destroy(asocket* s) { in local_socket_destroy()
212 static void local_socket_close(asocket* s) { in local_socket_close()
251 asocket* s = reinterpret_cast<asocket*>(_s); in local_socket_event_func() local
[all …]
Djdwp_service.cpp376 int s; in jdwp_control_init() local
425 static void jdwp_control_event(int s, unsigned events, void* _control) { in jdwp_control_event()
429 int s = adb_socket_accept(control->listen_socket, nullptr, nullptr); in jdwp_control_event() local
459 static void jdwp_socket_close(asocket* s) { in jdwp_socket_close()
473 static int jdwp_socket_enqueue(asocket* s, apacket* p) { in jdwp_socket_enqueue()
481 static void jdwp_socket_ready(asocket* s) { in jdwp_socket_ready()
499 JdwpSocket* s = reinterpret_cast<JdwpSocket*>(calloc(sizeof(*s), 1)); in create_jdwp_service_socket() local
542 static void jdwp_tracker_close(asocket* s) { in jdwp_tracker_close()
559 static void jdwp_tracker_ready(asocket* s) { in jdwp_tracker_ready()
570 static int jdwp_tracker_enqueue(asocket* s, apacket* p) { in jdwp_tracker_enqueue()
Dfile_sync_service.cpp106 static bool do_lstat_v1(int s, const char* path) { in do_lstat_v1()
118 static bool do_stat_v2(int s, uint32_t id, const char* path) { in do_stat_v2()
149 static bool do_list(int s, const char* path) { in do_list()
201 static bool handle_send_file(int s, const char* path, uid_t uid, gid_t gid, uint64_t capabilities, in handle_send_file()
316 static bool handle_send_link(int s, const std::string& path, std::vector<char>& buffer) { in handle_send_link()
363 static bool do_send(int s, const std::string& spec, std::vector<char>& buffer) { in do_send()
407 static bool do_recv(int s, const char* path, std::vector<char>& buffer) { in do_recv()
Dadb_io_test.cpp101 std::string s; in POSIX_TEST() local
118 std::string s; in POSIX_TEST() local
141 std::string s; in POSIX_TEST() local
154 std::string s; in POSIX_TEST() local
/system/core/base/
Dstrings.cpp31 std::vector<std::string> Split(const std::string& s, in Split()
49 std::string Trim(const std::string& s) { in Trim()
90 bool StartsWith(const std::string& s, const char* prefix) { in StartsWith()
94 bool StartsWithIgnoreCase(const std::string& s, const char* prefix) { in StartsWithIgnoreCase()
98 static bool EndsWith(const std::string& s, const char* suffix, bool case_sensitive) { in EndsWith()
108 bool EndsWith(const std::string& s, const char* suffix) { in EndsWith()
112 bool EndsWithIgnoreCase(const std::string& s, const char* suffix) { in EndsWithIgnoreCase()
Dfile_test.cpp30 std::string s("hello"); in TEST() local
42 std::string s; in TEST() local
58 std::string s; in TEST() local
80 std::string s; in TEST() local
94 std::string s; in TEST() local
106 std::string s; in TEST() local
223 std::string s; in TEST() local
253 std::string s; in TEST() local
/system/libvintf/
Dparse_string.cpp31 std::vector<std::string> SplitString(const std::string &s, char c) { in SplitString()
61 bool parse(const std::string &s, std::vector<T> *objs) { in parse()
76 bool parseEnum(const std::string &s, E *e, const Array &strings) { in parseEnum()
121 bool parseKernelConfigIntHelper(const std::string &s, T *i) { in parseKernelConfigIntHelper()
134 bool parseKernelConfigInt(const std::string &s, int64_t *i) { in parseKernelConfigInt()
138 bool parseKernelConfigInt(const std::string &s, uint64_t *i) { in parseKernelConfigInt()
142 bool parseRange(const std::string &s, KernelConfigRangeValue *range) { in parseRange()
151 bool parse(const std::string &s, KernelConfigKey *key) { in parse()
156 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv) { in parseKernelConfigValue()
170 bool parse(const std::string &s, Version *ver) { in parse()
[all …]
/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.c56 char *s = ""; in verbose_error() local
101 static int process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, in process_raw_chunk()
139 static int process_fill_chunk(struct sparse_file *s, unsigned int chunk_size, in process_fill_chunk()
180 static int process_skip_chunk(struct sparse_file *s, unsigned int chunk_size, in process_skip_chunk()
223 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, in process_chunk()
275 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) in sparse_file_read_sparse()
357 static int sparse_file_read_normal(struct sparse_file *s, int fd) in sparse_file_read_normal()
409 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) in sparse_file_read()
427 struct sparse_file *s; in sparse_file_import() local
480 struct sparse_file *s; in sparse_file_import_auto() local
/system/core/libpixelflinger/codeflinger/
Dload_store.cpp31 void GGLAssembler::store(const pointer_t& addr, const pixel_t& s, uint32_t flags) in store()
65 void GGLAssembler::load(const pointer_t& addr, const pixel_t& s, uint32_t flags) in load()
109 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) in extract()
146 void GGLAssembler::extract(integer_t& d, const pixel_t& s, int component) in extract()
154 void GGLAssembler::extract(component_t& d, const pixel_t& s, int component) in extract()
165 void GGLAssembler::expand(integer_t& d, const component_t& s, int dbits) in expand()
175 void GGLAssembler::expand(component_t& d, const component_t& s, int dbits) in expand()
187 int s = src.reg; in expand() local
233 pixel_t& d, int component, component_t s, const reg_t& dither) in downshift()
/system/core/init/
Dutil_test.cpp28 std::string s("hello"); in TEST() local
36 std::string s("hello"); in TEST() local
46 std::string s("hello"); in TEST() local
56 std::string s("hello"); in TEST() local
65 std::string s("hello"); in TEST() local
91 std::string s("hello"); in TEST() local
Dreboot.cpp335 ServiceManager::GetInstance().ForEachService([&kill_after_apps, &to_starts](Service* s) { in DoReboot()
347 ServiceManager::GetInstance().ForEachServiceInClass("animation", [](Service* s) { in DoReboot()
358 ServiceManager::GetInstance().ForEachService([](Service* s) { in DoReboot()
369 ServiceManager::GetInstance().ForEachService([&service_count](Service* s) { in DoReboot()
394 ServiceManager::GetInstance().ForEachService([](Service* s) { in DoReboot()
408 ServiceManager::GetInstance().ForEachService([&kill_after_apps](Service* s) { in DoReboot()
/system/tools/aidl/tests/
Daidl_test_client_primitives.cpp55 bool ConfirmPrimitiveRepeat(const sp<ITestService>& s) { in ConfirmPrimitiveRepeat()
123 bool ConfirmReverseArrays(const sp<ITestService>& s) { in ConfirmReverseArrays()
148 bool ConfirmReverseLists(const sp<ITestService>& s) { in ConfirmReverseLists()
159 bool ConfirmReverseBinderLists(const sp<ITestService>& s) { in ConfirmReverseBinderLists()
Daidl_test_client_nullables.cpp92 bool ConfirmNullableType(const sp<ITestService>& s, const string& type_name, in ConfirmNullableType()
135 bool CheckAppropriateIBinderHandling(const sp<ITestService>& s) { in CheckAppropriateIBinderHandling()
196 bool CheckAppropriateIInterfaceHandling(const sp<ITestService>& s) { in CheckAppropriateIInterfaceHandling()
224 bool ConfirmNullables(const sp<ITestService>& s) { in ConfirmNullables()
Daidl_test_client_utf8_strings.cpp48 bool ConfirmUtf8InCppStringRepeat(const sp<ITestService>& s) { in ConfirmUtf8InCppStringRepeat()
103 bool ConfirmUtf8InCppStringArrayReverse(const sp<ITestService>& s) { in ConfirmUtf8InCppStringArrayReverse()
113 bool ConfirmUtf8InCppStringListReverse(const sp<ITestService>& s) { in ConfirmUtf8InCppStringListReverse()
/system/libufdt/sysdeps/
Dlibufdt_sysdeps_posix.c44 char *dto_strdup(const char *s) { return strdup(s); } in dto_strdup()
46 char *dto_strchr(const char *s, int c) { return strchr(s, c); } in dto_strchr()
52 size_t dto_strlen(const char *s) { return strlen(s); } in dto_strlen()
68 void *dto_memchr(const void *s, int c, size_t n) { return memchr(s, c, n); } in dto_memchr()
70 void *dto_memset(void *s, int c, size_t n) { return memset(s, c, n); } in dto_memset()
/system/extras/ioshark/
Dcompile_ioshark.c125 char *s, *s2; in get_tracetype() local
178 char *s, *s2, save; in get_pathname() local
223 char *s, *s2; in get_syscall() local
246 char *s, *s1; in get_mmap_offset_len_prot() local
296 char *s, *s2; in get_lseek_offset_action() local
405 char *s, *s2, lookfor; in get_openat_flags_mode() local
449 lookup_map(char *s, struct flags_map_s *flags_map, int maplen) in lookup_map()
472 map_open_flags(char *s) in map_open_flags()
491 map_lseek_action(char *s) in map_lseek_action()
527 char *s; in main() local
/system/core/libutils/include/utils/
DFastStrcmp.h43 static inline int fastcmp(const char* l, const char* r, const size_t s) { in fastcmp()
50 static inline int fasticmp(const char* l, const char* r, const size_t s) { in fasticmp()
57 static inline int fastcmp(const void* lv, const void* rv, const size_t s) { in fastcmp()
/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/libhidl/base/
DHidlSupport.cpp150 hidl_string::hidl_string(const char *s) : hidl_string() { in hidl_string()
158 hidl_string::hidl_string(const char *s, size_t length) : hidl_string() { in hidl_string()
166 hidl_string::hidl_string(const std::string &s) : hidl_string() { in hidl_string()
191 hidl_string &hidl_string::operator=(const char *s) { in operator =()
202 hidl_string &hidl_string::operator=(const std::string &s) { in operator =()
/system/bt/osi/src/
Dcompat.cc66 const char* s = src; in strlcpy() local
97 const char* s = src; in strlcat() local
/system/bt/osi/src/socket_utils/
Dsocket_local_server.cc42 int osi_socket_local_server_bind(int s, const char* name, int namespaceId) {
82 int s; local
/system/extras/simpleperf/
Dbuild_id.h46 explicit BuildId(const std::string& s) : BuildId() { in BuildId()
68 std::string s = "0x"; in ToString() local
/system/libhidl/base/include/hidl/
DStatus.h147 return_status(Status s) : mStatus(s) {} in return_status()
183 Return(Status s) : details::return_status(s) {} in Return()
209 Return(Status s) : details::return_status(s) {} in Return()
229 Return(Status s) : details::return_status(s) {} in Return()
/system/core/libcutils/
Dsocket_local_server_unix.c55 int socket_local_server_bind(int s, const char *name, int namespaceId)
100 int s; local

12345678910