/device/google/contexthub/firmware/lib/builtins/ |
D | udivmoddi4.c | 36 if (n.s.high == 0) in __udivmoddi4() 38 if (d.s.high == 0) in __udivmoddi4() 45 *rem = n.s.low % d.s.low; in __udivmoddi4() 46 return n.s.low / d.s.low; in __udivmoddi4() 53 *rem = n.s.low; in __udivmoddi4() 57 if (d.s.low == 0) in __udivmoddi4() 59 if (d.s.high == 0) in __udivmoddi4() 66 *rem = n.s.high % d.s.low; in __udivmoddi4() 67 return n.s.high / d.s.low; in __udivmoddi4() 70 if (n.s.low == 0) in __udivmoddi4() [all …]
|
D | moddi3.c | 23 di_int s = b >> bits_in_dword_m1; /* s = b < 0 ? -1 : 0 */ in __moddi3() local 24 b = (b ^ s) - s; /* negate if s == -1 */ in __moddi3() 25 s = a >> bits_in_dword_m1; /* s = a < 0 ? -1 : 0 */ in __moddi3() 26 a = (a ^ s) - s; /* negate if s == -1 */ in __moddi3() 29 return ((di_int)r ^ s) - s; /* negate if s == -1 */ in __moddi3()
|
D | aeabi_llsr.c | 32 result.s.high = 0; in __aeabi_llsr() 33 result.s.low = input.s.high >> (b - bits_in_word); in __aeabi_llsr() 39 result.s.high = input.s.high >> b; in __aeabi_llsr() 40 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __aeabi_llsr()
|
D | aeabi_llsl.c | 32 result.s.low = 0; in __aeabi_llsl() 33 result.s.high = input.s.low << (b - bits_in_word); in __aeabi_llsl() 39 result.s.low = input.s.low << b; in __aeabi_llsl() 40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_word - b)); in __aeabi_llsl()
|
D | aeabi_l2f.c | 33 const di_int s = a >> (N-1); in __aeabi_l2f() local 34 a = (a ^ s) - s; in __aeabi_l2f() 76 fb.u = ((su_int)s & 0x80000000) | /* sign */ in __aeabi_l2f()
|
/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 93 struct Sensor *s; in sensorRegisterEx() local 108 s = mSensors + idx; in sensorRegisterEx() 109 s->si = si; in sensorRegisterEx() 110 s->currentRate = SENSOR_RATE_OFF; in sensorRegisterEx() 111 s->currentLatency = SENSOR_LATENCY_INVALID; in sensorRegisterEx() 112 s->callInfo = callInfo; in sensorRegisterEx() 114 s->callData = callData; in sensorRegisterEx() 115 s->initComplete = initComplete ? 1 : 0; in sensorRegisterEx() 117 s->handle = handle; in sensorRegisterEx() 118 s->hasOnchange = 0; in sensorRegisterEx() [all …]
|
D | nanohub_chre.c | 263 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetInfoOld() local 264 if (!s || !info) in osChreSensorGetInfoOld() 266 const struct SensorInfo *si = s->si; in osChreSensorGetInfoOld() 276 info->isOnChange = s->hasOnchange; in osChreSensorGetInfoOld() 283 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetInfo() local 286 if (!s || !info) in osChreSensorGetInfo() 288 const struct SensorInfo *si = s->si; in osChreSensorGetInfo() 298 info->isOnChange = s->hasOnchange; in osChreSensorGetInfo() 333 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetSamplingStatus() local 337 if (!s || !status) in osChreSensorGetSamplingStatus() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/ |
D | tinyvprintf.c | 73 char *s = buf, *t, pad = ' ', sign = 0; in tiny_vsprintf() local 78 case 's': s = va_arg(ap, char*); in tiny_vsprintf() 79 if (s == 0) in tiny_vsprintf() 82 for (t = s; *t; t++) ; in tiny_vsprintf() 83 len = t - s; in tiny_vsprintf() 107 *s++ = sign; in tiny_vsprintf() 126 *s++ = '0' + digit; in tiny_vsprintf() 130 *s++ = '0' + digit; in tiny_vsprintf() 131 len = s - buf; in tiny_vsprintf() 132 s = buf; in tiny_vsprintf() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/ |
D | xa_hikey.img | 7 …������" �B � "�2�v��s�s�2��s�s�2�"�=�v��s�s �s@�s`2� "�v��s… 33 …utxf_shmem_process_outputxf_shmem_initE��s��s��s��s��s��s��s��s��s�…
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | simulated_hw_composer.cpp | 45 auto s = stripes_.Pop(); in GetNewStripe() local 49 stripes_.Push(std::move(s)); in GetNewStripe() 50 s = stripes_.Pop(); in GetNewStripe() 53 return s; in GetNewStripe() 104 Stripe s{}; in MakeStripes() local 105 s.index = i; in MakeStripes() 106 s.frame_id = frame_number; in MakeStripes() 107 s.x = 0; in MakeStripes() 108 s.y = y; in MakeStripes() 109 s.width = ScreenConnector::ScreenWidth(); in MakeStripes() [all …]
|
/device/linaro/hikey/hifi/firmware/ |
D | hifi-hikey960.img | 7 …������" �B � "�2�v��s�s�2��s�s�2�"�=�v��s�s �s@�s`2� "�v��s… 39 �M�-�m��]�=�}��C�#�c��S�3�s��K�+�k��[�;�{��G�'�g��W�7�w��O�/�o��_�?��… 45 …'v�w��\�m��O�=���!�_Ep'k�c��=�k��Uz�<PZ\���2��+C��Y��s&��{���)8速گ 59 ��}m<��}�mf�}B�)�}����} u�}f3��}�ds�}�՝}i�#�}��_�}*��}I[�v… 64 …�t�4W�t�5�tt�M5�_t?{5�Jt�5�5t��5� t6St�16�s._6��s��6`�s �6�s��6e�s�…
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/hifi_hikey_lsp/ |
D | specs | 9 # The %O suffix on the start and end files indicates that the system's 11 # The %s suffix tells the compiler driver to search for the file in the 15 crt1-boards%O%s crti%O%s crtbegin%O%s _sharedvectors%O%s _vectors%O%s 18 crtend%O%s crtn%O%s
|
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/ |
D | utils.cpp | 19 std::vector<std::string> SplitString(const std::string &s, char c) { in SplitString() argument 20 return SplitString(s, std::string(1 /* count */, c)); in SplitString() 24 const std::string &s, const std::string &separator) { in SplitString() argument 29 while ((matchPos = s.find(separator, startPos)) != std::string::npos) { in SplitString() 30 pieces.push_back(std::string(s, startPos, matchPos - startPos)); in SplitString() 34 if (startPos < s.size()) { in SplitString() 35 pieces.push_back(std::string(s, startPos)); in SplitString() 41 bool StartsWith(const std::string &s, const std::string &prefix) { in StartsWith() argument 42 return s.find(prefix) == 0; in StartsWith()
|
D | utils.h | 23 std::vector<std::string> SplitString(const std::string &s, char c); 26 const std::string &s, const std::string &separator); 28 bool StartsWith(const std::string &s, const std::string &prefix);
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | TcpStream.cpp | 41 int s = socket(AF_INET, type, 0); in _socket_loopback_server() local 42 if (s < 0) in _socket_loopback_server() 46 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (const char *) &n, sizeof(n)); in _socket_loopback_server() 48 if (bind(s, reinterpret_cast<sockaddr*>(&addr), sizeof(addr)) < 0) { in _socket_loopback_server() 49 close(s); in _socket_loopback_server() 54 if (listen(s, 4) < 0) { in _socket_loopback_server() 55 close(s); in _socket_loopback_server() 60 return s; in _socket_loopback_server()
|
/device/google/cuttlefish/guest/hals/gps/ |
D | gps_vsoc.cpp | 38 static void gps_state_cleanup(GpsState* s) { in gps_state_cleanup() argument 41 write(s->control[0], &cmd, 1); in gps_state_cleanup() 42 if (s->thread > 0) { in gps_state_cleanup() 43 pthread_join(s->thread, NULL); in gps_state_cleanup() 46 close(s->control[0]); in gps_state_cleanup() 47 close(s->control[1]); in gps_state_cleanup() 48 close(s->fd); in gps_state_cleanup() 50 s->thread = 0; in gps_state_cleanup() 51 s->control[0] = -1; in gps_state_cleanup() 52 s->control[1] = -1; in gps_state_cleanup() [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors_priv.h | 70 #define EXT_APP_TID(s) HANDLE_TO_TID(s->handle) argument 71 #define LOCAL_APP_OPS(s) ((const struct SensorOps*)taggedPtrToPtr(s->callInfo)) argument 72 #define IS_LOCAL_APP(s) (taggedPtrIsPtr(s->callInfo)) argument
|
/device/google/cuttlefish_vmm/ |
D | Dockerfile | 23 RUN useradd -m -s /bin/bash $USER -u $UID -d $HOME \ 86 RUN sed -i -r -e 's/^#{0,1}\s*PasswordAuthentication\s+(yes|no)/PasswordAuthentication yes/g' /etc/… 87 …&& sed -i -r -e 's/^#{0,1}\s*PermitEmptyPasswords\s+(yes|no)/PermitEmptyPasswords yes/g' /etc/ssh/… 88 …&& sed -i -r -e 's/^#{0,1}\s*ChallengeResponseAuthentication\s+(yes|no)/ChallengeResponseAuthentic… 89 && sed -i -r -e 's/^#{0,1}\s*UsePAM\s+(yes|no)/UsePAM no/g' /etc/ssh/sshd_config
|
/device/google/contexthub/firmware/lib/libm/ |
D | ef_asin.c | 47 float t,w,p,q,c,r,s; local 72 s = __ieee754_sqrtf(t); 75 t = pio2_hi-((float)2.0*(s+s*w)-pio2_lo); 78 w = s; 81 c = (t-w*w)/(s+w); 83 p = (float)2.0*s*r-(pio2_lo-(float)2.0*c);
|
D | ef_pow.c | 67 float y1,t1,t2,r,s,t,u,v,w; local 168 s = u*v; 169 s_h = s; 177 s2 = s*s; 179 r += s_l*(s_h+s); 187 v = s_l*t_h+t_l*s; 203 s = one; /* s (sign of result -ve**odd) = -1 else = 1 */ 205 s = -one; /* (-ve)**(odd int) */ 217 return s*huge*huge; /* overflow */ 219 if(p_l+ovt>z-p_h) return s*huge*huge; /* overflow */ [all …]
|
D | ef_sqrt.c | 33 __int32_t ix,s,q,m,t,i; local 60 q = s = 0; /* q = sqrt(x) */ 64 t = s+r; 66 s = t+r;
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | mpu.c | 157 char *s, *u; in mpuShow() local 170 s = "---"; in mpuShow() 173 s = "RW-"; in mpuShow() 175 s = "RWX"; in mpuShow() 178 s = "R--"; in mpuShow() 180 s = "R-X"; in mpuShow() 182 s = "???"; in mpuShow() 204 s, u, in mpuShow()
|
/device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include/ |
D | goldfish_address_space_android.impl | 117 ALOGE("%s: set_address_space_subdevice_type failed for device_type=%lu, ret=%ld", 183 ALOGD("%s: Ask for block of size 0x%llx\n", __func__, 206 ALOGD("%s: ioctl allocate returned offset 0x%llx size 0x%llx\n", __func__, 216 ALOGD("%s: Ask to claim region [0x%llx 0x%llx]\n", __func__, 256 ALOGE("%s: called with zero size\n", __func__); 267 ALOGE("%s: host memory map failed with size 0x%llx " 419 ALOGE("%s: device is not available", __func__); 432 ALOGE("%s: ioctl_ping failed, ret=%ld", __func__, ret); 511 ALOGE("%s: failed to map. errno: %d\n", __func__, errno); 538 ALOGE("%s: ping failed: errno: %d\n", __func__, errno); [all …]
|
D | goldfish_address_space_fuchsia.impl | 49 … ALOGE("%s: Tried to use a nontrivial subdevice when support has not been added\n", __func__); 55 ALOGE("%s: failed to get service handle for " GOLDFISH_ADDRESS_SPACE_DEVICE_NAME, 64 ALOGE("%s: zx_channel_create failed: %d", __FUNCTION__, status); 72 ALOGE("%s: failed to open child driver: %d", 120 ALOGD("%s: Ask for block of size 0x%llx\n", __func__, 133 …ALOGE("%s: allocate block failed: %d:%d", __func__, result.status(), GET_STATUS_SAFE(result, res)); 143 ALOGD("%s: allocate returned offset 0x%llx size 0x%llx\n", __func__, 153 ALOGE("%s: FATAL: not supported\n", __func__); 170 ALOGE("%s: called with zero size\n", __func__); 186 ALOGE("%s: host memory map failed with size 0x%llx " [all …]
|
/device/generic/goldfish/radio/ril/ |
D | atchannel.c | 87 static int writeCtrlZ (const char *s); 88 static int writeline (const char *s); 478 static int writeline (const char *s) in writeline() argument 481 size_t len = strlen(s); in writeline() 488 RLOGD("AT> %s\n", s); in writeline() 490 AT_DUMP( ">> ", s, strlen(s) ); in writeline() 495 written = write (s_fd, s + cur, len - cur); in writeline() 517 static int writeCtrlZ (const char *s) in writeCtrlZ() argument 520 size_t len = strlen(s); in writeCtrlZ() 527 RLOGD("AT> %s^Z\n", s); in writeCtrlZ() [all …]
|