Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 9 of 9) sorted by relevance

/device/google/coral/json-c/
Dprintbuf.c125 int chars; in vasprintf() local
131 chars = _vscprintf(fmt, ap)+1; in vasprintf()
135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf()
136 if(chars < 0) { chars *= -1; } /* CAW: old glibc versions have this problem */ in vasprintf()
139 b = (char*)malloc(sizeof(char)*chars); in vasprintf()
142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf()
149 return chars; in vasprintf()
/device/google/redbull/json-c/
Dprintbuf.c125 int chars; in vasprintf() local
131 chars = _vscprintf(fmt, ap)+1; in vasprintf()
135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf()
136 if(chars < 0) { chars *= -1; } /* CAW: old glibc versions have this problem */ in vasprintf()
139 b = (char*)malloc(sizeof(char)*chars); in vasprintf()
142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf()
149 return chars; in vasprintf()
/device/google/sunfish/json-c/
Dprintbuf.c125 int chars; in vasprintf() local
131 chars = _vscprintf(fmt, ap)+1; in vasprintf()
135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf()
136 if(chars < 0) { chars *= -1; } /* CAW: old glibc versions have this problem */ in vasprintf()
139 b = (char*)malloc(sizeof(char)*chars); in vasprintf()
142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf()
149 return chars; in vasprintf()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DTransport.java96 protected abstract boolean initCharacteristicsImpl(List<BluetoothGattCharacteristic> chars); in initCharacteristicsImpl() argument
143 ArrayList<BluetoothGattCharacteristic> chars = new ArrayList<>(); in onServicesDiscovered() local
147 chars.addAll(service.getCharacteristics()); in onServicesDiscovered()
154 mHandler.post(() -> initCharacteristics(chars, pending)); in onServicesDiscovered()
182 List<BluetoothGattCharacteristic> chars, Runnable pendingTask) { in initCharacteristics() argument
188 boolean success = initCharacteristicsImpl(chars); in initCharacteristics()
/device/google/cuttlefish/host/frontend/webrtc_operator/
Dclient_handler.cpp30 static constexpr auto chars = in RandomClientSecret() local
37 0, static_cast<int>(std::strlen(chars)) - 1}; in RandomClientSecret()
38 std::generate_n(ret.begin(), len, [&]() { return chars[random(e)]; }); in RandomClientSecret()
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c505 const struct audio_microphone_characteristic_t* chars = &kBuiltinMicChars; in get_input_characteristics() local
509 chars = &kEchoReferenceChars; in get_input_characteristics()
512 memcpy(&mic_data[ch], chars, sizeof(struct audio_microphone_characteristic_t)); in get_input_characteristics()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dlib.rs384 s.chars() in mangle()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs803 name.chars() in envify()
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt50910 PLjava/lang/String;->chars()Ljava/util/stream/IntStream;