Home
last modified time | relevance | path

Searched refs:valid_len (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/glib/gio/
Dgmemoryoutputstream.c51 gsize valid_len; /* The part of data that has been written to */ member
209 priv->valid_len = 0; in g_memory_output_stream_new()
276 return ostream->priv->valid_len; in g_memory_output_stream_get_data_size()
351 if (priv->len < priv->valid_len) in array_resize()
352 priv->valid_len = priv->len; in array_resize()
405 if (priv->pos > priv->valid_len) in g_memory_output_stream_write()
406 priv->valid_len = priv->pos; in g_memory_output_stream_write()
/external/chromium/net/disk_cache/
Dentry_impl.cc67 void ClearInvalidData(char* buffer, int offset, int valid_len) { in ClearInvalidData() argument
69 DCHECK(valid_len >= 0); in ClearInvalidData()
70 DCHECK(disk_cache::kMaxBlockSize >= offset + valid_len); in ClearInvalidData()
73 int end = disk_cache::kMaxBlockSize - offset - valid_len; in ClearInvalidData()
75 memset(buffer + offset + valid_len, 0, end); in ClearInvalidData()