Lines Matching refs:needed
51 size_t needed = sizeof(android_event_list_t); in init_context() local
52 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in init_context()
58 context->pos += needed; in init_context()
141 size_t needed = sizeof(android_event_list_t); in android_log_write_list_begin() local
142 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_list_begin()
160 context->pos += needed; in android_log_write_list_begin()
171 size_t needed = sizeof(android_event_int_t); in android_log_write_int32() local
172 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_int32()
180 context->pos += needed; in android_log_write_int32()
191 size_t needed = sizeof(android_event_long_t); in android_log_write_int64() local
192 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_int64()
200 context->pos += needed; in android_log_write_int64()
215 size_t needed = sizeof(android_event_string_t) + len; in android_log_write_string8_len() local
216 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_string8_len()
231 context->pos += needed; in android_log_write_string8_len()
246 size_t needed = sizeof(android_event_float_t); in android_log_write_float32() local
247 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_float32()
255 context->pos += needed; in android_log_write_float32()