Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 227) sorted by relevance

12345678910

/device/google/cuttlefish/host/frontend/gcastv2/https/
DHTTPRequestResponse.cpp35 size_t end = start; in setTo() local
36 while (end + 1 < size && memcmp(&data[end], "\r\n", 2)) { in setTo()
37 ++end; in setTo()
40 if ((end + 1) == size) { in setTo()
45 reinterpret_cast<const char *>(&data[start]), end - start); in setTo()
54 } else if (end > start) { in setTo()
69 start = end + 2; in setTo()
78 char *end; in setTo() local
79 unsigned long value = strtoul(stringValue.c_str(), &end, 10); in setTo()
81 if (end == stringValue.c_str() || *end != '\0') { in setTo()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/containers/
DSmallVector.h100 iterator end() { return mEnd; } in end() function
101 const_iterator end() const { return mEnd; } in end() function
104 size_type size() const { return end() - begin(); } in size()
106 bool empty() const { return begin() == end(); } in empty()
110 reference back() { return *(end() - 1); } in back()
136 destruct(begin(), end()); in clear()
166 this->destruct(this->begin(), this->end()); in dtor()
173 void init(iterator begin, iterator end, size_type capacity) { in init() argument
175 this->mEnd = end; in init()
184 this->destruct(newEnd, this->end()); in resize_impl()
[all …]
/device/generic/goldfish/sensors/
Dmultihal_sensors_qemu.cpp30 const char* testPrefix(const char* i, const char* end, const char* v, const char sep) { in testPrefix() argument
31 while (i < end) { in testPrefix()
94 const char* end = buf + len; in parseQemuSensorEvent() local
102 if (const char* values = testPrefix(buf, end, "acceleration", ':')) { in parseQemuSensorEvent()
112 } else if (const char* values = testPrefix(buf, end, "gyroscope", ':')) { in parseQemuSensorEvent()
122 } else if (const char* values = testPrefix(buf, end, "gyroscope-uncalibrated", ':')) { in parseQemuSensorEvent()
134 } else if (const char* values = testPrefix(buf, end, "orientation", ':')) { in parseQemuSensorEvent()
144 } else if (const char* values = testPrefix(buf, end, "magnetic", ':')) { in parseQemuSensorEvent()
154 } else if (const char* values = testPrefix(buf, end, "magnetic-uncalibrated", ':')) { in parseQemuSensorEvent()
166 } else if (const char* values = testPrefix(buf, end, "temperature", ':')) { in parseQemuSensorEvent()
[all …]
/device/google/contexthub/firmware/lib/libc/
Dcrt.c25 callVect *end = (callVect *)to_addr; in callVectors() local
27 const int32_t count = step > 0 ? end - start : start - end; in callVectors()
30 if (&start[step * count] != end) in callVectors()
33 for (; start != end; start += step) { in callVectors()
Dstrlen.c70 const char* end; in strlen() local
75 : "=&r" (end), "=&r" (scratch) : "0" (str) : "memory", "cc"); in strlen()
76 return end - str - 1; in strlen()
/device/generic/goldfish/gnss/
Dgnss_hw_listener.cpp25 const char* testNmeaField(const char* i, const char* end, in testNmeaField() argument
28 while (i < end) { in testNmeaField()
42 const char* skipAfter(const char* i, const char* end, const char c) { in skipAfter() argument
43 for (; i < end; ++i) { in skipAfter()
94 bool GnssHwListener::parse(const char* begin, const char* end, in parse() argument
96 if (const char* fields = testNmeaField(begin, end, "GPRMC", ',')) { in parse()
97 return parseGPRMC(fields, end, ts); in parse()
98 } else if (const char* fields = testNmeaField(begin, end, "GPGGA", ',')) { in parse()
99 return parseGPGGA(fields, end, ts); in parse()
207 bool GnssHwListener::parseGPGGA(const char* begin, const char* end, in parseGPGGA() argument
[all …]
Dgnss_hw_listener.h31 bool parse(const char* begin, const char* end, const ahg20::ElapsedRealtime&);
32 bool parseGPRMC(const char* begin, const char* end, const ahg20::ElapsedRealtime&);
33 bool parseGPGGA(const char* begin, const char* end, const ahg20::ElapsedRealtime&);
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DIndexRangeCache.cpp27 int end) { in addRange() argument
30 r.end = end; in addRange()
44 if (it != mIndexRangeCache.end()) { in findRange()
46 if (end_out) *end_out = it->second.end; in findRange()
62 while (it != mIndexRangeCache.end()) { in invalidateRange()
DIndexRangeCache.h39 int end; member
52 int end);
78 size_t end = offset + count * glSizeof(type); member
82 if (end != end_other) return end < end_other;
DGLESTextureUtils.cpp225 int* end) { in computeTextureStartEnd() argument
237 if (end) *end = endVal; in computeTextureStartEnd()
239 ALOGV("%s: start/end: %d %d", __FUNCTION__, *start, *end); in computeTextureStartEnd()
253 int start, end; in computeTotalImageSize() local
264 &end); in computeTotalImageSize()
265 return end; in computeTotalImageSize()
278 int start, end; in computeNeededBufferSize() local
289 &end); in computeNeededBufferSize()
290 return end - start; in computeNeededBufferSize()
/device/google/cuttlefish/host/commands/secure_env/
Dhmac_serializable.cpp40 uint8_t* HmacSerializable::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
42 buf = keymaster::append_uint32_to_buf(buf, end, wrapped_size); in Serialize()
44 buf = wrapped_->Serialize(buf, end); in Serialize()
71 buf, end, hmac_data->buffer, digest_size_); in Serialize()
74 bool HmacSerializable::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() argument
79 buf_ptr, end, &signed_data_size, &signed_data); in Deserialize()
88 buf_ptr, end, &signature_size, &signature); in Deserialize()
Dencrypted_serializable.cpp183 uint8_t* buf, const uint8_t* end) const { in Serialize()
222 buf = serialize_public.Serialize(buf, end); in Serialize()
223 buf = serialize_private.Serialize(buf, end); in Serialize()
224 buf = keymaster::append_uint32_to_buf(buf, end, BLOCK_SIZE); in Serialize()
225 buf = keymaster::append_uint32_to_buf(buf, end, wrapped_size); in Serialize()
226 buf = keymaster::append_to_buf(buf, end, encrypted.data(), encrypted_size); in Serialize()
231 const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() argument
239 if (!serialize_public.Deserialize(buf_ptr, end)) { in Deserialize()
245 if (!serialize_private.Deserialize(buf_ptr, end)) { in Deserialize()
256 if (!keymaster::copy_uint32_from_buf(buf_ptr, end, &block_size)) { in Deserialize()
[all …]
Dcomposite_serialization.cpp33 uint8_t* buf, const uint8_t* end) const { in Serialize()
35 buf = member->Serialize(buf, end); in Serialize()
41 const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() argument
43 if (!member->Deserialize(buf_ptr, end)) { in Deserialize()
Dtpm_serialize.cpp58 uint8_t* TpmSerializable<T>::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
60 auto rc = MarshalFn<T>(instance_, buf, end - buf, &offset); in Serialize()
71 const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() argument
73 auto rc = UnmarshalFn<T>(*buf_ptr, end - *buf_ptr, &offset, instance_); in Deserialize()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCameraHotplugThread.cpp65 for (it = mSubscribers.begin(); it != mSubscribers.end(); ++it) { in requestExit()
110 Vector<int>::const_iterator it, end; in readyToRun() local
112 end = mSubscribedCameraIds.end(); in readyToRun()
113 for (; it != end; ++it) { in readyToRun()
234 Vector<int>::const_iterator it, end; in getCameraId() local
236 end = mSubscribedCameraIds.end(); in getCameraId()
237 for (; it != end; ++it) { in getCameraId()
301 for (it = mSubscribers.begin(); it != mSubscribers.end(); ++it) { in removeWatch()
307 if (it != mSubscribers.end()) { in removeWatch()
/device/google/cuttlefish/common/libs/fs/
Dshared_select.h42 iterator end() { return value_.end(); } in end() function
44 const_iterator end() const { return value_.end(); } in end() function
/device/generic/goldfish-opengl/android-emu/android/base/
DStringView.h119 constexpr StringView(const char* begin, const char* end) in StringView() argument
120 : mString(begin ? begin : ""), mSize(begin ? end - begin : 0) {} in StringView()
133 constexpr const_iterator end() const { return mString + mSize; } in end() function
136 constexpr bool isNullTerminated() const { return *end() == '\0'; } in isNullTerminated()
193 return { mString + loc, end() };
209 StringView substrAbs(size_t begin, size_t end = std::string::npos) {
210 if (end == std::string::npos) {
211 end = begin + mSize;
213 return substr(begin, end - begin);
/device/generic/goldfish/audio/
Dutil.cpp116 kSupportedOutChannelMask.end(), in checkAudioConfig()
117 cfg.channelMask) == kSupportedOutChannelMask.end()) { in checkAudioConfig()
125 kSupportedInChannelMask.end(), in checkAudioConfig()
126 cfg.channelMask) == kSupportedInChannelMask.end()) { in checkAudioConfig()
135 kSupportedAudioFormats.end(), in checkAudioConfig()
136 cfg.format) == kSupportedAudioFormats.end()) { in checkAudioConfig()
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Dint_vector.S83 .end literal_prefix
103 .end literal_prefix
117 .end literal_prefix
131 .end literal_prefix
147 .end literal_prefix
159 .end literal_prefix
167 .end literal_prefix
176 .end literal_prefix
251 .end literal_prefix
268 .end literal_prefix
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dat_tok.c111 char *end; in at_tok_nextint_base() local
114 l = strtoul(ret, &end, base); in at_tok_nextint_base()
116 l = strtol(ret, &end, base); in at_tok_nextint_base()
120 if (end == ret) { in at_tok_nextint_base()
/device/generic/goldfish/radio/ril/
Dat_tok.c111 char *end; in at_tok_nextint_base() local
114 l = strtoul(ret, &end, base); in at_tok_nextint_base()
116 l = strtol(ret, &end, base); in at_tok_nextint_base()
120 if (end == ret) { in at_tok_nextint_base()
/device/google/cuttlefish/host/commands/modem_simulator/
Ddata_service.cpp110 for (auto iter = pdp_context_.begin(); iter != pdp_context_.end(); ++iter) { in HandleQueryDataCallList()
172 for (; iter != pdp_context_.end(); ++iter) { in HandlePDPContext()
179 if (iter == pdp_context_.end()) { in HandlePDPContext()
193 for (auto it = pdp_context_.begin(); it != pdp_context_.end(); ++it) { in HandleQueryPDPContextList()
232 for (; iter != pdp_context_.end(); ++iter) { in HandleEnterDataState()
239 if (iter == pdp_context_.end()) { in HandleEnterDataState()
281 for (; iter != pdp_context_.end(); ++iter) { in HandleReadDynamicParam()
287 if (iter == pdp_context_.end()) { in HandleReadDynamicParam()
/device/google/contexthub/firmware/os/platform/stm32/
Dcrt_stm32.c128 uint32_t *dst, *src, *end; in ResetISR() local
133 end = __data_end; in ResetISR()
134 while(dst != end) in ResetISR()
139 end = __bss_end; in ResetISR()
140 while(dst != end) in ResetISR()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlink.cpp197 char* end = data + bytesReceived; in readNetlinkMessage() local
198 while (data < end) { in readNetlinkMessage()
199 if (data + sizeof(nlmsghdr) > end) { in readNetlinkMessage()
204 if (data + header->nlmsg_len > end) { in readNetlinkMessage()
210 if (data + NLMSG_HDRLEN + sizeof(nlmsgerr) <= end) { in readNetlinkMessage()
255 if (handler == mHandlers.end()) { in notifyHandler()
/device/generic/opengl-transport/host/commands/emugen/
DParser.cpp53 size_t end = input.find_first_of(WHITESPACE "*", pos); in parseTypeTokens() local
54 if (end == std::string::npos) { in parseTypeTokens()
55 end = input.size(); in parseTypeTokens()
58 std::string str = input.substr(pos, end - pos); in parseTypeTokens()
68 pos = end; in parseTypeTokens()

12345678910